Header left.png

Difference between revisions of "Lmod"

From Systems Group
Jump to: navigation, search
(Commands)
(Commands)
Line 8: Line 8:
 
   
 
   
 
  example:
 
  example:
 
 
  module avail
 
  module avail
 
  ------------------------------------------------------ /opt/modulefiles/Linux ------------------------------------------------------
 
  ------------------------------------------------------ /opt/modulefiles/Linux ------------------------------------------------------
Line 25: Line 24:
 
   
 
   
 
  example:
 
  example:
 
 
  module load miniconda
 
  module load miniconda
  
Line 33: Line 31:
 
   
 
   
 
  example:
 
  example:
 
 
  module unload miniconda
 
  module unload miniconda

Revision as of 18:03, 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
------------------------------------------------------ /opt/modulefiles/Linux ------------------------------------------------------
  R/4.0.3             pandas/1.3.5  (D)    pytorch/1.4         (D)    selene-sdk/0.1.3          tensorflow/2.4
  cython/0.28.5       perl/5.30            pyyaml/3.12         (D)    selene-sdk/0.4            tensorflow/2.5
  deepcpg/1.0.7       pyfasta/0.5.2        pyyaml/5.1.1               selene-sdk/0.4.1   (D)    tensorflow/2.7   (D)
  docopt/0.6.0        python/3.7.3         pyyaml/5.1.2               sratoolkit/2.9.6-1        xgboost/0.7post4
  keras/2.2.4         python/3.7.4         samtools/1.9               tensorflow/1.13.1
  miniconda/4.11.0    python/3.8.12 (D)    scikit-learn/0.22.2        tensorflow/1.14.0
  pandas/0.25.1       pytorch/1.1.0        scikit-learn/1.0.2  (D)    tensorflow/2.1


Load package.

module load packagename

example:
module load miniconda

Unload package.

module unload packagename

example:
module unload miniconda