On Nov 10, 2009, at 2:48 AM, Paul Kapinos wrote:
Hi Ralph,
Not at the moment - though I imagine we could create one. It is a
tad tricky in that we allow multiple -x options on the cmd line,
but we obviously can't do that with an envar.
why not?
export OMPI_Magic_Variavle="-x
Hi Jeff,
FWIW, environment variables prefixed with "OMPI_" will automatically be
distributed out to processes.
Of course, but saddingly the variable(s) we want to ditribute aren't
"OMPI_" variable.
Depending on your environment and launcher, your entire environment may
be copied out
Hi Ralph,
Not at the moment - though I imagine we could create one. It is a tad
tricky in that we allow multiple -x options on the cmd line, but we
obviously can't do that with an envar.
why not?
export OMPI_Magic_Variavle="-x LD_LIBRARY_PATH -x PATH"
cold be possible, or not?
I can
FWIW, environment variables prefixed with "OMPI_" will automatically
be distributed out to processes. From mpirun(1):
Exported Environment Variables
All environment variables that are named in the form OMPI_*
will auto-
matically be exported to new processes on the local
Not at the moment - though I imagine we could create one. It is a tad
tricky in that we allow multiple -x options on the cmd line, but we
obviously can't do that with an envar.
The most likely solution would be to specify multiple "-x" equivalents
by separating them with a comma in the
Dear OpenMPI developer,
with the -x option of mpiexec there is a way to distribute environmnet
variables:
-x Export the specified environment variables to the remote
nodes before executing the program.
Is there an environment variable ( OMPI_) with the same