Re: [myrinet] Re: mpid/ch_gm/smppriv.c (version 1.2..3) smpi_init() changes

"Jason R. Mastaler" <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Patrick Geoffray <[email protected]> writes:

> > permissions vulnerability (the file's mode is 0777), but the file will disappear
> > from view quite quickly. If the file is still left around because of some system
> > problem, then the next processes that come along can open the file...without
> 
> That's very elegant and it cleans up nicely the shared memory file
> if/when the application crashs. 

Ideally this would be combined with code that insures that that each
shared memory file has a unique name.  Myricom has a patch for
mpirun.ch_gm that includes the pid in the file name to make it more
unique, and one for smppriv.c that unlinks it after it is closed, but
from what I understand they are looking into a better solution.  This
was a month or so ago, and I'm unsure what they have come up with
since then.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.