[slurm-users] cleanup script after timeout

Juergen Salk juergen.salk at uni-ulm.de
Wed Dec 11 23:44:06 UTC 2019

Hi Brian,

can you maybe elaborate on how exactly you verified that your epilog 
does not run when a job exceeds it's walltime limit? Does it run when 
the jobs end normally or when a running job is cancelled by the user?

I am asking because in our environment the epilog also runs when a job 
hits the walltime limit or is cancelled and I think this is actually 
how it is supposed to work.

Best regards

Jürgen Salk
Scientific Software & Compute Services (SSCS)
Kommunikations- und Informationszentrum (kiz)
Universität Ulm
Telefon: +49 (0)731 50-22478
Telefax: +49 (0)731 50-22471

* Brian Andrus <toomuchit at gmail.com> [191211 10:19]:
> All,
> So I have verified that the Epilog script is NOT run for any job that times
> out. Even though in the documentation (
> https://slurm.schedmd.com/prolog_epilog.html), it states "At job
> termination"
> I guess timeouts are not considered terminated??
> So, is there a recommended way to have a cleanup script run on jobs that
> have timed out?
> Brian Andrus

GPG A997BA7A | 87FC DA31 5F00 C885 0DC3  E28F BD0D 4B33 A997 BA7A

More information about the slurm-users mailing list