<div dir="ltr">Thanks again Kenneth, I could solve using MPI_TESTANY.<div>Regards, Luiz</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 13 March 2014 15:35, Kenneth Raffenetti <span dir="ltr"><<a href="mailto:raffenet@mcs.anl.gov" target="_blank">raffenet@mcs.anl.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 03/13/2014 12:35 PM, Luiz Carlos da Costa Junior wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Does anyone have any clue about this?<br>
<br>
Thanks in advance.<br>
<br>
<br>
On 12 March 2014 14:40, Luiz Carlos da Costa Junior <<a href="mailto:lcjunior@ufrj.br" target="_blank">lcjunior@ufrj.br</a><br></div><div class="">
<mailto:<a href="mailto:lcjunior@ufrj.br" target="_blank">lcjunior@ufrj.br</a>>> wrote:<br>
<br>
    Dear Kenneth,<br>
<br>
    Thanks for your quick reply.<br>
    I tested your suggestion and, unfortunately, this approach didn't work.<br>
<br>
    Question: when I call MPI_IPROBE it accounts also for the messages<br>
    that were already received asynchronously?<br>
</div></blockquote>
<br>
That should not be the case. If a message has been matched by a recv/irecv, MPI_Probe should not match it again.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
    Is there any way to know, for my list of mpi_requests (from my<br>
    MPI_IRECV's), which ones are "opened" and which ones have messages?<br>
</blockquote>
<br></div>
MPI_Test will take a request as an argument and tell you whether or not that requested operation has been completed.<br>
<br>
Ken<div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
</div></div></blockquote></div><br></div>