[bugfix] Fix sequential run after #979

Definition of the communicator was moved inside a
`#if HAVE_MPI` there. This commit queries the
communicator again below to fix this.
This commit is contained in:
Markus Blatt 2021-09-02 13:09:32 +02:00
parent edd6c6fe85
commit 598e9fa102

View File

@ -352,7 +352,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
errorGuard->clear();
}
parseSuccess = comm.min(parseSuccess);
parseSuccess = Dune::MPIHelper::getCollectiveCommunication().min(parseSuccess);
if (!parseSuccess)
{