Created attachment 2623 [details] Patch to add the feature to version 15.08 Since this is a new feature rather than a bug fix, I am only adding the feature to our version 16.05 distribution, but here is a patch which you can apply locally to version 15.08 if desired. Basically you add an option of "flag=purge_comp" when creating the reservation for it to get purged once the last job completes. You can either set the start time in the future or have at least 60 seconds to submit a job to it before it gets purged.
Here is the commit to the version 16.05 branch: https://github.com/SchedMD/slurm/commit/be6e1fb50cd3f28f826ff03546219c39fc27911b
Great! I'll include it in my future builds. Thanks, Moe. Doug On Jan 17, 2016 8:52 PM, <bugs@schedmd.com> wrote: > Moe Jette <jette@schedmd.com> changed bug 2355 > <http://bugs.schedmd.com/show_bug.cgi?id=2355> > What Removed Added > Status UNCONFIRMED RESOLVED > Version Fixed 16.06.0-pre1 > Resolution --- FIXED > > *Comment # 2 <http://bugs.schedmd.com/show_bug.cgi?id=2355#c2> on bug 2355 > <http://bugs.schedmd.com/show_bug.cgi?id=2355> from Moe Jette > <jette@schedmd.com> * > > Here is the commit to the version 16.05 branch:https://github.com/SchedMD/slurm/commit/be6e1fb50cd3f28f826ff03546219c39fc27911b > > ------------------------------ > You are receiving this mail because: > > - You are on the CC list for the bug. > >
Hi Moe, I can confirm that this feature works in a patched 15.08.7 build on cori. Thanks! Doug ---- Doug Jacobsen, Ph.D. NERSC Computer Systems Engineer National Energy Research Scientific Computing Center <http://www.nersc.gov> dmjacobsen@lbl.gov ------------- __o ---------- _ '\<,_ ----------(_)/ (_)__________________________ On Sun, Jan 17, 2016 at 10:01 PM, Douglas Jacobsen <dmjacobsen@lbl.gov> wrote: > Great! I'll include it in my future builds. > > Thanks, Moe. > > Doug > On Jan 17, 2016 8:52 PM, <bugs@schedmd.com> wrote: > >> Moe Jette <jette@schedmd.com> changed bug 2355 >> <http://bugs.schedmd.com/show_bug.cgi?id=2355> >> What Removed Added >> Status UNCONFIRMED RESOLVED >> Version Fixed 16.06.0-pre1 >> Resolution --- FIXED >> >> *Comment # 2 <http://bugs.schedmd.com/show_bug.cgi?id=2355#c2> on bug >> 2355 <http://bugs.schedmd.com/show_bug.cgi?id=2355> from Moe Jette >> <jette@schedmd.com> * >> >> Here is the commit to the version 16.05 branch:https://github.com/SchedMD/slurm/commit/be6e1fb50cd3f28f826ff03546219c39fc27911b >> >> ------------------------------ >> You are receiving this mail because: >> >> - You are on the CC list for the bug. >> >>