GROMACS version: reproduced on 2018.8, 2019.6, 2020.1
GROMACS modification: No
Hi all.
We are having a strange issue with one specific system model I’m trying to simulate.
It is composed only by 1,000 cations (individual charges of +0.790566) plus 1,000 anions (individual charges of -0.790566), all verified multiple times already.
In all three versions of gromacs we tested, the gmx grompp complains as:
###########################################
NOTE 1 [file 1000.HMIm.BF4.3.top, line 24]:
System has non-zero total charge: -0.000149
Total charge should normally be an integer. See
http://www.gromacs.org/Documentation/Floating_Point_Arithmetic
for discussion on how close it should be to an integer.
WARNING 1 [file 1000.HMIm.BF4.3.top, line 24]:
You are using Ewald electrostatics in a system with net charge. This can
lead to severe artifacts, such as ions moving into regions with low
dielectric, due to the uniform background charge. We suggest to
neutralize your system with counter ions, possibly in combination with a
physiological salt concentration.
###########################################
Two facts that are extremely odd are that a thousand equivalent molecules with any residual charge error cannot yield a total excess charge of -0.000149, and also that similar models of the same chemical system but with different total charges for cations and anions (including non-integer ones) add properly to zero on gmx grompp.
We also don’t observe any issues with other (smaller) chemical systems being modeled with either integer or non-integer ions total charges.
I just tried to upload the topologies, however it doesn’t allow itp files, and also it complains that I’m a “new user”. I will paste them as a reply just below here.
Thanks a lot for any help!