Skip to content

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

Merged
boegel merged 4 commits intoeasybuilders:developfrom
victorusu:avoid_greedy_module_behaviour
May 19, 2021
Merged

avoid metadata greedy behaviour when probing for external module metadata#3559
boegel merged 4 commits intoeasybuilders:developfrom
victorusu:avoid_greedy_module_behaviour

Conversation

@victorusu
Copy link
Copy Markdown
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
Copy Markdown
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