Frequently Asked Question

5.1 Introduction to Modules
Last Updated 5 months ago

Modules simplify the process of loading and configuring the necessary environment settings, such as paths, environment variables, and library dependencies. The most common module commands include:

1. module avail

This command lists all available modules on the system. It’s useful when you want to see what software or libraries you can load.

image

2. module use

This command allows you to specify an additional directory containing module files that are available for loading. This is particularly useful when you have custom modules stored in a non-standard location.

image

3. module show

Displays detailed information about a module, including environment variables it will set or modify when loaded.

image

4. module load

This command loads a specific module, configuring the environment to use it. For example, to load a particular version of Intel composer:

$ module load composer_xe/2017.2.174

5. module list

Lists all currently loaded modules. It’s a quick way to check what tools or libraries are active in your current session.

$ module list

6. module purge

Unloads all currently loaded modules, effectively resetting your environment to its default state.

$ module purge

By using these commands, you can manage your HPC environment efficiently, preventing conflicts between software versions and ensuring that the correct dependencies are loaded.

Please Wait!

Please wait... it will take a second!