From 01174c61bab9ddd99d736566bc815b3b74771e48 Mon Sep 17 00:00:00 2001
From: Antoine Cyril David Hoffmann <ahoffman@spcpc606.epfl.ch>
Date: Tue, 8 Dec 2020 17:07:50 +0100
Subject: [PATCH] avoid spamming ad the end of sim if exit normal

---
 src/endrun.F90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/endrun.F90 b/src/endrun.F90
index ce6e739d..4667c04e 100644
--- a/src/endrun.F90
+++ b/src/endrun.F90
@@ -9,7 +9,7 @@ SUBROUTINE endrun
   IF( nlend ) THEN
      !----------------------------------------------------------------------
      !              1.   Normal end of run
-     WRITE(*,'(/a)') '   Normal exit'
+     IF(my_id .EQ. 0) WRITE(*,'(/a)') '   Normal exit'
 
      !----------------------------------------------------------------------
      !              2.   Abnormal exit
-- 
GitLab