[slurm-users] sprio/sacct priority question

Glen MacLachlan bindatype at gmail.com
Tue Oct 16 16:38:25 MDT 2018


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/20181016/23c97bce/attachment.html>


More information about the slurm-users mailing list