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

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

More continuous integration

by Xavier Delaruelle
Just to let you know that the continuous integration of Modules now covers the Windows OS. More precisely the Cygwin and MSYS2 platforms on Windows. This addition completes the panel of OSes already tested after OS X and Linux (with...
testing