LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: atarpley (atarpley_at_[hidden])
Date: 2004-11-09 17:05:34


I think I understand this, I would just like some confirmation. :-)

MPI_Send is a blocking, synchronous routine. Meaning it won't return until
the send buffer is good to use AND the recipient has started to receive the
message. Question: Does this mean it wont return until the recipient STARTS
to receive or until the recipient FULLY receives the msg?

MPI_Isend is a non-blocking, asynchronous routine. Meaning it returns
immediatly, regardless of the status of the matching receive or the buffer.
In order to delete the send buffer okay, MPI_Wait (or MPI_Test) must say that
it is okay to do so. Question: The requirement that a test or wait routine be
used to determine the status of the send buffer effectively turns this into a
blocking, asynchronous routine, correct? If I want to deallocate the buffer
after each send?

Thanks for any input!
Andy Tarpley