Hi,
Just giving some context to Jupiter's question - if modules are loaded and then a desktop environment is started, within that desktop environment the LD_LIBRARY_PATH is blown away. This happens because the desktop manager considers it a security risk to have it set at start up.
So Jupiter is asking if there is a nice way to refresh the modules (i.e. restore LD_LIBRARY_PATH) or if some scripting is called for instead?
Cheers,
Paul
----- Original Message -----
From: "jupiter" <jup...@gm...>
To: "Environment Modules usage and discussion." <mod...@li...>
Sent: Thursday, November 19, 2015 10:09:09 AM
Subject: [Modules] Any simple module command to refresh the module environment values?
Hi,
My environment module is working file on the CentOS 6 VM, but when I open a terminal, all modules included in $_LMFILES_ can be seen by "module list" but none of them are included in LD_LIBRARY_PATH and PATH. Is there a simple module command to refresh the stale modules? The command of "module refresh" does not serve that purpose.
I know I can manually run module load <modules> to refresh the stale modules, but I need to include the module refresh command in bash script to automatically refreshing the stale modules.
Thank you.
Kind regards,
- j
------------------------------------------------------------------------------
_______________________________________________
Modules-interest mailing list
Mod...@li...
https://lists.sourceforge.net/lists/listinfo/modules-interest
--
Dr Paul McIntosh
Senior HPC Consultant, Technical Lead,
Multi-modal Australian ScienceS Imaging and Visualisation Environment (www.massive.org.au)
Monash University, Ph: 9902 0439 Mob: 0434 524935
|