[mpich-discuss] Failed to allocate memory for an unexpected message

Kenneth Raffenetti raffenet at mcs.anl.gov
Thu Mar 13 13:35:24 CDT 2014


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 at ufrj.br
> <mailto:lcjunior at 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



More information about the discuss mailing list