# GROMACS 2026.2 duplicate type-9 dihedral errors with CHARMM36-feb2026 and CGenFF 5.0

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-2026-2-duplicate-type-9-dihedral-errors-with-charmm36-feb2026-and-cgenff-5-0/13570>\
**Category:** User discussions\
**Created:** [July 2, 2026, 6:19pm UTC](https://gromacs.bioexcel.eu/t/gromacs-2026-2-duplicate-type-9-dihedral-errors-with-charmm36-feb2026-and-cgenff-5-0/13570 "2026-07-02T18:19:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![myneni](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@myneni](https://gromacs.bioexcel.eu/u/myneni)\
**Post date:** [July 2, 2026, 6:19pm UTC](https://gromacs.bioexcel.eu/t/gromacs-2026-2-duplicate-type-9-dihedral-errors-with-charmm36-feb2026-and-cgenff-5-0/13570/1 "2026-07-02T18:19:30Z")

</div>

Hi everyone,

I am performing a protein–ligand MD simulation using

GROMACS 2026.2  
CHARMM36-feb2026  
CGenFF 5.0

Ligand topology was generated using the latest cgenff\_charmm2gmx.py  
(March 2025 David Moody version).

Command:

python3 cgenff\_charmm2gmx.py DL DL\_fix.mol2 DL.str charmm36-feb2026.ff

The conversion completed successfully.

However, during

gmx grompp

I obtain multiple errors such as

Encountered a second block of parameters for dihedral type 9

Example:

CG321 CG311 CG311 NG3C51

CG331 CG311 CG311 NG311

I verified that these dihedral definitions already exist in

charmm36-feb2026.ff/ffbonded.itp

and are also present in the generated dl.prm.

I also receive

Invalid directive impropertypes

for the impropertypes section in dl.prm.

Questions:

1. Is this a known compatibility issue with GROMACS 2026.2?

2. Is there an updated version of cgenff\_charmm2gmx.py?

3. Should duplicate dihedral blocks be removed from dl.prm, or is another workflow recommended?

This work is for a research publication, so I would like to follow the officially recommended workflow.

Thank you.

[grompp\_output.txt](https://gromacs.bioexcel.eu/uploads/short-url/zFkBdii9nzi7CZSMVmKyCSTb2ng.txt) (9.1 KB)

[topol.top](https://gromacs.bioexcel.eu/uploads/short-url/9dmB551JhxXgLHLrFsJt6nuV5yL.top) (1.4 KB)

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [July 3, 2026, 1:38am UTC](https://gromacs.bioexcel.eu/t/gromacs-2026-2-duplicate-type-9-dihedral-errors-with-charmm36-feb2026-and-cgenff-5-0/13570/2 "2026-07-03T01:38:50Z")

</div>

If the dihedral is already in ffbonded.itp, then it should not be in the ligand .prm file. If it’s there, you used an older version of CGenFF to generate the ligand topology than the current distribution. Any duplicate should be deleted from the .prm file; it has nothing to do with the conversion. You should double-check by regenerating the ligand topology and ensuring that CGenFF 5.0 is being used on the CGenFF server (we are in a transition period, for a time 4.6 and 5.0 were options, but 5.0 should be the default).
