From db676c5a1ddcf4e6102ac51213641c271332e490 Mon Sep 17 00:00:00 2001 From: Dirk Pleiter <pleiter@kth.se> Date: Sun, 14 Aug 2022 20:32:09 +0200 Subject: [PATCH] Updated Slurm options --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da5b2df..40481e8 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,15 @@ ml PrgEnv-gnu First it is necessary to book a node for interactive use: ``` -salloc -p shared --nodes=1 --cpus-per-task=32 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation> +salloc -p shared --nodes=1 --tasks=1 --cpus-per-task=16 -t 0:30:00 -A edu22.summer --reservation=<name-of-reservation> ``` -You might also need to specify a **reservation** by adding the flag ``--reservation=<name-of-reservation>``. For the 2022 PDC Summer School the reservation name is ``summer-<date>``, where ``date`` is to be provided in the format ``YYYY-MM-DD``, e.g. ``summer-2022-08-16``. An environment variable specifying the number of threads should also be set: ``` -export OMP_NUM_THREADS=16 +export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK ``` Then the ``srun`` command is used to launch an OpenMP application: -- GitLab