forked from lijiext/lammps
synchronize exception based and non-exception based code paths
This commit is contained in:
parent
e6a8f3c8c0
commit
ed452c3624
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue