https://bugzilla.novell.com/show_bug.cgi?id=331770#c1 --- Comment #1 from Tobias Burnus <burnus@gmx.de> 2007-10-08 05:07:31 MST --- Created an attachment (id=176771) --> (https://bugzilla.novell.com/attachment.cgi?id=176771) moduleenv shell script (public domain code) Just for you to get some idea: I use here a script "moduleenv", which is called via an shell function: modules(){ eval `~/modules/moduleenv bash "$@"`; } The module files contain: NAME='OpenMPI 1.1 for GCC 4.2 (64bit)' vars() { $ev PATH '/projects/tob/openmpi/gfortran-4.2/bin' $evman '/projects/tob/openmpi/gfortran-4.2/man' $ev LD_LIBRARY_PATH '/projects/tob/openmpi/gfortran-4.2/lib' } Maybe one could create in a similar fashion a) A mode for mpi-selector which prints all messages to STDERR and to STDOUT the commands to set the environment variable b) Remove mpi-selector from the path any make it available via a shell function -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.