Environment Modules Updates

Symbolic version to designate module loaded version

by Xavier Delaruelle
When the Advanced module version specifiers is enabled, the loaded symbolic version may be used to designate the currently loaded version of specified module. $ ml display foo@loaded...
new feature
v4.7

Determining module implementation and version

by Xavier Delaruelle
New Modules variables are introduced to determine during the evaluation of a modulefile or a modulerc what module implementation is currently in use. The ModuleTool variable corresponds to the name of the module implementation and is set...
new feature
v4.7

Tracing module execution

by Xavier Delaruelle
The trace verbosity is introduced between the verbose and debug levels to report details on module searches, resolutions, selections and evaluations. Trace mode can be enabled by setting the verbosity config to the trace value or by...
new feature
v4.6

Forbidding use of modules

by Xavier Delaruelle
The module-forbid modulefile command is added to dynamically forbid the evaluation of modulefiles it specifies. When forbidden, a module cannot be loaded and an access error is returned when an attempt is made to evaluate it. $ cat...
new feature
v4.6

Hiding modules

by Xavier Delaruelle
The newly introduced module-hide modulefile command enables to dynamically hide modulefiles, module aliases or symbolic versions specified to it: $ cat /path/to/modulefiles/bar/.modulerc #%Module4.6 module-version bar/1.0...
new feature
v4.6

Querying user's name and groups membership

by Xavier Delaruelle
Two new sub-commands are introduced for the module-info modulefile command: username and usergroups. They respectively fetch the name of the user currently running modulecmd.tcl or the name of all the groups this user is member of...
new feature
v4.6

Embed shell scripts in modulefiles

by Xavier Delaruelle
The source-sh modulefile command is introduced to source environment changes done by the evaluation of a shell script passed as argument. With newly introduced sh-to-mod sub-command resulting environment changes done by script are output...
new feature
v4.6

Translating shell scripts into modulefiles

by Xavier Delaruelle
The sh-to-mod sub-command is added to output as a modulefile content the environment changes done by the evaluation of a shell script passed as argument. sh-to-mod is especially useful for software providing a shell script for their...
new feature
v4.6

Automatic default and latest symbolic versions

by Xavier Delaruelle
When the implicit default mechanism and the advanced module version specifiers are both enabled, a default and a latest symbolic versions are automatically defined for each module name. This new feature gives the ability to select the...
v4.5
new feature