-
Notifications
You must be signed in to change notification settings - Fork 240
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
CWL job chaining is sub-optimal because we can't chain when a job has multiple predecessors #3697
Comments
@mr-c Can you please elaborate on this?. I would like to improve this if possible. |
It looks like specifically the problem is that we can't chain to the next job if there are multiple predecessors of it, and that might happen more often in CWL. |
I think this happens more often in CWL because we're making a predecessor/successor link whenever one job uses an output from another job, even if that link would be transitively redundant. So if you have jobs A, B, and C, each of which uses the results of all the previous jobs, then you won't be able to chain from B to C because A is also a predecessor of C, and C has multiple predecessors, which Toil can only handle when scheduling from the leader. The fact that B couldn't have been running unless A was already done isn't actually used to infer that we ought to be able to run C. |
┆Issue is synchronized with this Jira Story
┆friendlyId: TOIL-949
The text was updated successfully, but these errors were encountered: