mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3556 from joakim-hove/flow-main-catch
Call MPI_Abort() in main catch all clause
This commit is contained in:
commit
d0c9f70839
@ -431,7 +431,10 @@ namespace Opm
|
||||
std::cout << message.str() << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
#if HAVE_MPI
|
||||
if (this->mpi_size_ > 1)
|
||||
MPI_Abort(MPI_COMM_WORLD, EXIT_FAILURE);
|
||||
#endif
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user