Lmod

Lmod as an alternative module system.

In addition to the default Environment Modules system, CPE offers support for Lmod as an alternative module management system.

Lmod is a Lua-based module system that loads and unloads modulefiles, handles path variables, and manages library and header files.

The CPE implementation of Lmod is hierarchical, managing module dependencies and ensuring any module a user has access to is compatible with other loaded modules.

Lmod uses "families” of modules to flag circular conflicts, which is most apparent when module details are displayed through module show and when users attempt to load conflicting modules.

Lmod is set up to automatically load a default set of modules. The default set includes one each of compiler, network, CPU, and MPI modules. Users may choose to load different modules. However, it is recommended that, at minimum, a compiler, network, CPU, and a MPI module be loaded, to ensure optimal assistance from Lmod.

Environment Modules and Lmod modules use the same names, so all command examples work similarly.

Use either Environment Modules or Lmod on a per-system basis. They are mutually exclusive and both cannot run on the same system. See the Cray Asynchronous Installer Guide for setting Lmod as the default.

For more Lmod information, see The User Guide for Lmod: https://lmod.readthedocs.io/en/latest/010_user.html.