Difference between revisions of "Lmod"
From Systems Group
Systemswiki (Talk | contribs) (→Commands) |
Systemswiki (Talk | contribs) |
||
Line 10: | Line 10: | ||
module avail | module avail | ||
------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ||
− | R/4.0.3 | + | R/4.0.3 pandas/1.3.5 pytorch/1.4 selene-sdk/0.1.3 |
− | deepcpg/1.0.7 | + | deepcpg/1.0.7 pyfasta/0.5.2 pyyaml/5.1.1 selene-sdk/0.4.1 |
− | keras/2.2.4 | + | keras/2.2.4 python/3.7.4 samtools/1.9 tensorflow/1.13.1 |
− | miniconda/4.11.0 | + | miniconda/4.11.0 (D) |
Load package. | Load package. | ||
− | module load ''packagename'' | + | module load ''packagename/x.x.x'' |
example: | example: | ||
− | module load miniconda | + | module load miniconda #loads default package when version is not specified |
+ | module load selene-sdk/0.4.1 #load a specific module | ||
+ | module load python/3.8.12 tensorflow/2.1 #load multiple packages at the same time | ||
+ | |||
Unload package. | Unload package. |
Revision as of 18:16, 21 April 2022
Lmod is a Lua-based module system. Environment Modules provide a convenient way to dynamically change the users' environment through modulefiles.
Commands
Display modules available for users to load.
module avail example: module avail ------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ R/4.0.3 pandas/1.3.5 pytorch/1.4 selene-sdk/0.1.3 deepcpg/1.0.7 pyfasta/0.5.2 pyyaml/5.1.1 selene-sdk/0.4.1 keras/2.2.4 python/3.7.4 samtools/1.9 tensorflow/1.13.1 miniconda/4.11.0 (D)
Load package.
module load packagename/x.x.x example: module load miniconda #loads default package when version is not specified module load selene-sdk/0.4.1 #load a specific module module load python/3.8.12 tensorflow/2.1 #load multiple packages at the same time
Unload package.
module unload packagename example: module unload miniconda