Difference between revisions of "Lmod"
From Systems Group
Systemswiki (Talk | contribs) (→Commands) |
Systemswiki (Talk | contribs) |
||
Line 39: | Line 39: | ||
Currently Loaded Modules: | Currently Loaded Modules: | ||
1) python/3.8.12 2) tensorflow/2.1 | 1) python/3.8.12 2) tensorflow/2.1 | ||
+ | |||
+ | == Troubleshooting == | ||
+ | '''If packages are not shown when issuing module avail''' | ||
+ | module use /mnt/lmod_modules/Linux/ |
Revision as of 18:03, 3 May 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
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 a package
module load packagename/x.x.x
module load miniconda #loads default package when version 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
Unload a package
module unload packagename
module unload miniconda #unload single package module unload python/3.8.12 tensorflow/2.1 #unload multiple packages
Display currently loaded modules
module list
module list Currently Loaded Modules: 1) python/3.8.12 2) tensorflow/2.1
Troubleshooting
If packages are not shown when issuing module avail
module use /mnt/lmod_modules/Linux/