From 982152e02385dcf91d64b4006d2c135c968ac030 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Mon, 24 Sep 2018 10:11:31 +0200 Subject: [PATCH] Silent perr() for non rank 0 process --- src/utils/PastisUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/PastisUtils.cpp b/src/utils/PastisUtils.cpp index a570a894f..9494c68a7 100644 --- a/src/utils/PastisUtils.cpp +++ b/src/utils/PastisUtils.cpp @@ -34,6 +34,7 @@ std::string initialize(int& argc, char* argv[]) }(); if (mpi_rank != 0) { pout.setOutput(null_stream); + perr.setOutput(null_stream); } } #endif // PASTIS_HAS_MPI -- GitLab