Ticket 5461

Summary: How to modify job dependency?
Product: Slurm Reporter: George Hwa <george.hwa>
Component: User CommandsAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: --- CC: sts
Version: 17.02.7   
Hardware: Linux   
OS: Linux   
Site: KLA-Tencor RAPID Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---

Description George Hwa 2018-07-20 18:04:39 MDT
After a job is submitted with job dependencies, how do I add more jobs to the dependency list? 

I don't want to read off the existing list and append to it and do "scontrol" because that would two operations. Since I'm going to have many possible jobs trying to modify the same job's dependency, an atomic operation is needed by simply append new jobs to the existing list, assuming the SLURMCTLD will take care of the rest:)
Comment 1 Alejandro Sanchez 2018-07-23 03:08:28 MDT
There is no such capability at present. An update operation on the job dependency field will override whatever value was previously set, so if you want to append new jobs to the specified list you need to set the new jobs as well as the old ones again.

I can retag this as an enhancement request, but we can't ensure whether and/or if this will ever be addressed without anyone sponsoring this work. If this is something KLA-Tencor is interested in we can discuss that further by e-mail.

Thank you.