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

reinstate fallback to ModulesTool.module_wrapper_exists in ModulesTool.exist #3337

Merged
merged 1 commit into from
May 16, 2020

Conversation

boegel
Copy link
Member

@boegel boegel commented May 16, 2020

This reinstates the fallback mechanism that was removed in #3216, since it's required to correctly recognize existing module wrappers when using Lmod and a hierarchical module naming scheme.

fixes #3335

@boegel boegel added the bug fix label May 16, 2020
@boegel boegel added this to the next release (4.2.1?) milestone May 16, 2020
@zao
Copy link
Contributor

zao commented May 16, 2020

This PR makes it work on the machine mentioned in #3335.

Copy link
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akesandgren
Copy link
Contributor

BTW, having a "." as first char of module name isn't the only way to hide it...
I don't know if using Lmods hide_modulefile causes any problems here.
We do use if but mostly to get rid of builds we deem problematic.

@boegel
Copy link
Member Author

boegel commented May 16, 2020

BTW, having a "." as first char of module name isn't the only way to hide it...
I don't know if using Lmods hide_modulefile causes any problems here.
We do use if but mostly to get rid of builds we deem problematic.

No issue, because we always use Lmod's --show-hidden option.

@akesandgren
Copy link
Contributor

Going in, thanks @boegel!

@akesandgren akesandgren merged commit 2ca3cf4 into easybuilders:develop May 16, 2020
@boegel boegel deleted the fix_module_wrapper_hmns branch May 16, 2020 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java/11 not considered present with HMNS on develop
3 participants