Paul, I'm sure this isn't the response you want to hear, but I'll suggest it anyway:
Queuing systems can forward the submitters environment if desired. For example, in SGE, the -V switch forwards all the environment variables to the job's environment, so if there's one you can use to launch your job, you might want to check it's documentation. -- Prentice On 11/10/2011 08:01 AM, Ralph Castain wrote: > I'm not sure where the FAQ got its information, but it has always been one > param per -x option. > > I'm afraid there isn't any envar to support the setting of multiple -x > options. We didn't expect someone to forward very many, if any, so we didn't > create that capability. It wouldn't be too hard to convert it to an mca > param, though, so you could add such options to your mca param file, if that > would help. > > > On Nov 10, 2011, at 4:02 AM, Paul Kapinos wrote: > >> Hi folks, >> I. looked for ways to tell to "mpiexec" to forward some environment >> variables, I saw a mismatch: >> >> ------------------------------------------------------------------- >> http://www.open-mpi.org/faq/?category=running#mpirun-options >> ... >> --x <env-variable-names>: A comma-delimited list of environment variables to >> export to the parallel application. >> ------------------------------------------------------------------- >> (Open MPI/1.5.3) >> $ man mpirun >> -x <env> >> Export the specified environment variables to the remote >> nodes before executing the program. Only one environment variable can >> ^^^^^^^^^^^ >> be specified per -x option. >> ------------------------------------------------------------------- >> >> So, either the info is outdated somewhre, or -x and --x have different >> meaning - but then there is a lack of info, too :o) >> >> Maybe you could update the Wiki and/or the man page? >> >> II. Now the question. Defaultly no non-OpenMPI environmet variables are >> exported to the parallel application, AFAIK. >> >> With -x option of mpiexec it is possible to export one (or a list of, see >> below) environment variable. But, it's a bit tedious to type a [long] list >> of variables. >> >> Is there someone envvar, by setting which to a list of names of other >> envvars the same effect could be achieved as by setting -x on command line >> of mpirun? >> >> Best wishes >> Paul Kapinos >> >> >> -- >> Dipl.-Inform. Paul Kapinos - High Performance Computing, >> RWTH Aachen University, Center for Computing and Communication >> Seffenter Weg 23, D 52074 Aachen (Germany) >> Tel: +49 241/80-24915 >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >