<div dir="ltr">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 ?<div><br></div><div>cheers,</div><div>Marcin</div></div><br><div class="gmail_quote"><div dir="ltr">śr., 17 paź 2018 o 00:42 Glen MacLachlan <<a href="mailto:bindatype@gmail.com">bindatype@gmail.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Hi all, <br><br>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. <br><br>sprio example:<br><br>$ sprio -j 3402583,3425789,3438823<br> JOBID PRIORITY AGE FAIRSHARE JOBSIZE PARTITION<br> 3402583 682609 10000 622540 70 50000<br> 3425789 100320 10000 40250 70 50000<br> 3438823 682609 10000 622540 70 50000<br><br><br>sacct example:<br><br>$ sacct -j3402583,3425789,3438823 -X --format JOBID,STATE,PRIORITY<br> JobID State Priority<br>------------ ---------- ----------<br>3402583 PENDING 386956<br>3425789 PENDING 648990<br>3438823 PENDING 671665<br><br>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?<br><br>Thanks, Glen</div>
</blockquote></div>