How do I pass environment variables to the processes of my parallel program when using the mpd, hydra or gforker process manager?
By default, all the environment variables in the shell where mpiexec is run are passed to all processes of the application program. (The one exception is LD_LIBRARY_PATH when using MPD and the mpd’s are being run as root.) This default can be overridden in many ways, and individual environment variables can be passed to specific processes using arguments to mpiexec.
Related Questions
- How do I pass environment variables to the processes of my parallel program when using the mpd, hydra or gforker process manager?
- How do I pass environment variables to the processes of my parallel program when using the mpd process manager?
- Is it possible to pass a cgi environment variable to a cgi program on the webserver?