Skip to content

Commit 66252c6

Browse files
committed
fix issue that parallel gets set to None with EB 5+
1 parent ce0cf93 commit 66252c6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

eb_hooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def post_ready_hook(self, *args, **kwargs):
133133
# Check whether we have EasyBuild 4 or 5
134134
parallel_param = 'parallel'
135135
if EASYBUILD_VERSION >= '5':
136-
parallel_param = 'max_parallel'
136+
# parallel_param = 'max_parallel' # EasyBlock.set_parallel sets 'parallel'
137+
parallel_param = 'parallel'
137138
# get current parallelism setting
138139
parallel = self.cfg[parallel_param]
139140
if parallel == 1:

0 commit comments

Comments
 (0)