Software Modules Lmod

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

Software Module System - Lmod

1 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.

2 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.

2.1 Which shells supports module commands?

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

2.2 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.

2.2.1 Loading and unloading modulefiles

2.2.2 Complete unloading of all modulefiles

2.2.3 What is Loaded Now?

2.2.4 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.

2.2.5 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

2.3 JUSTUS 2 specific configuration of module systems