[slurm-users] How does slurm keep track of latest jobid
christoph.bruening at uni-wuerzburg.de
Wed May 20 14:54:06 UTC 2020
I'd assume that the NEXT_JOB_ID comes from one of the files in
slurmctld's state directory
$ scontrol show config | grep StateSaveLocation
Not sure, but I think I have seen the id being reset when this directory
got lost once...
On 20/05/2020 16.31, Ole Holm Nielsen wrote:
> On 5/20/20 7:57 AM, Ole Holm Nielsen wrote:
>> On 20-05-2020 00:03, Flynn, David P. (Dave) wrote:
>>> Where does Slurm keep track of the latest jobid. Since it is
>>> persistent across reboots, I suspect it’s in a file somewhere.
>> $ scontrol show config | grep MaxJobId
> Sorry, I should have written:
> $ scontrol show config | grep NEXT_JOB_ID
> NEXT_JOB_ID = 2488059
> The next jobid is presumably in the Slurm database.
Dr. Christoph Brüning
Tel.: +49 931 31-80499
More information about the slurm-users