Skip to content

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

@loicalbertin

Description

@loicalbertin

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinfrastructure/SlurmIssues related to the Slurm infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions