TotalView MPI Exercise 2
 

Assignment

Your assignment is to use TotalView to locate an error in the following program. This is a 4-processor MPI example. It uses gather to collect the results from the individual process. It does not produce correct results.

The correct output is:
0 0 204 204 408 408 612 612