statusto find out the size of the message. Allocate dynamically appropriate amount of space to receive the message.
MPI_Waitin task 1 with a looping
MPI_Wait. Make every task write the message on standard output immediately after having started a send to the next task, but before the completion of the send. Generate a trace file and use the visualization tool,
vt, to observe the progress of the program. Observe that the communication effectively serializes the program.