[slurm-users] sprio/sacct priority question
Marcin Stolarek
stolarek.marcin at gmail.com
Thu Oct 18 09:03:36 MDT 2018
As far as I remember sprio does the calculation on its own when executed
and priority in job structure stored by slurmctl is updated periodically...
maybe this is the answer ?
cheers,
Marcin
śr., 17 paź 2018 o 00:42 Glen MacLachlan <bindatype at gmail.com> napisał(a):
>
> Hi all,
>
> I'm using slurm 17.02.8 and when I query pending jobs with sprio or sacct
> I get different results for the slurm priority. Can someone explain to me
> why the difference or at least point me to the document where this is
> discussed because I must have missed it.
>
> sprio example:
>
> $ sprio -j 3402583,3425789,3438823
> JOBID PRIORITY AGE FAIRSHARE JOBSIZE PARTITION
> 3402583 682609 10000 622540 70 50000
> 3425789 100320 10000 40250 70 50000
> 3438823 682609 10000 622540 70 50000
>
>
> sacct example:
>
> $ sacct -j3402583,3425789,3438823 -X --format JOBID,STATE,PRIORITY
> JobID State Priority
> ------------ ---------- ----------
> 3402583 PENDING 386956
> 3425789 PENDING 648990
> 3438823 PENDING 671665
>
> Any idea why these priority numbers come out so differently? Is the sacct
> priority a raw figure whereas sprio has been convolved with fairshare
> factors?
>
> Thanks, Glen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181018/3bd3b05e/attachment-0003.html>
More information about the slurm-users
mailing list