2020-10-13 11:54:38 +01:00
|
|
|
# module
|
|
|
|
|
|
|
|
> Modify a users' environment using the module command.
|
|
|
|
> More information: <https://lmod.readthedocs.io/en/latest/010_user.html>.
|
|
|
|
|
|
|
|
- Display available modules:
|
|
|
|
|
|
|
|
`module avail`
|
|
|
|
|
|
|
|
- Search for a module by name:
|
|
|
|
|
2021-10-11 19:04:43 +01:00
|
|
|
`module avail {{module_name}}`
|
2020-10-13 11:54:38 +01:00
|
|
|
|
|
|
|
- Load a module:
|
|
|
|
|
|
|
|
`module load {{module_name}}`
|
|
|
|
|
|
|
|
- Display loaded modules:
|
|
|
|
|
|
|
|
`module list`
|
|
|
|
|
|
|
|
- Unload a specific loaded module:
|
|
|
|
|
2021-10-11 19:04:43 +01:00
|
|
|
`module unload {{module_name}}`
|
2020-10-13 11:54:38 +01:00
|
|
|
|
|
|
|
- Unload all loaded modules:
|
|
|
|
|
|
|
|
`module purge`
|
2023-02-21 03:46:23 +00:00
|
|
|
|
|
|
|
- Specify user-created modules:
|
|
|
|
|
|
|
|
`module use {{path/to/modulefiles}}`
|