Skip to content

Conflict error does not correctly report loading state of conflicting module #262

@xdelaruelle

Description

@xdelaruelle

Taking following modules as example:

$ module show mc md
-------------------------------------------------------------------
/path/to/modulefiles/mc:

module          unload mc
-------------------------------------------------------------------
/path/to/modulefiles/md:

module          unload mc
module          load mc
-------------------------------------------------------------------

mc cannot be loaded due to the conflict defined by md. Error message is confusing as it should state that md is currently loading.

$ module load md
Loading mc
  ERROR: mc cannot be loaded due to a conflict.
    HINT: Might try "module unload md" first.

Loading md
  ERROR: md cannot be loaded due to missing prereq.
    HINT: the following module must be loaded first: mc

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions