Document Actions
1. Modules
Up to Table of Contents
Contents |
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

