From 633352df4f36682e4884333ef723aba443be341f Mon Sep 17 00:00:00 2001 From: Matthew Carbone Date: Wed, 17 Jan 2024 15:45:06 +0100 Subject: [PATCH] Update run.md --- docs/run.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/run.md b/docs/run.md index 8f028cd..acfbd21 100644 --- a/docs/run.md +++ b/docs/run.md @@ -20,10 +20,10 @@ Here is an example SLURM script if you're running hdspin on a high-performance c ```bash #!/bin/bash -#SBATCH --account= -#SBATCH --partition= +#SBATCH --account= +#SBATCH --partition= #SBATCH --nodes=1 -#SBATCH --ntasks= +#SBATCH --ntasks= #SBATCH --cpus-per-task=1 #SBATCH --time=12:00:00 #SBATCH --job-name=hdsspin @@ -31,11 +31,12 @@ Here is an example SLURM script if you're running hdspin on a high-performance c module load gcc/13.2.0 module load openmpi export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK -srun -n 48 /path/to/build/hdspin -N 64 -l EREM -b 4.000 -t 7 -n 500 -d auto --seed=123 +srun -n $SLURM_NTASKS /path/to/build/hdspin -N 64 -l EREM -b 4.000 -t 7 -n 500 -d auto --seed=123 exit ``` +The above submits `` total tasks on one node, with one CPU allocated per task. # Post-processing