From 1c8c2ffe8324535a1e8b4c929e982981162d188e Mon Sep 17 00:00:00 2001 From: Jake Tommey Date: Thu, 1 Aug 2024 00:15:36 +0200 Subject: [PATCH] modify standby runs to include parition information --- scripts/run_submit/submit_standby.sh | 1 + scripts/run_submit/submit_standby_dayMax.sh | 1 + scripts/run_submit/submit_standby_maxMem.sh | 1 + scripts/run_submit/submit_standby_maxMem_dayMax.sh | 1 + scripts/slurmOutput.yml | 4 ++-- scripts/slurmStart.yml | 2 +- 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/run_submit/submit_standby.sh b/scripts/run_submit/submit_standby.sh index f0bff3233..8dca74aae 100644 --- a/scripts/run_submit/submit_standby.sh +++ b/scripts/run_submit/submit_standby.sh @@ -1,6 +1,7 @@ #!/bin/bash #SBATCH --qos=standby +#SBATCH --partition=priority #SBATCH --job-name=mag-run #SBATCH --output=slurm.log #SBATCH --mail-type=END,FAIL diff --git a/scripts/run_submit/submit_standby_dayMax.sh b/scripts/run_submit/submit_standby_dayMax.sh index d7836390d..39b04f8ba 100644 --- a/scripts/run_submit/submit_standby_dayMax.sh +++ b/scripts/run_submit/submit_standby_dayMax.sh @@ -1,6 +1,7 @@ #!/bin/bash #SBATCH --qos=standby +#SBATCH --partition=priority #SBATCH --job-name=mag-run #SBATCH --output=slurm.log #SBATCH --mail-type=END,FAIL diff --git a/scripts/run_submit/submit_standby_maxMem.sh b/scripts/run_submit/submit_standby_maxMem.sh index 23b099943..e556d4aff 100644 --- a/scripts/run_submit/submit_standby_maxMem.sh +++ b/scripts/run_submit/submit_standby_maxMem.sh @@ -1,6 +1,7 @@ #!/bin/bash #SBATCH --qos=standby +#SBATCH --partition=priority #SBATCH --job-name=mag-run #SBATCH --output=slurm.log #SBATCH --mail-type=END,FAIL diff --git a/scripts/run_submit/submit_standby_maxMem_dayMax.sh b/scripts/run_submit/submit_standby_maxMem_dayMax.sh index ac3ba4d30..9e02db436 100644 --- a/scripts/run_submit/submit_standby_maxMem_dayMax.sh +++ b/scripts/run_submit/submit_standby_maxMem_dayMax.sh @@ -1,6 +1,7 @@ #!/bin/bash #SBATCH --qos=standby +#SBATCH --partition=priority #SBATCH --job-name=mag-run #SBATCH --output=slurm.log #SBATCH --mail-type=END,FAIL diff --git a/scripts/slurmOutput.yml b/scripts/slurmOutput.yml index fcabde798..da4bfc325 100644 --- a/scripts/slurmOutput.yml +++ b/scripts/slurmOutput.yml @@ -1,5 +1,5 @@ slurmjobs: - SLURM standby: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END,FAIL --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=standby --time=24:00:00" - SLURM standby maxMem: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END,FAIL --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=standby --time=24:00:00 --mem-per-cpu=0 --cpus-per-task=16" + SLURM standby: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END,FAIL --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=standby --partition=priority --time=24:00:00" + SLURM standby maxMem: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END,FAIL --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=standby --partition=priority --time=24:00:00 --mem-per-cpu=0 --cpus-per-task=16" SLURM priority: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END,FAIL --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=priority --partition=priority" SLURM priority maxMem: "sbatch --job-name=scripts-output --output=logs/out-%NAME-%j.out --error=logs/out-%NAME-%j.err --mail-type=END,FAIL --time=200 --mem-per-cpu=8000 --wrap=\"Rscript %SCRIPT\" --qos=priority --partition=priority --mem-per-cpu=0 --cpus-per-task=16" diff --git a/scripts/slurmStart.yml b/scripts/slurmStart.yml index 584ac675f..f3e52215e 100644 --- a/scripts/slurmStart.yml +++ b/scripts/slurmStart.yml @@ -1,4 +1,4 @@ slurmjobs: SLURM priority: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=priority --partition=priority --cpus-per-task=3" - SLURM standby: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=standby --cpus-per-task=3" + SLURM standby: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=standby --partition=priority --cpus-per-task=3" SLURM medium: "sbatch --job-name=%NAME --output=logs/%NAME-%j.out --mail-type=END,FAIL --wrap=\"Rscript %SCRIPT\" --qos=medium --cpus-per-task=3"