Pegasus Software Modules

IDSC ACS continually updates applications, compilers, system libraries, etc. To facilitate this task and to provide a uniform mechanism for accessing different revisions of software, ACS uses the modules utility. At login, modules commands set up a basic environment for the default compilers, tools, and libraries such as:  the $PATH, $MANPATH, and $LD_LIBRARY_PATH environment variables. There is no need to set them or update them when updates are made to system and application software.

From Pegasus, users can view currently loaded modules with module list and check available software with module avail *package* (omitting the package name will show all available modules). Some modules are loaded automatically upon login:

[username@pegasus ~]$ module list
Currently Loaded Modulefiles:
  1) perl/5.18.1(default)
[username@pegasus ~]$ module avail R

----------------------------- /share/Modules/hihg ------------------------------
ROOT/5.34.32

----------------------- /share/mfiles/Compiler/gcc/8.3.0 -----------------------
R/3.6.3          R/4.0.3          R/4.1.0(default)

[username@pegasus ~]$ module load R
[username@pegasus ~]$ module list
Currently Loaded Modulefiles:
  1) perl/5.18.1(default)    2) R/4.1.0(default)

The table below lists commonly used modules commands.

Pegasus Modules

Command

Purpose

module avail

lists all available modules

module list

list modules currently loaded

module purge

restores original setting by unloading all modules

module load package

loads a module e.g., the python package

module unload package

unloads a module e.g., the python package

module switch old new

replaces old module with new module

module display package

displays location and library information about a module

See our Policies page for minimum requirements and more information.