synchronize exception based and non-exception based code paths

This commit is contained in:
Axel Kohlmeyer 2020-07-08 10:18:01 -04:00
parent e6a8f3c8c0
commit ed452c3624
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ int main(int argc, char **argv)
} catch(LAMMPSAbortException &ae) {
MPI_Abort(ae.universe, 1);
} catch(LAMMPSException &e) {
MPI_Barrier(MPI_COMM_WORLD);
MPI_Finalize();
exit(1);
}