Only extract parser message on process 0

This commit is contained in:
Markus Blatt 2016-09-15 16:35:45 +02:00
parent 4c0b21d2f8
commit 2a6494cfcd

View File

@ -618,6 +618,9 @@ namespace Opm
// OpmLog singleton.
void extractMessages()
{
if ( !output_cout_ )
return;
auto extractMessage = [](const Message& msg) {
auto log_type = detail::convertMessageType(msg.mtype);
const auto& location = msg.location;