Skip to content
Snippets Groups Projects
Commit db676c5a authored by Dirk Pleiter's avatar Dirk Pleiter
Browse files

Updated Slurm options

parent 680b6688
No related branches found
No related tags found
No related merge requests found
...@@ -39,16 +39,15 @@ ml PrgEnv-gnu ...@@ -39,16 +39,15 @@ ml PrgEnv-gnu
First it is necessary to book a node for interactive use: 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``. 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: 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: Then the ``srun`` command is used to launch an OpenMP application:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment