mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 17:02:02 -05:00
Only extract parser message on process 0
This commit is contained in:
1 parent
4c0b21d2f8
commit
2a6494cfcd
1 file changed
+3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user