Software Modules Lmod

From bwHPC Wiki
Revision as of 13:11, 27 April 2020 by J Kucera (talk | contribs)
Jump to navigation Jump to search

Software Module System - Lmod

PREFACE

This guide describes the software environment and tools used to run applications on JUSTUS 2 system. It is intended as a general overview and introduction to the software system management on JUSTUS 2 for new users as well as for experienced users coming from JUSTUS 1 system.

MINIMALISTIC DESCRIPTION

JUSTUS 2 system uses Lmod (the Lua Based Module System https://slurm.schedmd.com/faq.html) environment management package to support dynamic modification of the user environment via modulefiles. Each modulefile contains information needed to configure the shell for a particular application. To make major changes in your user environment, such as switching to a different compiler, use the appropriate Modules commands to select the desired modulefiles.

Which shells supports module commands?

So far Bash is only supported shell on JUSTUS 2 to interpret module commands.

Most basic tasks for Module System

Lmod offers more than 25 sub-commands plus various options to manage the modulefile system installed on JUSTUS 2. See, e.g. output of "module --help" command. Large majority of users will use only couple of them. A complete list of module sub-commands can be displayed by entering "module --help" command.

Loading and unloading modulefiles

Complete unloading of all modulefiles

What is Loaded Now?

Which modulefiles/software is available?

To see what modulefiles are available on JUSTUS 2, you can enter the following command:

$ module avail

or alternatively

$ ml av

which comes with lmod to save typewriting.

Module specific help

To access the module specific help, use the "module help" command. For example, to see the module help associated with the default VASP module, enter this command:

$ module help chem/vasp

JUSTUS 2 specific configuration of module systems