mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only extract parser message on process 0
This commit is contained in:
parent
4c0b21d2f8
commit
2a6494cfcd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user