Environment Module

From Leo's Notes
Revision as of 01:02, 28 January 2021 by Leo (talk | contribs) (Created page with "Environment modules provides a reversible way to alter a user's environment to make software packages available. == Cheat Sheet == {| class="wikitable" !Action !Command |- |L...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 28 January 2021, at 01:02.

Environment modules provides a reversible way to alter a user's environment to make software packages available.

Cheat Sheet

Action Command
Load a module module load gcc/6.1.1
Unload a module module unload gcc
Show what's available module avail
List what's loaded module list

Creating a module

Create a shared location for your modules so that other users can make use of it. For example /share/modulefiles. Append this path to your module by running:

module use --append /share/modulefiles

See Also