Commit f4b1b954 authored by Christian Meesters's avatar Christian Meesters
Browse files

fix: now reserving memory for node

parent ba065fe4
......@@ -435,7 +435,7 @@ if [ -z "$SLURM_JOB_ID" ]; then
fi
# safe guards
if [ $nnodes -eq 0 ]; then
nnodes=1
nnodes=1
fi
### ATTENTION - this is special about this module:
......@@ -460,6 +460,7 @@ if [ -z "$SLURM_JOB_ID" ]; then
fi
for sample in ${samples[@]}; do
submit_statement="sbatch -N 1 -n 1 -c $sthreads -t 300 -A $_arg_assoc -p $spartition -o ${sort_out}/${JOBTAG}_%j.out --requeue"
submit_statement="$submit_statement --mem=$smem"
if [ "$cluster" != "mogon1" ]; then
submit_statement="${submit_statement} -C anyarch "
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment