Dear LAMMPS users,
I noticed disturbing inconsistencies between the final thermo output and the initial thermo output sharing a binary restart file during volume changes, both minimizing with fix box/relax and MD with fix npt.
The thermo outputs should agree when I minimize, output thermo, write a restart, read the restart and output thermo. When I use fix box/relax, however, PotEng, E_coul, E_long are all different. See log.is (minimize with volume changes), log.check. The same thing happens with ewald as pppm. My system is a protein in water. This probably only appears to happen when fix box/relax is on.
For MD, I ran NVT for 10 steps, wrote a restart file, then run the restart file for 0 steps. The final thermo of the first run precisely matched the initial thermo, as it should. Then I did the same procedure for NPT, where E_coul and E_long were off by the same additive constant (yielding the same PotEng, which is good). But why would E_coul and E_long have different values?
Regards,
Harold Hatch
log.check (2.69 KB)
log.is (7.09 KB)