[gmx-users] nstcomm < nstcalenergy

Justin Lemkul jalemkul at vt.edu
Tue Aug 29 13:30:21 CEST 2017

On 8/29/17 1:47 AM, Simon Kit Sang Chu wrote:
> Dear every user,
> I am using Andersen thermostat and nstcomm should be set to 1 (step).
> However, after specifying nstcomm = 1, an error has returned -
> nstcalenergy cannot be smaller than nstcomm. GROMACS automatically sets it
> to nstcalenergy step.
> I fail to search for "nstcalenergy" in neither mdp nor manual.

It's there, and has been for several years:


If you're using an algorithm that requires global summation of energy 
terms, or otherwise limited by algorithmic requirements as you are here, 
you have to sum the energies at every step.  This slows things down, but 
in some cases (like yours) it's required.



Justin A. Lemkul, Ph.D.
Assistant Professor
Virginia Tech Department of Biochemistry

303 Engel Hall
340 West Campus Dr.
Blacksburg, VA 24061

jalemkul at vt.edu | (540) 231-3129


More information about the gromacs.org_gmx-users mailing list