[slurm-users] Execute scripts on suspend and cancel

2019-10-11 Thread Oytun Peksel
Hi, I was wondering is there an option in Slurm to execute custom scripts before Suspend signal. What I need to do is to tell an application to release it's licenses before sending the suspend signal during preemption. I think went through all the documentation but could not find a mechanism l

Re: [slurm-users] Execute scripts on suspend and cancel

2019-10-14 Thread Oytun Peksel
To: slurm-users@lists.schedmd.com Subject: [slurm-users] Execute scripts on suspend and cancel Hi, I was wondering is there an option in Slurm to execute custom scripts before Suspend signal. What I need to do is to tell an application to release it's licenses before sending the suspend signal durin

Re: [slurm-users] Execute scripts on suspend and cancel

2019-10-15 Thread Brian Andrus
205917 *From:*slurm-users *On Behalf Of *Oytun Peksel *Sent:* den 11 oktober 2019 09:10 *To:* slurm-users@lists.schedmd.com *Subject:* [slurm-users] Execute scripts on suspend and cancel Hi, I was wondering is there an option in Slurm to execute custom scripts before S

Re: [slurm-users] Execute scripts on suspend and cancel

2019-10-15 Thread Oytun Peksel
ytun.pek...@semcon.com> +46739205917 From: slurm-users On Behalf Of Brian Andrus Sent: den 15 oktober 2019 20:58 To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] Execute scripts on suspend and cancel It seems that there are some details that would need addressed. A suspend signal

Re: [slurm-users] Execute scripts on suspend and cancel

2019-10-16 Thread Brian Andrus
tun Peksel* oytun.pek...@semcon.com <mailto:oytun.pek...@semcon.com> +46739205917 *From:*slurm-users *On Behalf Of *Brian Andrus *Sent:* den 15 oktober 2019 20:58 *To:* slurm-users@lists.schedmd.com *Subject:* Re: [slurm-users] Execute scripts on suspen

Re: [slurm-users] Execute scripts on suspend and cancel

2019-10-17 Thread Goetz, Patrick G
cripts during preemption? >> >> >> >> *Oytun Peksel* >> >> oytun.pek...@semcon.com <mailto:oytun.pek...@semcon.com> >> >> >> >> >> +46739205917 >> >> >> >> >> *From:*slurm-users *O

Re: [slurm-users] Execute scripts on suspend and cancel

2019-10-17 Thread Michael Jennings
On Thursday, 17 October 2019, at 16:50:29 (+), Goetz, Patrick G wrote: > Are applications even aware when they've been hit by a SIGSTP? This > idea of a license being released under these circumstances just > seems very unlikely. No, which is why SIGSTOP cannot be caught. The action is carr