Merge pull request #3556 from joakim-hove/flow-main-catch

Call MPI_Abort() in main catch all clause
This commit is contained in:
Joakim Hove 2021-09-29 15:11:46 +02:00 committed by GitHub
commit d0c9f70839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}