reduce number of module load commands used to set up build environment#5211
Draft
boegel wants to merge 5 commits into
Draft
reduce number of module load commands used to set up build environment#5211boegel wants to merge 5 commits into
module load commands used to set up build environment#5211boegel wants to merge 5 commits into
Conversation
… load' commands for each of them
…lchain_and_deps which loads modules for toolchain + dependencies in one go (except when --extended-dry-run is used)
… helper methods from Toolchain class
…nvironment once before installing extensions, and use restore_env to restore it before installing each extension
…lation of bar extension (?!)
| else: | ||
| # first simulate loads for toolchain dependencies, if required information is available | ||
| for tc_dep in self.tcdeps: | ||
| mod_name = tcdep['short_mod_name'] |
Member
|
Installing the first 49 extensions from R-bundle-CRAN/2025.11-foss-2025 sequentially:
|
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.
module loadcommand rather than1+D`module load commands;modulecommands);EasyBlock.install_extensions_sequentialcurrently;TODO:
EasyBlock.install_extensions_parallelto restore build environment for each extension installation;module unloadcommandsEssentially fixes #5052