Difference between revisions of "Lmod"
From Systems Group
Systemswiki (Talk | contribs) (→Commands) |
Systemswiki (Talk | contribs) (→Troubleshooting) |
||
(14 intermediate revisions by one user not shown) | |||
Line 3: | Line 3: | ||
== Commands == | == Commands == | ||
− | Display modules available for users to load | + | '''Display modules available for users to load''' |
module avail | module avail | ||
− | |||
module avail | module avail | ||
------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------ | ||
− | + | miniconda3 | |
− | + | ||
− | + | ||
− | + | ||
− | Load package | + | '''Load a package''' |
module load ''packagename/x.x.x'' | module load ''packagename/x.x.x'' | ||
− | + | module load miniconda3 #loads default package when version not specified | |
− | module load | + | |
− | + | ||
− | + | ||
− | Unload package | + | |
+ | '''Unload a package''' | ||
module unload ''packagename'' | module unload ''packagename'' | ||
− | + | module unload miniconda3 #unload single package | |
− | module unload | + | |
− | + | ||
− | Display currently loaded modules | + | |
+ | '''Display currently loaded modules''' | ||
module list | module list | ||
− | |||
module list | module list | ||
Currently Loaded Modules: | Currently Loaded Modules: | ||
− | 1) | + | 1) miniconda3 |
+ | |||
+ | == Current available packages == | ||
+ | |||
+ | *Miniconda is a lightweight version of Anaconda. Miniconda allows you to manage and tailor your virtual environments for your needs. More information about managing conda virtual enviroments can be found here https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html . | ||
+ | |||
+ | miniconda3 | ||
+ | |||
+ | == Troubleshooting == | ||
+ | '''Packages are not shown when issuing module avail''' | ||
+ | module use /mnt/lmod_modules/Linux/ | ||
+ | |||
+ | '''Disk Quota Exceeded''' | ||
+ | This is likely caused by your home directory exceeding storage requirements. If you have any unused virtual environments and/or files (large datasets), you would need to delete them. **Backup your data to your own storage devices (i.e flash drive)** |
Latest revision as of 15:06, 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
- Miniconda is a lightweight version of Anaconda. Miniconda allows you to manage and tailor your virtual environments for your needs. More information about managing conda virtual enviroments can be found here https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html .
miniconda3
Troubleshooting
Packages are not shown when issuing module avail
module use /mnt/lmod_modules/Linux/
Disk Quota Exceeded
This is likely caused by your home directory exceeding storage requirements. If you have any unused virtual environments and/or files (large datasets), you would need to delete them. **Backup your data to your own storage devices (i.e flash drive)**