From d2d5584295529598e801c5fb8b6bd6ee304f5b2a Mon Sep 17 00:00:00 2001
From: Xin Li <lixin.reco@gmail.com>
Date: Mon, 22 Aug 2022 14:30:59 +0200
Subject: [PATCH] updated README.md

---
 README.md | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 01ac245..bcbf269 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
 
-- 
GitLab