mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[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:
parent
edd6c6fe85
commit
598e9fa102
@ -352,7 +352,7 @@ void readDeck(int rank, std::string& deckFilename, std::unique_ptr<Opm::Deck>& d
|
|||||||
errorGuard->clear();
|
errorGuard->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
parseSuccess = comm.min(parseSuccess);
|
parseSuccess = Dune::MPIHelper::getCollectiveCommunication().min(parseSuccess);
|
||||||
|
|
||||||
if (!parseSuccess)
|
if (!parseSuccess)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user