Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list of symbolic versions does not honor default version #334

Closed
xdelaruelle opened this issue Apr 6, 2020 · 0 comments
Closed

list of symbolic versions does not honor default version #334

xdelaruelle opened this issue Apr 6, 2020 · 0 comments
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

When resolving one module name with advanced version specifiers enabled and a list of versions specified, if defined version list is composed of symbolic versions and default module version is part of it, this default version is not returned whereas it is expected to be, for instance to load the default version of the module.

Create modulefiles to reproduce the issue:

$ cat mp/mod/1
#%Module
$ cat mp/mod/2
#%Module
$ cat mp/mod/.modulerc
#%Module
module-version /1 default
module-version /2 new
$ module config advanced_version_spec 1

How to reproduce with this setup:

$ module av -t mod@default,new
/home/xa/devel/modules/mp:
mod/1(default)
mod/2(new)
$ module load -v mod@default,new
Loading mod/2

Here mod/2 is returned whereas default module is mod/1.

@xdelaruelle xdelaruelle added the bug label Apr 6, 2020
@xdelaruelle xdelaruelle added this to the 4.5 milestone Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant