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

This commit is contained in:
sjplimp
2012-05-30 21:59:21 +00:00
parent 5d8ad63914
commit ab6e6d4ef1
2 changed files with 5 additions and 3 deletions

View File

@ -106,8 +106,9 @@ void Error::one(const char *file, int line, const char *str)
if (screen) fprintf(screen,"ERROR on proc %d: %s (%s:%d)\n",
me,str,file,line);
if (universe->nworlds > 1)
fprintf(universe->uscreen,"ERROR on proc %d: %s (%s:%d)\n",
universe->me,str,file,line);
if (universe->uscreen)
fprintf(universe->uscreen,"ERROR on proc %d: %s (%s:%d)\n",
universe->me,str,file,line);
MPI_Abort(world,1);
}