The Module System¶
Software on the cluster is managed via Environment Modules (or Lmod), which let you load and unload specific versions of compilers, libraries, and applications without conflicts. When you first log in, your environment is minimal by design.
# See all available software
module avail
# Load a module
module load gcc/13
module load mpi/mpich-x86_64
# See what is currently loaded
module list
# Unload a specific module
module unload gcc/13
# Start fresh — unload everything
module purge
💡 Always load modules inside your Slurm scripts.
Compute nodes start with a clean environment. Modules loaded interactively
on the login node are not inherited by your batch jobs.
Always include your module load commands explicitly in every
Slurm script you write.