Skip to content

Provided alias not found by subsequent module load #602

Description

@xdelaruelle

Using the new provide modulefile command, once a module with such alias is loaded, the provided alias is not found by module when trying to load it afterward.

$ ml av -t
/path/to/modulefiles:
bar/1
foo/2

$ ml show bar/1
-------------------------------------------------------------------
/path/to/modulefiles/bar/1:

provide         foo/1
-------------------------------------------------------------------

$ ml bar/1

$ module load foo/1
ERROR: Unable to locate a modulefile for 'foo/1'

$ echo $__MODULES_LMALTNAME 
bar/1&al|foo/1&as|bar/default&as|bar/latest

It is expected that module load foo/1 detect this alias and do nothing (no error message, no environment change as module is already loaded).

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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