add support for easyconfig parameter module_only#4537
Merged
boegel merged 3 commits intoeasybuilders:developfrom Jun 5, 2024
Merged
add support for easyconfig parameter module_only#4537boegel merged 3 commits intoeasybuilders:developfrom
module_only#4537boegel merged 3 commits intoeasybuilders:developfrom
Conversation
module_only
boegel
requested changes
May 22, 2024
Member
boegel
left a comment
There was a problem hiding this comment.
changes in easybuild/* look OK to me, but we need a test for this...
Contributor
Author
test added in 64cde9e |
boegel
reviewed
May 28, 2024
| # check use of module_only parameter | ||
| test_ec_txt += "\nmodule_only = True\n" | ||
| write_file(test_ec, test_ec_txt) | ||
| self.eb_main(args, do_build=True, raise_error=True) |
Member
There was a problem hiding this comment.
@smoors You should tweak args here too, so it doesn't include --skip anymore (or --force, I guess), and also check that no software was installed?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
the motivation is to support installing only the module for certain deps of a software when installing with
eb --robotthe
module_onlyparameter can then be set in a hook depending on a certain conditionuse case: installing only the module for CUDA software on non-GPU nodes (e.g. the login nodes), thus making the CUDA modules visible (but not actually usable)
@boegel this helps getting the VSC-bot working in hydra by replacing the 'dummy modules' feature in our submit_build script with a hook