It shows the ID when it's *, as in: > # scontrol update job=17563808_101 dependency=afterany:17562622_* > # scontrol show job 17563808_101 > JobId=17565111 ArrayJobId=17563808 ArrayTaskId=101 JobName=m1a_Drop_interp_trc > Priority=100 Nice=0 Account=user QOS=normal > JobState=PENDING Reason=Dependency Dependency=afterany:17562622_* but not when it's a specific ID: > # scontrol update job=17563808_101 dependency=afterany:17562622_101 > # scontrol show job 17563808_101 > JobId=17565111 ArrayJobId=17563808 ArrayTaskId=101 JobName=m1a_Drop_interp_trc > Priority=100 Nice=0 Account=user QOS=normal > JobState=PENDING Reason=Dependency Dependency=afterany:17562622 Although it does appear to be honouring it correctly in the scheduling engine, so I think it's just an scontrol show job issue.
As you surmised, it works correctly but the output format didn't print the task ids. You can download a patch for 14.11 here: https://github.com/SchedMD/slurm/commit/da4f5684141f1f46.patch We don't anticipate ever releasing 14.11.12, so if you want it now you'll need to patch it and rebuild. 15.08.7 (expected towards the end of January) and on will also have the fix. Note that there are some other fixes related to dependencies in newer releases - I think the 14.11 series had an issue where certain dependencies may be lost across slurmctld restart. - Tim
Great -- thanks, Tim!
(Correcting version fixed string.)
*** Ticket 2650 has been marked as a duplicate of this ticket. ***