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] *On Behalf Of *Alex Chekholko
*Sent:* Monday, December 9, 2019 12:53 PM
*To:* Slurm User Community List <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 <mailto: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

Reply via email to