"virtual sites. With these flags, [TT]gmx check[tt] provides a quick check for such problems.[PAR]",
"The program can compare two run input ([REF].tpr[ref])",
"files",
- "when both [TT]-s1[tt] and [TT]-s2[tt] are supplied.",
+ "when both [TT]-s1[tt] and [TT]-s2[tt] are supplied. When comparing",
+ "run input files this way, the default relative tolerance is reduced",
+ "to 0.000001 and the absolute tolerance set to zero to find any differences",
+ "not due to minor compiler optimization differences, although you can",
+ "of course still set any other tolerances through the options."
"Similarly a pair of trajectory files can be compared (using the [TT]-f2[tt]",
"option), or a pair of energy files (using the [TT]-e2[tt] option).[PAR]",
"For free energy simulations the A and B state topology from one",
}
fn2 = nullptr;
}
+
+ fprintf(stderr, "Note: When comparing run input files, default tolerances are reduced.\n");
+ if (!opt2parg_bSet("-tol", asize(pa), pa))
+ {
+ ftol = 0.000001;
+ }
+ if (!opt2parg_bSet("-abstol", asize(pa), pa))
+ {
+ abstol = 0;
+ }
comp_tpx(fn1, fn2, bRMSD, ftol, abstol);
}
else if (fn1 && tex)