diff --git a/README.md b/README.md index da5b2dfd81a9fd180f10c594200976f4e05822fc..40481e8ff8d463d1146da62372038a0d52cc4c5c 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: