1. Introduction

There are several conflicting software packages installed in the Oblivion supercomputer. In order for the user to use the adequate software there is a need to set the paths for the binaries, libraries, manuals, and includes. Either the user sets these paths for each package or the system provides an easy way to set those paths. The latter is the preferable and makes use of environment modules. 

The user sets the software environment by loading the modules associated to the packages he needs to use. This is easily done by using module load or module add. Software dependences are set in the same way.  

$ module load  

To learn what are the loaded modules the user only needs to type module list:

while module avail displays all the modules available in the machine:

The user can purge the loaded modules by executing module purge.

Often a user uses different environments for his processes. Hence, he needs to load and purge the loaded modules several times. An easy way to proceed is to save those module environments into a file, say <module_environment>, by using module save <module_environment>. Later, the environment can be reloaded using the command module restore <module_environment>.

2. List of commonly used commands

module avail Displays the list of available modules in the machine
module list Displays the modules that are currently loaded
module add [module_name] Loads the module [module_name]
module unload [module_name] Unloads the module [module_name]
module purge Clears all modules in your environment
module save [name_of_file] Saves a module environment in the file [name_file] for later use
module restore [name_of_file] Loads a module environment saved in file [name_file]
module savelist Displays the list of saved modules environment