Modules

Modules

Modules provide a quick and convenient way to setup a user's environment via a set of prebuilt configurations.

Common Commands

Command

Description

module list

List currently loaded modules.

module use directory

Load additional modules in a directory.

module avail

List all available packages.

module spider

List all available packages in a different format.

module help [modulename]

Description of specified module.

module show [modulename]

Displays information about specified module, including environment changes, dependencies, software version and path.

module load [modulename]

Loads module or specifies which dependencies have not been loaded.

module unload [modulename]

Unloads specified module from environment.

module purge

Unloads all loaded modules

List of modules available on the cluster

[user@athena1 ~]$ module avail --------------------------------------------- /etc/modulefiles ---------------------------------------------- FastQC/0.12.1 dalton/2020.1 muscle/5.1.0 psi4conda/1.8.2 MultiQC/1.17 easybuild/4.8.2 namd/3.0b5 python/3.6.15 OrthoFinder/2.5.4 fastp/0.23.4 ncbi-blast/2.15.0+ python/3.11.6 (D) R/4.3.1 gaussian16/C.01 nekrs/23.0 salmon/1.10.1 RAxML/8.2.13 gcc/9.5.0 nextflow/23.10.0 samtools/1.18 SPAdes/3.15.4 go/1.21.4 nwchem/7.2.2 scalapack/2.2.0 STAR/2.7.11a gsl/2.7.1 openFOAM/8.0 singularity/4.0.1 anaconda3/2023.09-0 hdf5/1.14.3 openFOAM/9.0 sratoolkit/3.0.7 apptainer/1.2.4 htslib/1.18 openFOAM/10.0 stacks/2.65 bcftools/1.18 iqtree/2.2.2.6 openFOAM/11.0 (D) szip/2.1.1 bedtools/2.31.0 java/17.0.2 openbabel/3.1.1 trinityrnaseq/2.15.1 bioperl/1.7.8 java/21.0.1 (D) opencv/4.8.1 vasp/6.4.1 boost/1.83.0 julia/1.9.3 openmc/0.14.0 vcftools/0.1.16-20 bowtie2/2.5.2 matlab/R2023b orca/5.0.4 wannier90/3.1.0 bwa/0.7.17-r1198 mcnp/6.2 paml/4.10.7 zlib/1.3 cellranger/7.2.0 miniconda3/py39_23.9.0 pgi/2018-1810 cmake/3.27.7 mpi/openmpi-4.1.6 picard/3.1.0 --------------------------------- /opt/intel/oneapi/2024.0/etc/modulefiles ---------------------------------- ccl/2021.11.0 debugger/2024.0.0 ifort32/2024.0.0 mkl32/2024.0 compiler-rt/2024.0.0 dev-utilities/2024.0.0 intel_ipp_ia32/2021.10 mpi/2021.11 (D) compiler-rt32/2024.0.0 dnnl/3.3.0 intel_ipp_intel64/2021.10 oclfpga/2024.0.0 compiler/2024.0.0 dpct/2024.0.0 intel_ippcp_ia32/2021.9 oneapi/2024.0.0 compiler32/2024.0.0 dpl/2022.3 intel_ippcp_intel64/2021.9 tbb/2021.11 dal/2024.0.0 ifort/2024.0.0 mkl/2024.0 tbb32/2021.11

 

While it is possible to add module commands to your startup environment (e.g. ~/.bashrc), we strongly recommends that you do not do so. You may find conflicts later when you want to use different modules. It is best to add the module load commands to your Slurm scripts.