Module Environment

From IBERS Bioinformatics and HPC Wiki
Revision as of 07:47, 29 March 2012 by Mjv08 (talk | contribs)
Jump to: navigation, search

When you log into bert.ibers you see a message like this;

   
Use the following commands to adjust your environment:

'module avail'            - show available modules
'module add <module>'     - adds a module to your environment for this session
'module initadd <module>' - configure module to be loaded at every login

-------------------------------------------------------------------------------
    

This is the first indication of the module environment. So what is a module?

A module is an environment that can be loaded by the user. A common usage for this is if there are several versions of a piece of software available on the machine. By default when you log into bert.ibers and type in the command for the piece of software, it will run the latest version. This might be fine for everyday use, but there could be a time when you need an older version (maybe to make it compatible with another piece of software). This is where modules become useful. By making software available in modules, it allows the user to specify the environment they wish to work.

Loading and unloading modules