warning_error(wi, "Implicit solvent is not (yet) supported with the with Verlet lists.");
}
+ if (EEL_USER(ir->coulombtype))
+ {
+ sprintf(warn_buf, "Coulomb type %s is not supported with the verlet scheme", eel_names[ir->coulombtype]);
+ warning_error(wi, warn_buf);
+ }
+
if (ir->nstlist <= 0)
{
warning_error(wi, "With Verlet lists nstlist should be larger than 0");
{
gmx_fatal(FARGS, "Cut-off scheme %S only supports LJ repulsion power 12", ecutscheme_names[ir->cutoff_scheme]);
}
+ /* Older tpr files can contain Coulomb user tables with the Verlet cutoff-scheme,
+ * while mdrun does not (and never did) support this.
+ */
+ if (EEL_USER(fr->ic->eeltype))
+ {
+ gmx_fatal(FARGS, "Combination of %s and cutoff scheme %s is not supported",
+ eel_names[ir->coulombtype], ecutscheme_names[ir->cutoff_scheme]);
+ }
+
fr->bvdwtab = FALSE;
fr->bcoultab = FALSE;
}
if (!gmx_fexist(filename) || (!(fp = gmx_fio_open(filename, "r")) ))
{
*simulation_part = 0;
- fprintf(stderr, "Warning: No checkpoint file found with -cpi option. Assuming this is a new run.\n\n");
+ /* We have already warned the user that no checkpoint file existed before, don't
+ * need to do it again
+ */
}
else
{
part_suffix, &bAddPart, bDoAppendFiles);
if (sim_part_fn == 0 && MULTIMASTER(cr))
{
- fprintf(stdout, "No previous checkpoint file present, assuming this is a new run.\n");
+ fprintf(stdout, "No previous checkpoint file present with -cpi option, assuming this is a new run.\n");
}
else
{