Skip to content
Snippets Groups Projects
Commit 982152e0 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Silent perr() for non rank 0 process

parent d9e0f1f2
No related branches found
No related tags found
1 merge request!11Feature/mpi
...@@ -34,6 +34,7 @@ std::string initialize(int& argc, char* argv[]) ...@@ -34,6 +34,7 @@ std::string initialize(int& argc, char* argv[])
}(); }();
if (mpi_rank != 0) { if (mpi_rank != 0) {
pout.setOutput(null_stream); pout.setOutput(null_stream);
perr.setOutput(null_stream);
} }
} }
#endif // PASTIS_HAS_MPI #endif // PASTIS_HAS_MPI
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment