Bug 417453 - Enhance EMS for LMOD Restores of Named Environments and Module Hierarchy
Summary: Enhance EMS for LMOD Restores of Named Environments and Module Hierarchy
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: EMS (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 14:56 EDT by Brian Watt CLA
Modified: 2014-06-04 10:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Watt CLA 2013-09-17 14:56:37 EDT
The current EMS support of LMOD is the same as regular module support. However LMOD provides the ability to save and restore named environments. It also provides support for module hierarchies. 

The current support generates the following batch script entries:
   module purge # prefix command
   module load <module> # one or more loads

This needs to change to make use of these additional capabilities as the following batch script entries:
   [ <nothing> | module restore | module restore <name> | module reset ] # prefix command
   module unload <module> # one or more unloads
   module load <module> # one or more loads
   module list # postfix command

As changes are made to what environment is restored then this affects the list of what modules to unload and load. As changes are made to what modules are unloaded then this affects the list of what modules to load.

These changes are in support of UT TACC Stampede machine.