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

Add job dependencies #14

Closed
bschroeter opened this issue Jul 15, 2024 · 1 comment · Fixed by #15
Closed

Add job dependencies #14

bschroeter opened this issue Jul 15, 2024 · 1 comment · Fixed by #15

Comments

@bschroeter
Copy link
Collaborator

Following from #10

It would be great to be able to specify job dependencies for a submission.

https://opus.nci.org.au/display/Help/Job+Dependencies

For example:

# Submit the first job
job1_id = client.submit("job1.sh")

# Submit another job that requires the first to complete
job2_id = client.submit("job2.sh", depends=job1_id)

There would need to be different arguments to specify the behaviour as noted in the link, such as running in the case of a failure or success of another job etc.

@bschroeter
Copy link
Collaborator Author

This may also be highly SCHEDULER DEPENDANT, so not all scheduling systems will have such facilities.

This issue will focus on PBS.

bschroeter added a commit that referenced this issue Jul 18, 2024
Added job dependencies and directives support. Fixes #14 and #10
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

Successfully merging a pull request may close this issue.

1 participant