Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Sharing (not copying) data with OpenMPI?
From: Ralph Castain (rhc_at_[hidden])
Date: 2012-04-16 10:56:49


Hi Jody

I don't believe we have exposed our shared memory system for general use - it's pretty deeply buried in the messaging system. We do have a branch where some of us are playing with an ORTE-level shared memory system for precisely this kind of use-case, but it isn't ready yet.

On Apr 16, 2012, at 7:52 AM, jody wrote:

> Hi
>
> In my application i have to generate a large block of data (several
> gigs) which subsequently has to be accessed by all processes (read
> only),
> Because of its size, it would take quite some time to serialize and
> send the data to the different processes. Furthermore, i risk
> running out of memory if this data is instantiated more than once on
> one machine.
>
> Does OpenMPI offer some way of sharing data between processes (on the
> same machine) without needing to send (and therefore copy) it?
>
> Or would i have to do this by means of creating shared memory, writing
> to it, and then make it accessible for reading by the processes?
>
> Thank You
> Jody
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users