Actions

Module conflicts

From ALICE Documentation

Revision as of 14:33, 17 April 2020 by Dijkbvan (talk | contribs) (Created page with "=== Module conflicts=== Modules that are loaded together must use the same toolchain version: it is impossible to load two versions of the same module. In the following exampl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Module conflicts

Modules that are loaded together must use the same toolchain version: it is impossible to load two versions of the same module. In the following example, we try to load a module that uses the intel-2018a toolchain together with one that uses the intel-2017a toolchain:

 $ module load Python/2.7.14-intel-2018a
 $ module load HMMER/3.1b2-intel-2017a
 Lmod has detected the following error: A different version of the ’intel’ module is already loaded (see output of ’ml’).
 You should load another ’HMMER’ module for that is compatible with the currently loaded version of ’intel’.
 Use ’ml avail HMMER’ to get an overview of the available versions.
 If you don’t understand the warning or error, contact the helpdesk at helpdesk@alice.leidenuniv.nl
 While processing the following module(s):
 Module fullname Module Filename
 HMMER/3.1b2-intel-2017a /apps/gent/CO7/haswell-ib/modules/all/HMMER/3.1b2-intel-2017a.lua

This resulted in an error because we tried to load two different versions of the intel module. To fix this, check if there are other versions of the modules you want to load that have the same version of common dependencies. You can list all versions of a module with module avail: for HMMER, this command is module avail HMMER.

Another common error is:

 $ module load cluster/skitty
 Lmod has detected the following error: A different version of the ’cluster’ module is already loaded (see output of ’ml’).
 If you don’t understand the warning or error, contact the helpdesk at helpdesk@alice.leidenuniv.nl

This is because there can only be one cluster module active at a time. The correct command is module swap cluster/skitty. See also When will my job start?