synchronize exception based and non-exception based code paths
This commit is contained in:
@ -53,6 +53,7 @@ int main(int argc, char **argv)
|
|||||||
} catch(LAMMPSAbortException &ae) {
|
} catch(LAMMPSAbortException &ae) {
|
||||||
MPI_Abort(ae.universe, 1);
|
MPI_Abort(ae.universe, 1);
|
||||||
} catch(LAMMPSException &e) {
|
} catch(LAMMPSException &e) {
|
||||||
|
MPI_Barrier(MPI_COMM_WORLD);
|
||||||
MPI_Finalize();
|
MPI_Finalize();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user