diff --git a/README.md b/README.md index 01ac2454eba9da23963447503333d88a284dcff7..bcbf269701083feb79856de8bedc5cf55d91ff3e 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,7 @@ To use the Dardel compute nodes you have to use the resource manager as describe The following shell commands show a simple example on how to compile an MPI program using the GNU compilers: ``` -ml PDC -ml cpe/21.11 +ml PDC/21.11 ml PrgEnv-gnu cc my_prog.c CC my_prog.cpp @@ -42,7 +41,7 @@ ftn my_prog.f90 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 --ntasks=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>`. @@ -51,10 +50,10 @@ For the 2022 PDC Summer School the reservation name is ``summer-<date>``, where Then the mpirun command is used to launch an MPI application: ``` -mpirun -n 128 ./example.x +srun -n 16 ./example.x ``` -In this example we will start 128 MPI tasks (there are 128 cores per node on all Dardel compute nodes). +In this example we will start 16 MPI tasks. ## MPI Exercises