Personal tools
You are here: Home UiT Stallo Documentation Stallo User Guide 1. Modules
Document Actions

1. Modules

Up to Table of Contents

Software installations on the clusters span many applications, and many different version numbers of the same application. It is not possible (nor desirable) to use them all at the same time, since different versions of the same application may conflict with each other. In order to simplify the control of which application versions are available in a specific session, there is a system for loading and unloading 'modules' which activate and deactivate the relevant parts of your user session.

 



Which modules are loaded?

To see the modules currently active in your session, use the command

module list

 

Which modules are available?

In order to see a complete list of available modules, issue the command

module avail

The resulting list will contain module names conforming to the following pattern:

  • name of the module
  • /
  • version
  • (default) if default version

How are modules loaded?

In order to enable to make available, for instance, the netcdf library, issue the command

module load netcdf
 

This will load the default netcdf version. To load a specific version, just include the version:

module load netcdf/3.6.2

 


How are modules unloaded?

Keeping with the above example, use the following command to unload the GLView module again:

module unload netcdf

Which version of a module is the default?

In order to see, for instance, which version of netcdf is loaded by the module, use:

module show netcdf

This will show the version and path of the module.

 

How do I switch to a different version of a module?

Switching to another version is similar to loading a specific version. As an example, if you want to switch from the default (current) Intel compilers version to version 8.0, type

module switch intelcomp intelcomp/8.0

How do I switch to a different version of a module?

Say you want to switch from the intel compilers  version 11.1 to, e.g. version 11.0, use

module switch intel-compiler/11.1 intel-compiler/11.0
by Peter Wind last modified Oct 21, 2011 02:20 PM Notur