Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] OMPI 1.4.5rc1 posted
From: Ralph Castain (rhc_at_[hidden])
Date: 2011-12-14 16:33:42


Well, I actually have to eat my words here. This code is alive and well. However, I don't think it does what you wanted or perhaps expected.

That param was intended to catch user-level mistakes whereby the user specified a tmpdir location via the tmpdir_base MCA param that the system admin wanted to protect. It was not intended for someone to specify locations to skip.

So if you give that param and something violates it:

Ralph:v1.4 rhc$ mpirun -n 2 -mca orte_tmpdir_base /foo/bar -mca orte_no_session_dirs /foo hostname
--------------------------------------------------------------------------
The specified location for the temporary directories required by Open MPI
is on the list of prohibited locations:

Location given: /foo/bar
Prohibited locations: /foo

If you believe this is in error, please contact your system administrator
to have the list of prohibited locations changed. Otherwise, please identify
a different location to be used (use -h to see the cmd line option), or
simply let the system pick a default location.
--------------------------------------------------------------------------

I guess if you want to point it somewhere, your only option is to specify the orte_tmpdir_base param. There isn't a way to tell it "look everywhere BUT here".

On Dec 14, 2011, at 8:10 AM, Ralph Castain wrote:

> This is amusing - reviewing the code quickly, it appears that the supporting code for orte_no_session_dir was mistakenly removed at some point.
>
> I'll restore that functionality. Thanks for pointing it out!
>
> On Dec 12, 2011, at 11:10 PM, Christopher Samuel wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 09/12/11 09:13, Jeff Squyres wrote:
>>
>>> Gearing up for a pre-Christmas release -- please test!
>>
>> Had a quick test here (we're still on 1.4.2 as our default).
>>
>> It now complains that $TMPDIR points to our Panasas filesystem,
>> and there's a minor typo in its message, saying:
>>
>> # Note, too, that system administrators can set a list of filesystems
>> # where Open MPI is disallowed from creating temporary files by settings
>> # the MCA parameter "orte_no_session_dir".
>>
>> I think you want s/settings/setting/ there.
>>
>> Also I can not seem to make it accept the orte_no_session_dir settings,
>> neither:
>>
>> mpirun -mca orte_no_session_dir /vlsci ./hello_c
>>
>> nor:
>>
>> mpirun -mca orte_no_session_dir /vlsci/tmp ./hello_c
>>
>> nor:
>>
>> $ export OMPI_MCA_orte_no_session_dir=/vlsci
>>
>> nor:
>>
>> export OMPI_MCA_orte_no_session_dir=/vlsci/tmp
>>
>> prevent it whinging about (for example):
>>
>> Local host: bruce001
>> File Name: /vlsci/tmp/979325.bruce-m.vlsci.unimelb.edu.au/openmpi-sessions-samuel_at_bruce001_0/14488/1/shared_mem_pool.bruce001
>>
>> Is there a way to tell it to use /tmp without changing what
>> $TMPDIR is set to ?
>>
>> cheers,
>> Chris
>> - --
>> Christopher Samuel - Senior Systems Administrator
>> VLSCI - Victorian Life Sciences Computation Initiative
>> Email: samuel_at_[hidden] Phone: +61 (0)3 903 55545
>> http://www.vlsci.unimelb.edu.au/
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAk7m7HAACgkQO2KABBYQAh/qagCfSZIZsQRSL4WlafAZq4kvx7lk
>> igQAn2j6Vdzwa4vweeEALKIoNAQZqV0D
>> =ju/j
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>