[Mpi-forum] MPI "Allocate receive" proposal
David Goodell (dgoodell)
dgoodell at cisco.com
Mon Aug 26 10:40:26 CDT 2013
I don't think that you currently have any guarantee about what happens if MPI_Alloc_mem is unable to allocate memory.
See MPI-3.0, p.340, l.16 (emphasis mine):
"""
The function MPI_ALLOC_MEM *may* return an error code of class MPI_ERR_NO_MEM to indicate it failed because memory is exhausted.
"""
Jeff and I don't have any text right now, but we could easily include a similarly weak statement.
-Dave
On Aug 26, 2013, at 10:27 AM, Pavan Balaji <balaji at mcs.anl.gov>
wrote:
>
> Can you clarify a bit more?
>
> Is that a fatal failure at that point? Or is it more like MPI_Alloc_mem failing where I can retry later or just do a regular malloc (in this case, a regular MPI_RECV).
>
> -- Pavan
>
> On 08/26/2013 10:19 AM, David Goodell (dgoodell) wrote:
>> I'd say that's implementation defined behavior, no different than hitting any other system resource limitation right now.
>>
>> -Dave
>>
>> On Aug 26, 2013, at 10:14 AM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>>
>>> Jeff,
>>>
>>> This should probably be moved to the point-to-point WG, but I'll comment on this thread for now.
>>>
>>> Such a proposal was brought up at the very early stage of the MPI-2.1 process (I don't remember by whom). The main concern at that point was what happens when the memory allocation fails. Will the receive fail? What happens to the sent message?
>>>
>>> Can you work these details into your slides?
>>>
>>> -- Pavan
>>>
>>> On 08/26/2013 10:10 AM, Jeff Squyres (jsquyres) wrote:
>>>> Dave Goodell and I have a proposal that we've socialized a bit around with other Forum members, and would now like larger Forum feedback. I'll be presenting the attached slides on the concept of an "allocate receive" in Madrid (3:30-4pm on Thursday).
>>>>
>>>> There's no text or ticket yet; this is an idea that we want to get feedback on before working up a full proposal.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> mpi-forum mailing list
>>>> mpi-forum at lists.mpi-forum.org
>>>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>>>>
>>>
>>> --
>>> Pavan Balaji
>>> http://www.mcs.anl.gov/~balaji
>>> _______________________________________________
>>> mpi-forum mailing list
>>> mpi-forum at lists.mpi-forum.org
>>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>>
>> _______________________________________________
>> mpi-forum mailing list
>> mpi-forum at lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
>>
>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
More information about the mpi-forum
mailing list