Finding Software
Environment Modules¶
NeSI uses environment modules to manage installed software.
Using the module
command you can:
- View loaded modules:
- List all available modules
- Load a module:
- Switch out a loaded module for a different version:
Lmod on Mahuika¶
As on Pan, Mahuika uses an enhanced version of modules called Lmod .
Lmod extends the basic environment modules by adding simple shortcuts
and a more powerful search capability. The ml
shortcut can be used in
place of module
. With Lmod you can:
- View loaded modules:
- List all available modules:
- Use “spider” to search for modules, e.g. “Python” modules:
- Load a module:
- Prefix a module with “-“ to unload it, e.g. switch from Python 2 to Python 3:
- To get a fresh environment, we recommend that you log out and log in again. By logging out and logging in again you will revert to not only the default set of modules, but also the default set of environment variables.
Further information can be found in the online User Guide for Lmod.
Modules on Māui¶
On Māui and Māui_Ancil we use top level modules to provide the different software stacks. Per default the "NeSI" module is loaded, which provides access to the different NeSI software stacks.
On Māui XC nodes an improved version of the modules framework is provided. Therewith you can also search for modules using a sub-string using the "-S" option, e.g.
as a result you will also find modules having the substring "netcdf" in name, e.g. cray-netcdf.
NOTE: The substring search will be soon implemented by default, then you do not need to specify the -S anymore. Furthermore, this improvement should be also ported to the Māui_Ancil part.
Tip
You can create your own modules. This is described here.