Martin Siegert <sieg...@sfu.ca> writes: >> In particular, is there a way to cause shm to not use the global >> filesystem? I see this issue comes up a lot and I read the list archives, >> but the warning message ( >> https://github.com/hpc/cce-mpi-openmpi-1.6.4/blob/master/ompi/mca/common/sm/ >> help-mpi-common-sm.txt) suggested that I could override it by setting > TMP, >> TEMP or TEMPDIR, which I did to no avail.
[Why look at such an old version?] > From my experience on edison: the one environment variable that does > works is TMPDIR - the one that is not listed in the error message :-) It's a tyepo -- see routine opal_tmp_directory. I don't know about other resource managers, but SGE sets TMPDIR to a job-specific directory. OMPI creates mmap files there, inter alia, unless told otherwise by MCA orte_tmpdir_base or something more specific. [You probably don't want to follow our vendor's orte_tmpdir_base=/dev/shm...]