Lmod

From NU HPC Wiki
Revision as of 03:43, 3 July 2024 by Admin (talk | contribs) (Created page with " In linux environment variables are values that can change and impact how programs behave on a computer system. They are name-value pairs that all processes can access within a particular user environment or shell session. These variables provide a flexible and convenient method for managing system-wide settings, configuring applications, and customizing system behavior. Shabyt uses Environment modules (also know as LMOD) to dynamically set up environment variables for...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In linux environment variables are values that can change and impact how programs behave on a computer system. They are name-value pairs that all processes can access within a particular user environment or shell session. These variables provide a flexible and convenient method for managing system-wide settings, configuring applications, and customizing system behavior.

Shabyt uses Environment modules (also know as LMOD) to dynamically set up environment variables for different software. Module commands set, change, or delete environment variables that are needed for a particular software. The ‘module load‘ command will set PATH, LD_LIBRARY_PATH and other environment variables such that user may choose a desired version of applications or libraries more easily. More details can be found here.

Environment module commands Command Description module avail List of available software module keyword [word] Search for available modules matching the keyword module spider [word] Show the details of any modules matching the keyword module whatis [module] Show the short description about module module load [package1] [package2] Load the environment for the default version of the modulefile module load [package]/[version] Load the environment for the specified version of module module unload [package1] [package2] Unload previously loaded packages module swap [moduleA] [moduleB] Unload modulefile A and load modulefile B module list List any currently loaded module(s) module purge Unload all currently loaded modules