Environment Modules Updates

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

Modules 4.2.5 released

by Xavier Delaruelle
Modules version 4.2.5 has just been released. This new release provides fixes for the issues found recently on the 4.2 serie. The changes introduced in this bugfix release are: Correctly escape `?` character in shell alias. (fix issue...
release
bugfix
v4.2

End of 4.2 strengthening work, road to 4.3

by Xavier Delaruelle
Version 4.2 of Modules was released in October last year with new capabilities to automatically handle dependencies between modulefiles. With these new automated mechanisms, corner cases were found which led to a more substantial bugfix...
testing
v4.2

Modules 4.2.4 released

by Xavier Delaruelle
Modules version 4.2.4 has just been released. This new release in the 4.2 series has a specific focus on improving the readability of the warning, error and informational messages reported when multiple load or unload modulefile...
release
bugfix
v4.2