send or
receive. A and B are waiting in MPI_Finalize by the time C actually calls
MPI_Finalize so everything cleans up neatly.
Dick Treumann - MPI Team
IBM Systems & Technology Group
Dept X2ZA / MS P963 -- 2455 South Road -- Poughkeepsie, NY 12601
Tele (845) 433-7846 Fax (845) 433-
I would suggest that if C receives some kind of quit command, it
should send that command to both A & B, and then call MPI_Finalize.
When A & B receive the quit command, they can complete whatever they
are currently doing (you'll have to set a flag so they know they
should do this), and the
Hi,
I have three processes A,B & C. A will receive some data and process and after
that will pass results to B. Thereafter, A will go back to get data and process
and prepare to send them to B again. Same goes for B to C where C will provide
the final output. As all the processes are running a