How to List, Load, and Unload Software Modules

The module commands allow you to list, load, or unload software modules to tailor your environment to your needs.

Listing Software Modules

module avail – Lists the software applications on the system, their versions, and if multiple versions are installed, identifies the default version.

Example 1: List all software applications and module files.
[... ~]$ module avail

Example 2: List the version(s) of ABAQUS on the system, identifying the default version if multiple versions are installed.
[... ~]$ module avail abaqus

Loading Software Modules

module load – Loads module files into the shell environment.

Example 1: Load the default version of ABAQUS.
[... ~]$ module load abaqus

Example 2: Load a non-default version of ABAQUS.
[... ~]$ module load abaqus/6.12-3

Unloading Software Modules

module unload – Unloads module files from the shell environment.

Example 1: Unload the default version of ABAQUS.
[... ~]$ module unload abaqus

Example 2: Unload a non-default version of ABAQUS.
[... ~]$ module unload abaqus/6.12-3

Observations

If you load multiple versions of ABAQUS, the most-recently loaded module takes precedence. Conversely, "module unload abaqus" unloads the least-recently loaded version (not necessarily the default version).

For additional information on the use of modules, see the Modules User Guide.