Lmod is program to manage the user environment under Unix: (Linux, Mac OS X, ...). It is a new implementation of environment modules.
- Documentation: https://lmod.readthedocs.org
- GitHub: https://github.com/TACC/Lmod
- SourceForge: https://lmod.sf.net
- TACC Homepage: https://www.tacc.utexas.edu/research-development/tacc-projects/lmod
- Lmod Test Suite: https://github.com/rtmclay/Lmod_test_suite
Please go to https://lists.sourceforge.net/lists/listinfo/lmod-users to join.
The most up-to-date source will be at github. All known bugs have been fixed if it is released on github. When there has been sufficient improvement or important bugfixes there is a new release at sourceforge.
Features:
-
Module unload can never fail: module eval errors are warning durning unload.
-
break (in TCL) and LmodBreak (in Lua) are ignored during unload.
-
In TCL puts stdout are now delayed until the end of the module evaluation. (Matches Tmod 4.1)
-
In TCL puts prestdout are now printed out at the beginning of module output. (Matched Tmod 5.1)
Bug Fixes
-
Convert "module swap n/v" to "module swap n n/v"
-
break in TCL modules now breaks out of looks. It only stops the evaluation of the current module when outside a loop.
-
Many fixes to sh_to_module script and source_sh() function to better handle
-
Support for depends_on(between()) repaired.
-
The command "module avail" only shows extensions that are currently available rather than all modules.
Features:
-
New command "module overview" which lists names and the number of versions for each.
-
Added spiderPathFilter hook so that sites can control which directories are ignored.
-
updated sh_to_modulefile script to capture shell functions and shell aliases.
-
New module function source_sh() to source a shell script inside a modulefile.
-
Added new env. var. LMOD_QUARANTINE_VARS. All names in this colon separated list cannot be changed by Lmod.
-
New file /etc/lmod/lmod_config.lua is used to configure Lmod.
Bug Fixes:
- Changed docs to use the word "delim" instead of "sep".
Features:
-
New function added userInGroups(group1, group2, ...) to check to see if a user is in one of those groups.
-
The variable ModuleTool and ModuleToolVersion are set in both TCL and Lua modules. These variables are also defined in Tmod 4.7+
-
Added option --no_extensions to module avail to not print extensions from avail.
-
added module function requireFullName() (TCL require-fullname) to generate an error if not specifying the full name of a module.
-
Configure options --with-lua= and --with-luac added to specify full path to both commands.
-
Adding isAvail() function for Lua modulefiles. Report error if is-avail command used in a TCL modulefile.
Bug Fixes:
-
Fix the try_load() function to ignore failure to be found but report broken modules.
-
Spider list of modules from spider skip .version* and .modulerc* files.
-
Allow all paths (but MODULEPATH) to have trailing double slashes.
-
The command module use converts relative paths to absolute paths.
-
Make TCL system call run in place rather than with an execute via Lmod.
Features:
-
Support for Lua 5.4 added.
-
Improved support for ksh and ksh scripts.
-
Improved documentation for software hierarchy and community module collections.
Bug Fixes:
-
Handle exit in TCL modulefile; Handle os.exit() when performing spider
-
Now handles /bin/dash startup.
-
Support improved for fish shell
Features:
-
The function extensions() now takes a string of comma separated names. This is to get around the number of arguments limit in Lua.
-
Add support for "atleast()" and "between()" functions support a "<" to signify a less than instead of less than or equal to between range.
Bug Fixes:
-
Make "ml - foo" an error.
-
It is now safe to have os.exit(1) in a modulefile. Spider can now handle it.
Features:
-
Better support for the fish shell including tab completion (Thanks Alberto!)
-
New function extensions(): This allows for modules like python to report that the extensions numpy and scipy are part of the modules. Users can use "module spider numpy" to find which modules provide numpy etc.
-
Added a new command "clearLmod" which does a module purge and removes all LMOD aliases and environment variables.
Bug Fixes:
-
Remove asking for the absolute path for generating spiderT and dbT. It now only use when building the reverseMapT.
-
Lmod now requires "rx" other access when searching for modulefiles.
-
settarg correctly handles a power9 processor running linux.
Features:
-
Extended Default feature added: module load intel/17 will find the "best" intel/17.* etc.
-
All hidden files are NOT written to the softwarePage output.
Bug Fixes:
-
Lmod now correctly reports failed to load module "A" in the special case where "ml A B" and A is a prereq of B and A doesn't exist.
-
A meta module takes precedence over a regular module if the meta module occurs in an earlier directory in $MODULEPATH
-
Lmod output only "fills" when the text is more than one line or it is wider than the current width.
Features:
-
Embed the TCL interpreter in Lmod when a site allows TCL files
-
"module reset" resets $MODULEPATH to be the system $MODULEPATH
-
Improved tracing of module loads/unloads when --trace is given.
-
Allow MODULERCFILE to be a colon separated list.
For information to version changes for Lmod before 8.0 see README.old