[slurm-users] cleanup script after timeout

Brian Andrus toomuchit at gmail.com
Thu Dec 12 02:06:51 UTC 2019

You prompted me to dig even deeper into my epilog. I was trying to 
access a semaphore file in the user's home directory.

It seems that when the epilogue is run the ~ is not expanded in anyway. 
So I can't even use ~${SLURM_JOB_USER} to access their semaphore file.

Potentially problematic for any sites with homes in different locations 
or accounts with non-standard homes, but at least what I needed to do 
can work.


On 12/11/2019 3:44 PM, Juergen Salk wrote:
> 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

More information about the slurm-users mailing list