The module system and how to use it on CSC supercomputers. The same information can be found in the module section of Docs CSC.
All materials (c) 2020-2024 by CSC – IT Center for Science Ltd. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License, http://creativecommons.org/licenses/by-sa/4.0/
module spider
to search for an application
module use /appl/local/csc/modulefiles
to see modules installed by CSCmodule load modulename
module load gromacs-env
module command modulename
module purge
and module load modulename
in your batch scripts to always get the same modules in consecutive jobsmodule list
: See a list of the currently loaded modulesmodule avail
: Modules currently available for loading (hides modules that can’t be loaded at the moment due to dependencies)module spider modulename
: Search for an application in the list of all existing modulesmodule spider modulename/version
: Gives information on how to load a specific version of a module (prerequisites etc.)gromacs-env
), while some provide a collection of applications (e.g. Python or R packages)
pip list
shows a list of packages installed in the current environment.bashrc
, but we do not recommend this
csc-env
commandmodule load modulenames
at the start of each session, you can define an alias for these in your .bashrc
.bashrc
: alias mods="module load modulenames"
mods
(after sourcing your .bashrc
or logging out and in again)module save filename
and load it later with module restore filename
$HOME/modulefiles
)module use $HOME/modulefiles
)module show modulename