git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14025 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-09-11 14:49:37 +00:00
parent b1090f8689
commit 9effcca0df
8 changed files with 49 additions and 24 deletions

View File

@ -154,7 +154,7 @@ void Error::message(const char *file, int line, const char *str, int logflag)
no abort, so insure all procs in world call, else will hang
------------------------------------------------------------------------- */
void Error::done()
void Error::done(int status)
{
MPI_Barrier(world);
@ -163,5 +163,5 @@ void Error::done()
if (logfile) fclose(logfile);
MPI_Finalize();
exit(1);
exit(status);
}