-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace parallel
easyconfig parameter by maxparallel
#4398
base: 5.0.x
Are you sure you want to change the base?
Conversation
parallel
EC parameter by maxparallel
parallel
easyconfig parameter by maxparallel
d2ef1e7
to
91ebd42
Compare
91ebd42
to
0c58470
Compare
0c58470
to
af62d8e
Compare
a793f08
to
6dbe018
Compare
@Flamefire Not supporting the So I think we should proceed with #4580 instead, and only actually remove support for using the So this PR should probably be closed, I'll look into reviewing #4580 ASAP... |
Agreed, especially as this is basically #4580 with an extra commit which we can apply at any later point. The EC PR is still useful to promote the use of the new name. |
ec['parallel'] currently doubles as an EC option and as the storage for the calculated parallelism set by the EasyBlock. This makes it hard to reason about especially as maxparallel has pretty much the same effect. Also changes to ec['parallel'] done by e.g. easyblocks (or the set_parallel method) are not reflected by the template `%(parallel)s` Solution: Introduce a property which on write updates the template and some magic to mirror the effect of the now deprecated ec['parallel']
Migrate from `self.cfg['parallel']` to `self.cfg.parallel`
We need to fix our own easyblocks first but that requires this change. So allow until 5.1 or remove after updating the easyblocks.
The EC parameter is deprecated so the tests fail.
6dbe018
to
f7ce246
Compare
Continuation of #3842 for 5.0 to fully remove the
parallel
EC parameterRequires:
parallel
bymaxparallel
easybuild-easyconfigs#19375parallel
easyconfig parameter and fix updating the template value #4580It is on top of the deprecating PR above fully removing the support (for after deprecation)
It requires that some easyblocks are updated first.