From: Michael Starkie <Starfire@LL.MIT.EDU>
Newsgroups: comp.parallel.mpi
Subject: use of MPI_WAIT in non-blocking mode
Date: Mon, 28 Dec 1998 10:04:10 -0500
Organization: MIT Lincoln Laboratory
Message-Id: <36879DE9.3A0C1CE7@LL.MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I am having trouble understanding the difference between the following 2
examples.

example 1:
    ...
    MPI_IRECV(inval, 1, MPI_REAL, 1, 0, req, ierr)
    MPI_WAIT(req, status, ierr)
     ...

example 2:
    ...
    MPI_RECV(inval, 1, MPI_REAL, 1, 0, req, ierr)
    ...

Example 1 is used in the Interface Standard Document.  In example 1, a
non-blocking receive is followed by a wait. Isn't this the same behavior
as a blocking receive?

--
Cordially,
Michael Starkie

