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

Load issue with 'module load A C' in modulefile #281

Closed
xdelaruelle opened this issue Jul 4, 2019 · 0 comments
Closed

Load issue with 'module load A C' in modulefile #281

xdelaruelle opened this issue Jul 4, 2019 · 0 comments
Labels
Milestone

Comments

@xdelaruelle
Copy link
Member

This question on SO describes a bug in the dependency management system:

Modulefile A

#%Module1.0

Modulefile B

#%Module1.0
module load A C

Modulefile C

#%Module1.0
module load A

It is not possible to load the modules in the following manner:

module load A B

Error obtained:

Loading B
  Error: B cannot be loaded due to missing prereq.
    HINT: the following modules must be loaded first: C
@xdelaruelle xdelaruelle added the bug label Jul 4, 2019
@xdelaruelle xdelaruelle added this to the 4.2.5 milestone Jul 8, 2019
xdelaruelle added a commit to xdelaruelle/modules that referenced this issue Jul 8, 2019
Fix automatic loading of modulefiles when multiple module names are set
on a single ``module load`` modulefile command. When auto_handling mode
was disabled, the load of not loaded modules was not achieved as soon as
some modules on this list were already loaded.

Fixes cea-hpc#281.
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