Dear Peter,
Thanks for the useful reply. I really appreciate it.
In order to be sure, I took a sample crd and top file from cp2k sample files. They are called ace_ala_nme.crd and ace_ala_nme.top
All the charges and force field parameters are correct while loaded in cp2k. I checked them carefully.
Then I preformed a single step energy calculation with cp2k, the run_type is ENERGY ... so it doesn't move anything. just compute the energy.
for gromacs, I used the same top and crd file, just convert them with amb2gmx tool to gromacs format. This is very common thing in the community. Then I performed a rerun on the structure. and I compute the energy of that crd file.
As you correctly mentioned I thought that Angle and Torsion energies should match perfectly between gromacs and cp2k. But they dont match.
These are the values in cp2k : ANGLE = 0.3620 (kcal/mol) TORSION = 8.1071 (kcal/mol)
These are the values from gromacs: ANGLE= 0.442935141 (kcal/mol) TORSION=8.11232826 (kcal/mol)
As you see bonded terms don't match perfectly. now lets go to the other terms, in both programs i am using pme:
In gromacs there are short range and long range lennard jones terms and long range and short range coulomb terms, while in cp2k the notation is different. however the total energy of the molecule in two packages differs as the following:
ENERGY cp2k = -0.102733788208951 Hartree = -269.72 (kj/mol)
ENERGY gromacs= -158.67 (kj/mol)
What do you think? this doesn't seem a good sign! I am not doing anything complicated! it is very trivial!
Am i missing something?
Fahimeh