Thanks again Kenneth, I could solve using MPI_TESTANY.
Regards, Luiz


On 13 March 2014 15:35, Kenneth Raffenetti <raffenet@mcs.anl.gov> wrote:
On 03/13/2014 12:35 PM, Luiz Carlos da Costa Junior wrote:
Does anyone have any clue about this?

Thanks in advance.


On 12 March 2014 14:40, Luiz Carlos da Costa Junior <lcjunior@ufrj.br
<mailto:lcjunior@ufrj.br>> wrote:

    Dear Kenneth,

    Thanks for your quick reply.
    I tested your suggestion and, unfortunately, this approach didn't work.

    Question: when I call MPI_IPROBE it accounts also for the messages
    that were already received asynchronously?

That should not be the case. If a message has been matched by a recv/irecv, MPI_Probe should not match it again.



    Is there any way to know, for my list of mpi_requests (from my
    MPI_IRECV's), which ones are "opened" and which ones have messages?

MPI_Test will take a request as an argument and tell you whether or not that requested operation has been completed.

Ken

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss