diff --git a/opm/simulators/utils/readDeck.cpp b/opm/simulators/utils/readDeck.cpp index 42550d686..3557f42a7 100644 --- a/opm/simulators/utils/readDeck.cpp +++ b/opm/simulators/utils/readDeck.cpp @@ -352,7 +352,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr& d errorGuard->clear(); } - parseSuccess = comm.min(parseSuccess); + parseSuccess = Dune::MPIHelper::getCollectiveCommunication().min(parseSuccess); if (!parseSuccess) {