reduce number of module load commands used to set up build environment - #5211
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#5211Conversation
… 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'] |
|
Installing the first 49 extensions from R-bundle-CRAN/2025.11-foss-2025 sequentially:
|
|
This reintroduces #4948 The logs below are based on an easyconfig that contains only the first extension from easybuilders/easybuild-easyconfigs#26416 The Without this PR: With this PR - note the |
@branfosj Was this with or without |
Without With |
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