Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / pulling / pull.c
index e048572f82748eecc7192f2f6fb9c295a3b0208b..3ab4fa5d2fbb04cfb34fc20ac41b34e33c2ecaba 100644 (file)
@@ -331,7 +331,7 @@ static void low_get_pull_coord_dr(const t_pull *pull,
     }
     if (max_dist2 >= 0 && dr2 > 0.98*0.98*max_dist2)
     {
-        gmx_fatal(FARGS, "Distance between pull groups %d and %d (%f nm) is larger than 0.49 times the box size (%f)",
+        gmx_fatal(FARGS, "Distance between pull groups %d and %d (%f nm) is larger than 0.49 times the box size (%f).\nYou might want to consider using \"pull-geometry = direction-periodic\" instead.\n",
                   pcrd->group[0], pcrd->group[1], sqrt(dr2), sqrt(max_dist2));
     }