[slurm-dev] Re: Preemtion and signals

2017-10-10 Thread Bjørn-Helge Mevik
writes: > Thanks! > > I'm probably missing something basic, but I don't see any difference by > applying the changes you > suggest - the signals does still not seem to be effectuated until after the > grace time is over. I could remember the details wrong. You could write a

[slurm-dev] Re: Preemtion and signals

2017-10-10 Thread tegner
Thanks! I'm probably missing something basic, but I don't see any difference by applying the changes you suggest - the signals does still not seem to be effectuated until after the grace time is over. Could it be something wrong with how my partitions are defined? PartitionName=cheap

[slurm-dev] Re: Preemtion and signals

2017-10-09 Thread Bjørn-Helge Mevik
writes: > trap 'sig_cont' SIGCONT > trap 'sig_term' SIGTERM > trap 'sig_kill' SIGKILL > sleep 400 Note that this test might be affected by the fact that bash will _not_ abort the "sleep 400"; it will wait until it has finished before executing the trap function(!) From man