On Jun 2, 2010, at 8:49 AM, Jeff Squyres wrote:
> On Jun 2, 2010, at 10:44 AM, George Bosilca wrote:
>>> Not sure what you mean here. common/sm may create new shmem
>>> segments at any time (e.g., during coll sm). The RML message
>>> exchange is to ensure that only 1 process creates and initializes
>>> the segment and then all the others just attach to it.
>> Absolutely not! The RML messaging is not about initializing the
>> shared memory segment. As stated on my original text it has only
>> one purpose: to ensure the file used by mmap is created atomically.
>> The code for Windows do not exchange any RML messages as the
>> function to allocate the shared memory region provided by the OS is
>> atomic (exactly as the sysv one).
> I thought that Sam said that it was important that only 1 process
We are using RML messaging in the sysv code to exchange the shared
memory ID (generated by exactly one process). I'm not sure how we
would go about passing along the shared memory ID without RML, but any
ideas are greatly appreciated.
Samuel K. Gutierrez
Los Alamos National Laboratory
> Jeff Squyres
> For corporate legal information go to:
> devel mailing list