Environment Modules
Environment modules are files needed to successfully/optimally run applications in HPC. These enable controlling/managing of applications in an HPC environment. With environment modules, we can have multiple versions of the same application without the compromising the operation system (OS).
Module Files
- Module files are scripts that define the particular variables that need to be set per application.
- Each application has its own module file.
- Associated module files are available for packages installed in /opt/hpcc.
Commands
- View existing Module/smodule avail
- Informative listing of modulesmodule whatis
- Load preferred application and versionmodule load <name>/<version> or module add <name>/<version>
- View currently loaded modulemodule list
- Remove specific module currently loadedmodule unload
- Remove all currently loaded modulesmodule purge
- Load Modules Automatically on Login
Modules can be automatically loaded on a user's shell environment by adding the appropriate module commands into the ~/.bashrc file.