Header left.png

Difference between revisions of "Lmod"

From Systems Group
Jump to: navigation, search
(Commands)
(Commands)
Line 9: Line 9:
 
  example:
 
  example:
 
  module avail
 
  module avail
  ------------------------------------------------------ /path/to/modulefile ------------------------------------------------------
+
  ------------------------------------------------------ /path/to/modulefiles ------------------------------------------------------
 
   R/4.0.3            pandas/1.3.5        pytorch/1.4                selene-sdk/0.1.3         
 
   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           
 
   deepcpg/1.0.7      pyfasta/0.5.2        pyyaml/5.1.1              selene-sdk/0.4.1           

Revision as of 18:05, 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   


Load package.

module load packagename

example:
module load miniconda

Unload package.

module unload packagename

example:
module unload miniconda