Skip to content

Commit 4c50c94

Browse files
authored
fix(slurm): request minimal /scratch allocation (#457)
1 parent ebbe108 commit 4c50c94

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

bin/qtl-histogram

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ source $(dirname $0)/../libexec/environ.sh
88
# constants ############################################################
99
# slurm settings
1010
SLURM_MEMORY=2000 # must be more than max heap size in $TIMELINE_JAVA_OPTS
11+
SLURM_DISK=32M
1112
SLURM_TIME=10:00:00
1213
SLURM_LOG=/farm_out/%u/%x-%A_%a
1314
########################################################################
@@ -489,6 +490,7 @@ for key in ${jobkeys[@]}; do
489490
#SBATCH --account=clas12
490491
491492
#SBATCH --mem-per-cpu=$SLURM_MEMORY
493+
#SBATCH --gres=disk:$SLURM_DISK
492494
#SBATCH --time=$SLURM_TIME
493495
494496
#SBATCH --array=1-$(cat $joblist | wc -l)

bin/qtl-reheat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ source $(dirname $0)/../libexec/environ.sh
66
# constants ############################################################
77
# slurm settings
88
SLURM_MEMORY=2000 # must be more than max heap size `java` calls
9+
SLURM_DISK=32M
910
SLURM_TIME=12:00:00
1011
SLURM_LOG=/farm_out/%u/%x-%A_%a
1112
# reheating methods: name -> description
@@ -189,6 +190,7 @@ cat > $slurmScript << EOF
189190
#SBATCH --partition=production
190191
#SBATCH --account=clas12
191192
#SBATCH --mem-per-cpu=$SLURM_MEMORY
193+
#SBATCH --gres=disk:$SLURM_DISK
192194
#SBATCH --time=$SLURM_TIME
193195
#SBATCH --array=1-$(cat $jobList | wc -l)
194196
#SBATCH --ntasks=1

0 commit comments

Comments
 (0)