.asParagraph()
.appendTextFormatted(
"This run will default to '-update gpu' as requested by the "
- "GMX_FORCE_UPDATE_DEFAULT_GPU environment variable.");
+ "GMX_FORCE_UPDATE_DEFAULT_GPU environment variable. GPU update with domain "
+ "decomposition lacks substantial testing and should be used with caution.");
}
if (devFlags.enableGpuHaloExchange)
std::string errorMessage;
- if (isDomainDecomposition && hasAnyConstraints && !useUpdateGroups)
+ if (isDomainDecomposition)
{
- errorMessage +=
- "Domain decomposition is only supported with constraints when update groups are "
- "used. This means constraining all bonds is not supported, except for small "
- "molecules, and box sizes close to half the pair-list cutoff are not supported.\n ";
+ if (!forceGpuUpdateDefaultWithDD)
+ {
+ errorMessage += "Domain decomposition is not supported.\n ";
+ }
+ else if (hasAnyConstraints && !useUpdateGroups)
+ {
+ errorMessage +=
+ "Domain decomposition is only supported with constraints when update groups "
+ "are used. This means constraining all bonds is not supported, except for "
+ "small molecules, and box sizes close to half the pair-list cutoff are not "
+ "supported.\n ";
+ }
}
if (inputrec.eConstrAlg == econtSHAKE && hasAnyConstraints && gmx_mtop_ftype_count(mtop, F_CONSTR) > 0)
{