From e7303f1d020e2aa48d1e9022155aed20070eaf0c Mon Sep 17 00:00:00 2001
From: Antoine Cyril David Hoffmann <ahoffman@spcpc606.epfl.ch>
Date: Mon, 14 Dec 2020 09:33:14 +0100
Subject: [PATCH] write the number of process in output file

---
 src/diagnose.F90 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/diagnose.F90 b/src/diagnose.F90
index 073bd3c2..a28d4105 100644
--- a/src/diagnose.F90
+++ b/src/diagnose.F90
@@ -184,6 +184,7 @@ SUBROUTINE diagnose(kstep)
      CALL attach(fidres, TRIM(str),        "tmax",     tmax)
      CALL attach(fidres, TRIM(str),        "nrun",     nrun)
      CALL attach(fidres, TRIM(str),    "cpu_time",       -1)
+     CALL attach(fidres, TRIM(str),       "Nproc",num_procs)
 
      CALL grid_outputinputs(fidres, str)
 
-- 
GitLab