Merge branch 'rotation-4-5' into rotation
[alexxy/gromacs.git] / src / kernel / mdrun.c
index 5cc5a964e305243dc0816aaab2527e8959830156..ed6db41ded10ef3fd1efc8b05b102283a7f6655e 100644 (file)
@@ -566,6 +566,11 @@ int main(int argc,char *argv[])
   sim_part_fn = sim_part;
   if (opt2bSet("-cpi",NFILE,fnm))
   {
+      if (bSepPot && bAppendFiles)
+      {
+          gmx_fatal(FARGS,"Output file appending is not supported with -seppot");
+      }
+
       bAppendFiles =
                 read_checkpoint_simulation_part(opt2fn_master("-cpi", NFILE,
                                                               fnm,cr),