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

avoid metadata greedy behaviour when probing for external module metadata #3559

Merged
merged 4 commits into from
May 19, 2021

Conversation

victorusu
Copy link
Contributor

This PR attempts to fix the greedy behaviour from the metadata handler.
The greedy behaviour causes this type of issues (eth-cscs/production#2106).

Currently, the metadata file parser populates the PACKAGE_PREFIX and PACKAGE_VERSION variables at the moment it reads the file. This might be ok for non Cray systems, due to the fact that the modules are may still be present and have the same values. For Cray systems, the value of the fields change with the change in the programming environment. In this case, one needs to let EB populate the values at the very end.

@boegel boegel added this to the next release (4.3.3?) milestone Feb 2, 2021
@boegel boegel added the bug fix label Feb 2, 2021
@boegel
Copy link
Member

boegel commented Feb 3, 2021

@victorusu Can you look into the failing test?

@easybuilders easybuilders deleted a comment from boegelbot Feb 9, 2021
@boegel boegel added the cray Issues and PRs related to integration with Cray PE label May 18, 2021
@boegel boegel changed the title Avoid metadata greedy behaviour avoid metadata greedy behaviour when probing for external module metadata May 18, 2021
@easybuilders easybuilders deleted a comment from boegelbot May 18, 2021
@boegel boegel merged commit 9b9af65 into easybuilders:develop May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix cray Issues and PRs related to integration with Cray PE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants