From b928cdc1ed9217ce39a1f96a949048d726d279e7 Mon Sep 17 00:00:00 2001
From: "tor@totoro" <tor.kjellsson@gmail.com>
Date: Tue, 24 Aug 2021 01:55:05 +0200
Subject: [PATCH] Added specific modules to load

Changed srun --> mpirun (as it should be on Tegner).
---
 README.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index bac482f..8dc7cfe 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,8 @@ To use the Tegner compute nodes you have to submit [SLURM batch jobs](https://ww
 The following shell commands show a simple example on how to compile an MPI program using Fortran, C or C++:
 
 ```
-module load openmpi
+module load gcc/8.2.0
+module load openmpi/4.0-gcc-8.2
 mpif90 my_prog.f90
 mpicc my_prog.c
 mpicxx my_prog.cc
@@ -52,10 +53,10 @@ salloc -A <allocation-name> -N 1 -t 1:0:0
 
 You might also need to specify a reservation by adding the flag `--reservation=<name-of-reservation>`.
 
-Then the srun command is used to launch an MPI application:
+Then the mpirun command is used to launch an MPI application:
 
 ```
-srun -n 24 ./example.x
+mpirun -n 24 ./example.x
 ```
 
 In this example we will start 24 MPI tasks (there are 24 cores per node on the Tegner Thin nodes).
-- 
GitLab