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

Requeueing on timeouts when launching jobs with CommandFunction #1732

Open
Niccolo-Ajroldi opened this issue Mar 24, 2023 · 0 comments
Open

Comments

@Niccolo-Ajroldi
Copy link

Is it possible to submit a job to slurm with submitit.helpers.CommandFunction and submitit.AutoExecutor, in such a way that it is requeued on timeouts?

As mentioned in the docs, a Python function is requeued on timeouts only if it implements a checkpoint method. Otherwise by default submitit does not requeue on timeouts, only on preemptions. However, I would like to submit a job through CommandFunction, and I need it to be requeued on timeout.

Thanks in advance!

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