TotalView MPI Exercise 1
 

Assignment

Your assignment is to locate an error in the following program. The program is hanging before it gets to the print statement. The program is supposed to generate the number 10 on the process with rank-0, and send the number 10 to the other process. Compile the code with ifort and locate the source of the error.