I had found some inconsistent behavior with the epilog that I didn't understand, but we worked around it at our site and didn't follow up. https://bugs.schedmd.com/show_bug.cgi?id=6911
On Mon, Dec 9, 2019 at 11:58 AM Brian Andrus <toomuc...@gmail.com> wrote: > Absolutely, which we do, however it is difficult to simulate all the > possible job failures/ending/cancellations in 2 minutes or at all for some > things. > > So we post on the forums both to see if this has been found out and to > draw attention to the fact that the documentation could be improved by > adding a bit of clarification. > > Brian > > > On 12/9/2019 10:10 AM, Riebs, Andy wrote: > > At the risk of stating the obvious… these seem like the sort of questions > that could be answered with a 2 minute test. Better yet, not just answered, > but with answers specific to your configuration J > > > > *From:* slurm-users [mailto:slurm-users-boun...@lists.schedmd.com > <slurm-users-boun...@lists.schedmd.com>] *On Behalf Of *Alex Chekholko > *Sent:* Monday, December 9, 2019 12:53 PM > *To:* Slurm User Community List <slurm-users@lists.schedmd.com> > <slurm-users@lists.schedmd.com> > *Subject:* Re: [slurm-users] Timeout and Epilogue > > > > Hi, > > > > I had asked a similar question recently (maybe a year ago) and also got > crickets. I think in our case we were not able to ensure that the epilog > always ran for different types of job failures, so we just had the users > add some more cleanup code to the end of their jobs _and_ also run separate > cleanup jobs. > > > > Regards, > > Alex > > > > > > On Wed, Dec 4, 2019 at 7:29 PM Brian Andrus <toomuc...@gmail.com> wrote: > > Quick question: > > Is the epilogue script run if a job exceeds its time limits and is being > canceled? > > What about just cancelled? > > I need to be able to clean up some job-specific files regardless of how > the job ends and I'm not sure epilogue is sufficient. > > Brian Andrus > >