Skip to content

Module with reflexive conflict fails to load by its full pathname #352

@xdelaruelle

Description

@xdelaruelle

When a modulefile defines a reflexive conflict (to ensure only one version of the module is loaded):

$ module -V
Modules Release 4.5.1 (2020-06-01)
$ module use /path/to/modfiles
$ module avail
---------------- /path/to/modfiles -----------------
mod/1  
$ cat /path/to/modfiles/mod/1
#%Module
conflict mod

An error is obtained when this module is loaded by its full pathname:

$ module load /path/to/modfiles/mod/1
Loading /path/to/modfiles/mod/1
  ERROR: /path/to/modfiles/mod/1 cannot be loaded due to a conflict.
    HINT: Might try "module unload mod" first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions