[mpich-discuss] shared memory mmap file

Jim Dinan dinan at mcs.anl.gov
Mon Feb 4 10:54:45 CST 2013


Hi Dustin,

AFAICT, we don't provide a way to change the filename, apart from 
editing src/util/wrappers/mpiu_shm_wrappers.h:590.  Is this something 
that you need to get MPICH working on your system?  Would an environment 
variable work, or do you need to set this up at compile time?

Cheers,
  ~Jim.

On 2/4/13 9:52 AM, Dustin Sorge wrote:
> Hello everyone,
>      I was wondering if it is possible to have the shared memory mmap'ed
> file be in a different location other than /dev/shm or /tmp.  Is there
> an environment variable I can specify?
>
> I am using MPICH2 and have configured it like this:
>
> ./configure --prefix=/opt/mpich2 --with-device=ch3:nemesis
> --with-shared-memory=mmap --enable-nemesis-shm-collectives
>
> Is this configuration sufficient for MPICH2 to use the shared memory file?
>
> thanks very much,
>      -Dustin



More information about the discuss mailing list