Changed appending file name error message
authorBerk Hess <hess@kth.se>
Thu, 12 Jun 2014 09:36:30 +0000 (11:36 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 13 Jun 2014 16:01:44 +0000 (18:01 +0200)
The error message now mentiones potential names issues.

Fixes #1497.

Change-Id: I0c0195abd21c5012b49119024505b18a906078be

src/gmxlib/checkpoint.c

index bf0ebb3a0b8b971157315913945be536c52b4759..142c46c8dea408405fb090cce0058303ac6ab88e 100644 (file)
@@ -2539,7 +2539,7 @@ gmx_bool read_checkpoint_simulation_part(const char *filename, int *simulation_p
                     }
                     fprintf(stderr, "\n");
 
-                    gmx_fatal(FARGS, "File appending requested, but only %d of the %d output files are present", nexist, nfiles);
+                    gmx_fatal(FARGS, "File appending requested, but %d of the %d output files are not present or are named differently", nfiles-nexist, nfiles);
                 }
             }