Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions easybuild/framework/easyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2422,8 +2422,8 @@ def set_parallel(self):
else:
par = min(int(par), int(cfg_par))

par = det_parallelism(par, maxpar=self.cfg['max_parallel'])
self.log.info("Setting parallelism: %s" % par)
par = det_parallelism(par=par, maxpar=self.cfg['max_parallel'])
self.log.info(f"Setting parallelism: {par}")
self.cfg.parallel = par

def remove_module_file(self):
Expand Down
2 changes: 1 addition & 1 deletion easybuild/framework/easyconfig/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
BUILD],
'hidden': [False, "Install module file as 'hidden' by prefixing its version with '.'", BUILD],
'installopts': ['', 'Extra options for installation', BUILD],
'maxparallel': [16, 'Max degree of parallelism', BUILD],
'maxparallel': [None, 'Max degree of parallelism', BUILD],
'module_only': [False, 'Only generate module file', BUILD],
'patches': [[], "List of patches to apply", BUILD],
'prebuildopts': ['', 'Extra options pre-passed to build command.', BUILD],
Expand Down
5 changes: 3 additions & 2 deletions easybuild/tools/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,9 @@ def override_options(self):
'output-style': ("Control output style; auto implies using Rich if available to produce rich output, "
"with fallback to basic colored output",
'choice', 'store', OUTPUT_STYLE_AUTO, OUTPUT_STYLES),
'parallel': ("Specify (maximum) level of parallelism used during build procedure",
'int', 'store', None),
'parallel': ("Specify (maximum) level of parallelism used during build procedure "
"(actual value is determined by available cores + 'max_parallel' easyconfig parameter)",
'int', 'store', 16),
'parallel-extensions-install': ("Install list of extensions in parallel (if supported)",
None, 'store_true', False),
'pre-create-installdir': ("Create installation directory before submitting build jobs",
Expand Down
Loading