GROMACS 2020.6 release notes
----------------------------
-This version was released on TODO, 2021. These release notes
+This version was released on March 4th, 2021. These release notes
document the changes that have taken place in GROMACS since the
previous 2020.5 version, to fix known issues.
Fixes where mdrun could behave incorrectly
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Cosine acceleration failed to abort if it could not be run
+""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+Cosine acceleration is only compatible with the leap-frog
+integrator (:mdp:`integrator = md`). |Gromacs| did, however,
+accept input files requesting cosine acceleration for other
+integration algorithms, and did report viscosity-related
+quantities from these simulations. Since the cosine acceleration
+was never applied in these cases, any results obtained from
+simulations with enabled cosine acceleration and integrators
+other than ``md`` should be regarded as invalid.
+
+:issue:`3903`
+
Fixes for ``gmx`` tools
^^^^^^^^^^^^^^^^^^^^^^^
+Fix range checking bug in ``gmx covar``
+"""""""""""""""""""""""""""""""""""""""
+
+A check was inverted causing range checking to be applied wrong.
+
+:issue:`3902`
+
Fixes that affect portability
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
{
gmx_fatal(FARGS, "AdResS simulations are no longer supported");
}
+
+ // cosine acceleration is only supported in leap-frog
+ if (ir->cos_accel != 0.0 && ir->eI != eiMD)
+ {
+ warning_error(wi, "cos-acceleration is only supported by integrator = md");
+ }
}
/* interpret a number of doubles from a string and put them in an array,
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011-2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2011-2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
gmx_enerdata_t enerd(mtop.groups.groups[SimulationAtomGroupType::EnergyOutput].size(),
inputrec->fepvals->n_lambda);
+ // cos acceleration is only supported by md, but older tpr
+ // files might still combine it with other integrators
+ GMX_RELEASE_ASSERT(inputrec->cos_accel == 0.0 || inputrec->eI == eiMD,
+ "cos_acceleration is only supported by integrator=md");
+
/* Kinetic energy data */
gmx_ekindata_t ekind;
init_ekindata(fplog, &mtop, &(inputrec->opts), &ekind, inputrec->cos_accel);