Leap-frog Nose-Hoover fails the physical-validation ensemble check at the default nsttcouple
Summary
With integrator = md and tcoupl = nose-hoover, the default nsttcouple = -1 resolves to 25 for tau-t = 1 ps and dt = 2 fs. That is the coarsest interval c_minimumStepsPerPeriodNoseHoover = 20 allows, which became reachable when baf0d16d (GROMACS 2023) raised c_defaultNstTCouple from 10 to 100. At that interval, a water system fails the physical-validation ensemble check on every run. With nsttcouple = 1 it passes.
GROMACS version
main at dd6303bdf6 (2027.0-dev, built on a branch that only touches the GPU update path), single precision, -ntmpi 1 -ntomp 8 -nb gpu -pme gpu -update cpu.
Steps to reproduce
Copy tests/physicalvalidation/systems/ens_water_md_settle_pme_vr (900 TIP3P waters, SETTLE, PME, 500,000 steps at 2 fs) and change two mdp lines: tcoupl = nose-hoover and tau-t = 1.0 (up from 0.1, which is too short for Nose-Hoover). Leave nsttcouple unset. Run the same checks as the v-rescale system: ensemble -t 4 --dtemp 9 and kin_mb -t 0.01. For comparison, set nsttcouple = 1 or 10.
What is the current bug behavior?
nsttcouple |
Runs | Ensemble check passes | Quantiles off | Fitted dT (true 9.0 K) | Maxwell-Boltzmann passes |
|---|---|---|---|---|---|
| 1 | 3 | 3/3 | 0.32, 0.39, 1.67 | 8.8 to 10.1 K | 3/3 (p = 0.32 to 0.45) |
| 10 | 3 | 2/3 | 2.64, 2.84, 4.97 | 6.9 to 7.7 K | 3/3 (p = 0.28 to 0.54) |
| 25 (default) | 4 | 0/4 | 7.52, 9.42, 10.67, 13.01 | 5.0 to 6.1 K | 2/4 (p = 0.00046 to 0.033) |
What did you expect the correct behavior to be?
The default settings should pass, as they do for the v-rescale system.
Possible fixes
Should c_minimumStepsPerPeriodNoseHoover be raised for leap-frog, or should Nose-Hoover get a lower nsttcouple cap?