Re: [OMPI users] an environment variable with same meaning than the -x option of mpiexec

2009-11-10 Thread Ralph Castain
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

Re: [OMPI users] an environment variable with same meaning than the-x option of mpiexec

2009-11-10 Thread Paul Kapinos
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

Re: [OMPI users] an environment variable with same meaning than the -x option of mpiexec

2009-11-10 Thread Paul Kapinos
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

Re: [OMPI users] an environment variable with same meaning than the-x option of mpiexec

2009-11-07 Thread Jeff Squyres
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

Re: [OMPI users] an environment variable with same meaning than the -x option of mpiexec

2009-11-06 Thread Ralph Castain
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

[OMPI users] an environment variable with same meaning than the -x option of mpiexec

2009-11-06 Thread Paul Kapinos
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