User environment - The usage of module

From HPC users
Revision as of 11:04, 23 November 2012 by Albensoeder (talk | contribs) (Created page with "We use the module environment, which has a lot of advantages, is very flexible (and user-friendly), and even allows one to use different versions of the same software concurrentl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

We use the module environment, which has a lot of advantages, is very flexible (and user-friendly), and even allows one to use different versions of the same software concurrently on the same system. You can see a list of all available modules by typing

module avail

To load a given module:

module load <name of the module>

The modules system uses a hierarchical file structure, i.e., sometimes (whenever there are ambiguities) you may have to specify a path, as in:

module load fftw2/gcc/64/double

To revert all changes made by a given module (environment variables, paths, etc.):

module unload <name of the module>

To see which modules are already loaded:

module list