Sie befinden sich im Service: RWTH Compute Cluster Linux (HPC)

Modules System

Modules System

Detailinformation 

A lot of different compilers, MPI implementations, tools, and ISV software are installed on the RWTH Compute Cluster. To handle the different requirements of each piece of software we provide a module system, which allows the user to easily load the needed software and/or switch between its different versions. All necessary search paths and environment variables are set by loading a module. The modules package is available for the ksh, zsh, and tcsh shells. Please note: Users of the bash shell have to add the line

. /usr/local_host/etc/bashrc

to their ~/.bashrc file in order to activate the modules package.

Commands

Command

Description

module list

List all loaded modules.

module avail

List all available modules.

module load [modulename]

Load a software.

module unload [modulename]

Unloaded a software.

module switch [oldmodule] [newmodule]

Exchange a module. Some modules depend on each other (i.e. MPI modules depends on the loaded compiler.)

module reload

Reload all modules. This may fix your environment, especially if you use a NX session.

module apropos [modulename]

Find out in which category a module is.

module whatis [modulename]

Print some information about the module.

All modules are organized in categories. Because of that you might first have to load a specific category before you are able to load modules contained inside it. For example:

$ module avail
 
------------ /usr/local_rwth/modules/modulefiles/linux/x86-64/DEVELOP ------------
acumem/1.0.6                    openmpi/1.5.1mt
acumem/2009.2(default)      openmpi/1.5.3mt
acumem/2010.3                 pgi/10.5
ddt/2.5                              pgi/10.9
ddt/2.6(default)                   pgi/11.1(default)
gcc/4.3                              python/2.4.2
gcc/4.5                              python/2.4.6
gcc/system-default(default)  python/2.5.2(default)
intel/11.1(default)                python/2.5.5
intel/11.1.073                     python/2.6.6
intel/12                              python/2.7.1
...                                     ...
 
------------ /usr/local_rwth/modules/modulefiles/GLOBAL ------------
BETA       DEPRECATED GRAPHICS   MATH       TECHNICS
CHEMISTRY  DEVELOP    LIBRARIES  MISC       UNITE
 

If you want to use python 2.7.1, for example, you need to do the following:

$ module load DEVELOP
$ module load python/2.7.1

Zusatzinformationen

zuletzt geändert am 29.01.2021

Wie hat Ihnen dieser Inhalt geholfen?

Creative Commons Lizenzvertrag
Dieses Werk ist lizenziert unter einer Creative Commons Namensnennung - Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz