On eRI we make software available using environment modules, sometime also referred to as lmod
. This article describes how to use the module
command to find, load and purge software.
Environment Modules
Modules are a convenient way to provide access to applications on the cluster. They prepare the environment you need to run an application.
For a full list of module commands run man module or visit the lmod documentation here.
| Lists all available modules. |
| Searches available modules for [module name] |
| Shows information about [module name] |
| Loads [module name] |
| Lists currently loaded modules. |
| Purge (remove) all modules from your environment |
For example, if you want to use the R
programming language you would:
...
This will load all of the software and dependencies required to run R
version 4.3.2. To see the list of software loaded when you run the above command you can run the module list
command:
Code Block |
---|
$ module list
Currently Loaded Modules:
1) GCCcore/12.3.0 19) ncurses/6.4-GCCcore-12.3.0
2) zlib/1.2.13-GCCcore-12.3.0 20) libreadline/8.2-GCCcore-12.3.0
3) binutils/2.40-GCCcore-12.3.0 21) libpng/1.6.40-GCCcore-12.3.0
4) GCC/12.3.0 22) libxml2/2.11.4-GCCcore-12.3.0
5) numactl/2.0.16-GCCcore-12.3.0 23) SQLite/3.42.0-GCCcore-12.3.0
6) UCX/1.14.1-GCCcore-12.3.0 24) OpenSSL/1.1
7) UCC/1.2.0-GCCcore-12.3.0 25) cURL/8.3.0-GCCcore-12.3.0
8) OpenMPI/4.1.5-GCC-12.3.0 26) NLopt/2.7.1-GCC-12.3.0
9) OpenBLAS/0.3.23-GCC-12.3.0 27) GMP/6.2.1-GCCcore-12.3.0
10) FlexiBLAS/3.3.1-GCC-12.3.0 28) Java/20.0.2
11) FFTW/3.3.10-GCC-12.3.0 29) libgit2/1.6.4-GCC-12.3.0
12) gompi/2023a 30) nodejs/18.18.2-GCCcore-12.3.0
13) FFTW.MPI/3.3.10-gompi-2023a 31) freetype/2.13.2-GCCcore-12.3.0
14) ScaLAPACK/2.2.0-gompi-2023a-fb 32) HarfBuzz/4.4.1-GCC-12.3.0
15) foss/2023a 33) FriBidi/1.0.12-GCC-12.3.0
16) bzip2/1.0.8-GCCcore-12.3.0 34) LibTIFF/4.4.0-GCCcore-12.3.0
17) XZ/5.4.2-GCCcore-12.3.0 35) R/4.3.2-foss-2023a
18) PCRE2/10.42-GCCcore-12.3.0 |