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

Update job polling mechanism #134

Open
charles-cowart opened this issue Mar 12, 2024 · 0 comments
Open

Update job polling mechanism #134

charles-cowart opened this issue Mar 12, 2024 · 0 comments
Assignees

Comments

@charles-cowart
Copy link
Collaborator

polling job state using squeue instead of sacct would be preferred (Jeff); it's more accurate and faster to update than sacct, which can take up to ten minutes to update.

https://hpc-unibe-ch.github.io/slurm/monitoring-jobs.html

Job status will live on in squeue for five minutes after a job exits (Jeff), so catching the completion or erroring of a job shouldn't be a problem.

Also, we should adjust the polling mechanism (Job._system()) to handle other conditions that don't get checked for by SPP like OUT OF MEMORY error. See:

https://slurm.schedmd.com/squeue.html#SECTION_JOB-STATE-CODES

@charles-cowart charles-cowart self-assigned this Mar 12, 2024
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