First page Back Continue Last page Overview Graphics
Some Simple Exercises
- Compile and run the hello and pi programs.
- Modify the pi program to use send/receive instead of bcast/reduce.
- Write a program that sends a message around a ring.  That is, process 0 reads a line from the terminal and sends it to process 1, who sends it to process 2, etc.  The last process sends it back to process 0, who prints it. 
- Time programs with MPI_WTIME.  (Find it.)
Notes: