Merge branch 'release-4-5-patches' into rotation-4-5
[alexxy/gromacs.git] / src / kernel / mdrun.c
index fd82a96d2c2470af726aa89e1e809b0232882e2c..6aef0054619e96860e7e581c1aca0910f254cb5b 100644 (file)
@@ -558,6 +558,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),