Many software and library packages require specific user environment settings for successful execution or use. The Modules Environment package provides a straightforward mechanism for users to dynamically load and manage such environment settings on MERCED or Pinnacles. For example, to load the environmental variables and other settings necessary for using the Intel compiler one executes the command module load intel A complete guide to the use of Modules can be found by using the command man module at the command line on MERCED or Pinnacles.
Here, we outline the five basic uses of Modules we expect users will find most useful. Most commonly, users will make use of options avail, load, list, unload, and swap. A table describing each of these Modules options is given below.
| Command | Description |
|---|---|
module avail |
This command lists all available modules. |
module load <mod_name> |
This command loads the environment corresponding to |
module list |
This command provides a list of all modules currently loaded into the user environment. |
module unload <mod_name> |
This command unloads the environment corresponding to |
module swap <mod_1> <mod_2> |
This command unloads the environment corresponding to |


