Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Memory mapped memory
From: James Dinan (dinan_at_[hidden])
Date: 2011-10-17 12:46:20


Sure, this is possible and generally works, although it is not defined
by the MPI standard. Regular shared memory rules apply: you may have to
add additional memory consistency and/or synchronization calls depending
on your platform to ensure that MPI sees intended data updates.

Best,
 ~Jim.

On 10/17/2011 09:09 AM, Durga Choudhury wrote:
> If the mmap() pages are created with MAP_SHARED, then they should be
> sharable with other processes in the same node, isn't it? MPI
> processes are just like any other process, aren't they? Will one of
> the MPI Gurus please comment?
>
> Regards
> Durga
>
>
> On Mon, Oct 17, 2011 at 9:45 AM, Gabriele Fatigati <g.fatigati_at_[hidden]> wrote:
>> More in detail,
>> is it possible use mmap() function from MPI process and sharing these memory
>> between others processes?
>>
>> 2011/10/13 Gabriele Fatigati <g.fatigati_at_[hidden]>
>>>
>>> Dear OpenMPI users and developers,
>>> is there some limitation or issues to use memory mapped memory into MPI
>>> processes? I would like to share some memory in a node without using OpenM.
>>> Thanks a lot.
>>>
>>> --
>>> Ing. Gabriele Fatigati
>>>
>>> HPC specialist
>>>
>>> SuperComputing Applications and Innovation Department
>>>
>>> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
>>>
>>> www.cineca.it Tel: +39 051 6171722
>>>
>>> g.fatigati [AT] cineca.it
>>
>>
>>
>> --
>> Ing. Gabriele Fatigati
>>
>> HPC specialist
>>
>> SuperComputing Applications and Innovation Department
>>
>> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy
>>
>> www.cineca.it Tel: +39 051 6171722
>>
>> g.fatigati [AT] cineca.it
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users