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

[Slurm] Use sacct to retrieve job status when scontrol show job does not show the job anymore #757

Closed
loicalbertin opened this issue Jul 12, 2021 · 0 comments · Fixed by #758 or #767
Assignees
Labels
enhancement New feature or request infrastructure/Slurm Issues related to the Slurm infrastructure

Comments

@loicalbertin
Copy link
Member

loicalbertin commented Jul 12, 2021

As: a user
I want to: get a job status even if it vanished from scontrol show job (after 5min)
So that: I can know at least if my job finished successfully or in error

AC1: Still use scontrol to get job info by default but if not found then try sacct
AC2: If sacct is not configured on a cluster, well set the job status as unknown like it is now

@loicalbertin loicalbertin added enhancement New feature or request infrastructure/Slurm Issues related to the Slurm infrastructure labels Jul 12, 2021
@loicalbertin loicalbertin self-assigned this Jul 12, 2021
@loicalbertin loicalbertin changed the title [Slurm] Use sacct to retrieve job status when sinfo does not show the job anymore [Slurm] Use sacct to retrieve job status when scontrol show job does not show the job anymore Jul 12, 2021
@loicalbertin loicalbertin changed the title [Slurm] Use sacct to retrieve job status when scontrol show job does not show the job anymore [Slurm] Use sacct to retrieve job status when scontrol show job does not show the job anymore Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure/Slurm Issues related to the Slurm infrastructure
Projects
None yet
1 participant