Skip Nav

Listing, Loading, and Unloading Software Modules on Spirit

The module command allows 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 do a "module load abaqus/6.12-3", then decide you need to use the default version, you must do a "module unload abaqus/6.12-3" before doing a "module load abaqus". Otherwise ABAQUS may not run properly because the shell environment was not set correctly.

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