[mpich-discuss] Failed to allocate memory for an unexpected message
Luiz Carlos da Costa Junior
lcjunior at ufrj.br
Fri Nov 1 19:14:55 CDT 2013
On 1 November 2013 22:00, Pavan Balaji <balaji at mcs.anl.gov> wrote:
> On Nov 1, 2013, at 4:30 PM, Luiz Carlos da Costa Junior <lcjunior at ufrj.br>
> > I understand that I will have to have N buffers, one for each posted
> MPI_Irecv. I will also have to TEST (using MPI_PROBE or MPI_WAITANY) until
> a message comes. The result of this test will identify which one of the
> posted MPI_Irecv has actually received the message and then process the
> right buffer. Is this correct?
> > Should I have to change anything at the sender's processes?
> Likely not. But you need to think through your algorithm to confirm that.
> > At the end, my receiver process receives a message identifying that it
> should exit this routine. What should I do with the already posted
> MPI_Irecv's? Can I cancel them?
> Yes, you can with MPI_CANCEL.
> —- Pavan
> Pavan Balaji
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss