Skip to content

Module conflicts are ignored in module mappings #1274

@vkarak

Description

@vkarak

In the following example PrgEnv-gnu loads gcc/9.2.0. Using the following mapping -M 'PrgEnv-gnu: PrgEnv-gnu gcc/8.3.0' it will cause the error when loading gcc/8.3.0:

gcc/8.3.0(3):ERROR:150: Module 'gcc/8.3.0' conflicts with the currently loaded module(s) 'gcc/9.2.0'
gcc/8.3.0(3):ERROR:102: Tcl command execution failed: conflict gcc

The problem is that the mapping module mechanism is not taking into account module conflicts in mappings. In this case the rhs of the mapping will PrgEnv-gnu with gcc/9.2.0 and then it will try to load gcc/8.3.0, which will cause the error.

I don't know if this is easily fixable, but I am creating this issue to be listed as known issue at least. If we decide not to fix it, we should document it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions