I'd appreciate a response, even a simple no if this is not possible. Thank you. saurabh
> From: saur...@hotmail.com > To: us...@open-mpi.org > Subject: RE: Propagate current shell's environment > Date: Mon, 9 Nov 2015 11:45:07 -0500 > > I meant different from the current shell, not different for different > processes, sorry. > Also I am aware of -x but it's not the right solution in this case because > (a) it's manual (b) it appears that anything set in bashrc that was unset in > the shell would be set for the program which I do not want. > > ---------------------------------------- > > From: saur...@hotmail.com > > To: us...@open-mpi.org > > Subject: Propagate current shell's environment > > Date: Mon, 9 Nov 2015 11:40:13 -0500 > > > > Hi, > > > > Is there any way with OpenMPI to propagate the current shell's environment > > to the parallel program? I am looking for an equivalent way to how MPICH > > handles environment variables > > (https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_How_do_I_pass_environment_variables_to_the_processes_of_my_parallel_program_when_using_the_mpd.2C_hydra_or_gforker_process_manager.3F): > > > >> By default, all the environment variables in the shell where mpiexec is > > run are passed to all processes of the application program. > > > > OpenMPI has the parallel processes read bashrc so the environment can be > > different for different processes, which is exactly what I want to avoid. I > > could not find any way of doing this in orterun --help or on the forums. > > > > Thank you. > > > > saurabh > > > This email has been sent from a virus-free computer protected by Avast. www.avast.com