Skip to content
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

Task option concurrent=False #1134

Closed
BoPeng opened this issue Dec 29, 2018 · 0 comments
Closed

Task option concurrent=False #1134

BoPeng opened this issue Dec 29, 2018 · 0 comments

Comments

@BoPeng
Copy link
Contributor

BoPeng commented Dec 29, 2018

With #1125 we changed the default concurrent input option to True. This however broke a test

input: for_each=dict(i=range(5))
task: concurrent=False

because when the substeps are executed in parallel, the tasks are started from individual workers so concurrent=False is ignored.

Actually, even

input: for_each=dict(i=range(5)), concurrent=False
task: 

does not fix the problem because even when the substeps are executed sequentially, the tasks are executed in parallel after they are submitted.

So we should add concurrent=False to input when this option is specified for task.

input: for_each=dict(i=range(5))
task: concurrent=False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant