https://bugzilla.novell.com/show_bug.cgi?id=331770
Summary: MPI-Selector: Make changes sooner effective Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: burnus@gmx.de QAContact: qa@suse.de CC: ken@novell.com Found By: ---
Currently, one needs to log out in order that the changes are effective; opening a new xterm window is not enough.
It would be great if the changes were effective a) if one opens a new xterm b) directly after one has run mpi-selector.
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
https://bugzilla.novell.com/show_bug.cgi?id=331770
Philipp Thomas pth@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |ken@novell.com
https://bugzilla.novell.com/show_bug.cgi?id=331770
Ken Johnson ken@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ken@novell.com |jjolly@novell.com
https://bugzilla.novell.com/show_bug.cgi?id=331770
John Jolly jjolly@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium
https://bugzilla.novell.com/show_bug.cgi?id=331770
John Jolly jjolly@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P2 - High
https://bugzilla.novell.com/show_bug.cgi?id=331770
John Jolly jjolly@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED