Modules

Description

The environment management system modules ensures user interface to environment modifications required for running of application programs. It allows to configure user's session independently of platform and physical location of needed files. Therefore it allows to avoid many times complicated manual modifications of the environment.

Availability

Module modules.

Utilization

The list of available modules can be printed out using command

"module available"


If we want to load arbitrary module from the list of available modules we will do this by a subcommand add of program module. E.g. command

"module add matlab"

will add to the path program Matlab and possibly initialize the environment according to requirements of this program.

We can find out what modules are currently loaded by subcommand list of program module. Loaded module that we do not want to use anymore can be unloaded by subcommand unload. Module is automatically active after logging to METACentrum machines. In the case of batch scripts you can initialize modules at the beginning of a script by:

#!/bin/sh
. /packages/run/modules-2.0/init/sh

or in the case of csh by:

source /packages/run/modules-2.0/init/csh

Documentation

Man pages of commands module and modulefile.

Licence

Freely available software (GPL2).

Supported platforms

UNIX systems.

Program administrator

Zdeněk Salvet

Last changed:Mon Sep 27 10:43:42 CEST 2010