Thanks Jeffrey, bypassing SIGTERM solved my problem! :D
Best,
Ailing
On Mon, Nov 20, 2017 at 8:33 AM, Jeffrey Frey wrote:
> • *GraceTime*: Specifies a time period for a job to execute after it is
> selected to be preempted. This option can be specified by partition or QOS
> using the slurm.conf
Hi,
could you try submitting the following script:
Script job.sh:
**
#!/bin/bash
#SBATCH -p test-low
#SBATCH -n 3
#SBATCH -t 12:00:00
sig_term()
{
echo "function sig_term called. Exiting"
echo 'sig_term' > slask_term
echo $(date) >> slask_term
}
# associate the funct
• GraceTime: Specifies a time period for a job to execute after it is selected
to be preempted. This option can be specified by partition or QOS using the
slurm.conf file or database respectively. This option is only honored if
PreemptMode=CANCEL. The GraceTime is specified in seconds and the de
Hi slurm community,
I'm testing preemption with partition based preemption. Partitions
test-high and test-low share the same nodes. I set GraceTime=600
and PreemptMode=CANCEL in test-low. But once I submitted a job to
test-high, job in test-low is immediately killed without any grace time.
Here is