# Hydrogen mass repartitioning + multiple time step

**URL:** <https://gromacs.bioexcel.eu/t/hydrogen-mass-repartitioning-multiple-time-step/13246>\
**Category:** User discussions\
**Tags:** mdp-parameters\
**Created:** [February 25, 2026, 8:31am UTC](https://gromacs.bioexcel.eu/t/hydrogen-mass-repartitioning-multiple-time-step/13246 "2026-02-25T08:31:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncheron](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@ncheron](https://gromacs.bioexcel.eu/u/ncheron)\
**Post date:** [February 25, 2026, 8:31am UTC](https://gromacs.bioexcel.eu/t/hydrogen-mass-repartitioning-multiple-time-step/13246/1 "2026-02-25T08:31:26Z")

</div>

GROMACS version: 2024 or higher  
GROMACS modification: No

Hi,

I am a little bit confused by the recommandations provided here: [Getting good performance from mdrun - GROMACS 2026.0 documentation](https://manual.gromacs.org/current/user-guide/mdrun-performance.html#run-setup) . If I set `mass-repartition-factor=3`, I can increase dt to 4fs with `constraints=h-bonds`. If, simultaneously, I set `mts=yes` with default parameters, it means that the electrostatic forces will be computed every 8fs. Is it what is recommanded? Do you have the reference for an article showing that this is stable?

Also, can you please clarify `When running on CPUs only or with GPUs but integration on the CPU`? Which mdrun flag should be used (or not used) to have integration on the CPU?

Thanks for the help,

Nicolas

---

<div class="post-metadata">

**Author:** ![lmullender](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@lmullender](https://gromacs.bioexcel.eu/u/lmullender)\
**Post date:** [February 27, 2026, 10:39am UTC](https://gromacs.bioexcel.eu/t/hydrogen-mass-repartitioning-multiple-time-step/13246/2 "2026-02-27T10:39:22Z")

</div>

Hi! I’m not familiar with combining HMR and MTS, and I’m also not aware of any systematic study of the effects of the two in conjunction. [This paper](https://pubs.acs.org/doi/10.1021/ct5010406) has a nice discussion of HMR by itself. Note that the integration error of the integrator depends (quadratically) on the time step, so that by itself is a limiting factor. Given that, I don’t think that the GROMACS manual necessarily _recommends_ using the two algorithms together like that (or even in isolation), but I think it should be possible. You would always need to assess stability of the simulation and the energy drift for your specific system.

To perform integration on the CPU, you should pass the `-update cpu` flag to mdrun. To do _everything_ on the CPU, it should be enough to specify `-update cpu -nb cpu`, but check your log file.

---

<div class="post-metadata">

**Author:** ![ncheron](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@ncheron](https://gromacs.bioexcel.eu/u/ncheron)\
**Post date:** [March 7, 2026, 11:58am UTC](https://gromacs.bioexcel.eu/t/hydrogen-mass-repartitioning-multiple-time-step/13246/3 "2026-03-07T11:58:45Z")

</div>

Ok, thanks for the comment.
