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

This commit is contained in:
sjplimp 2011-09-23 18:14:14 +00:00
parent 19e8c92a90
commit d296662af6
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ void Error::one(const char *file, int line, const char *str)
{
int me;
MPI_Comm_rank(world,&me);
if (screen) fprintf(screen,"ERROR on proc %d: %s (%s:%d)\n",me,str,file,line);
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);