Environment Modules Updates

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.5.1 released

by Xavier Delaruelle
Version 4.5.1 of Modules has just been released. It provides fixes for the few issues recently spotted. The changes introduced in this bugfix release are: Install: consistently output Makefile warning messages on stderr. Script: add...
release
v4.5
bugfix

Modules@latest (aka 4.5.0) released

by Xavier Delaruelle
This is it. After 3 months of development, version 4.5.0 of Modules is available. It is as always backward-compatible with previous version 4 releases and primarily adds features and fixes bugs. Major new features introduced in v4.5.0...
release
v4.5

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

Error stack trace

by Xavier Delaruelle
Error messages will now embed a stack trace for unknown errors to help localize the root cause of issues. This change applies to modulefile evaluation: Loading foo/1.2 Module ERROR: add-path cannot handle path equals to...
v4.5
new feature

Improved Windows support

by Xavier Delaruelle
A new option to the ./configure script named --enable-windows-support is introduced to install additional files relative to the enablement of Modules on the Windows platform. When set, this option installs module.cmd, ml.cmd and envml...
new feature
v4.5

JSON format output

by Xavier Delaruelle
The -j and --json command line switches are added for the avail, list, savelist, whatis and search module sub-commands. When set, the output result of these sub-commands is rendered in JSON format: $ module avail --json bar | python...
new feature
v4.5

ml command

by Xavier Delaruelle
The ml command is added to Modules. ml is a frontend to the module command that reduces the number of characters to type to trigger module actions. With no argument provided ml is equivalent to module list, ml foo corresponds to module...
new feature
v4.5