Difference between revisions of "Lmod"
From Systems Group
Systemswiki (Talk | contribs) (→Troubleshooting) |
Systemswiki (Talk | contribs) (→Commands) |
||
Line 9: | Line 9: | ||
module avail | module avail | ||
------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ||
− | miniconda3 | + | miniconda3 |
Line 16: | Line 16: | ||
module load ''packagename/x.x.x'' | module load ''packagename/x.x.x'' | ||
− | module load | + | module load miniconda3 #loads default package when version not specified |
− | + | ||
− | + | ||
Line 25: | Line 24: | ||
module unload ''packagename'' | module unload ''packagename'' | ||
− | module unload | + | module unload miniconda3 #unload single package |
− | + | ||
Line 35: | Line 34: | ||
module list | module list | ||
Currently Loaded Modules: | Currently Loaded Modules: | ||
− | 1) | + | 1) miniconda3 |
== Current available packages == | == Current available packages == |
Revision as of 14:59, 11 April 2023
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
Load a package
module load packagename/x.x.x
module load miniconda3 #loads default package when version not specified
Unload a package
module unload packagename
module unload miniconda3 #unload single package
Display currently loaded modules
module list
module list Currently Loaded Modules: 1) miniconda3
Current available packages
- If you do not see a package that you need please email root@cs.odu.edu with the subject line "Lmod request" and the packages you need.
miniconda3 tensorflow-gpu/2.6.2 tensorflow/2.1 tensorflow/2.4 tensorflow/2.5 tensorflow/2.6.2
Troubleshooting
Packages are not shown when issuing module avail
module use /mnt/lmod_modules/Linux/