Header left.png

Lmod

From Systems Group
Revision as of 18:03, 21 April 2022 by Systemswiki (Talk | contribs)

Jump to: navigation, search

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