Difference between revisions of "Lmod"
From Systems Group
Systemswiki (Talk | contribs) (→Commands) |
Systemswiki (Talk | contribs) (→Commands) |
||
Line 9: | Line 9: | ||
module avail | module avail | ||
------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ||
− | miniconda3 tensorflow-gpu/2.6.2 tensorflow/2.1 tensorflow/2.4 tensorflow/2.5 tensorflow/2.6.2 | + | miniconda3 tensorflow-gpu/2.6.2 tensorflow/2.1 tensorflow/2.4 tensorflow/2.5 tensorflow/2.6.2 |
Revision as of 20:13, 1 September 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 ------------------------------------------------------ miniconda3 tensorflow-gpu/2.6.2 tensorflow/2.1 tensorflow/2.4 tensorflow/2.5 tensorflow/2.6.2
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/