On Feb 23, 2017, at 5:44 PM, Dahai Guo via devel <devel@lists.open-mpi.org> wrote: > > If I define a new ENV variable in etc/openmpi-mca-params.conf, what OMPI > codes should I modify in order for this parameter to be delivered to each > rank?
I'm not quite sure what you're asking. The openmpi-mca-params.conf does not define environment variables; it only sets values for Open MPI's MCA parameters (i.e., run-time parameters). If you want to pass environment variables from the environment of mpirun to the MPI processes that it starts, use the -x CLI option to mpirun. For example: export FOO=bar mpirun -x FOO --host a,b -np 2 my_mpi_program -- Jeff Squyres jsquy...@cisco.com _______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel