# No default angle types, no default proper Dih. types

**URL:** <https://gromacs.bioexcel.eu/t/no-default-angle-types-no-default-proper-dih-types/11086>\
**Category:** User discussions\
**Created:** [January 20, 2025, 8:52pm UTC](https://gromacs.bioexcel.eu/t/no-default-angle-types-no-default-proper-dih-types/11086 "2025-01-20T20:52:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonepal](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jasonepal](https://gromacs.bioexcel.eu/u/jasonepal)\
**Post date:** [January 20, 2025, 8:52pm UTC](https://gromacs.bioexcel.eu/t/no-default-angle-types-no-default-proper-dih-types/11086/1 "2025-01-20T20:52:30Z")

</div>

GROMACS version:2021.5

I’m trying to do MD simulations of a polymer which I got a topology for in acpype. When I try to run the command

> gmx grompp -f ions.mdp -c dpga10\_solv.gro -p dpga10n\_GMX\_OPLS2.top -o ions.tpr

I am getting 350+ errors of the form

```auto
ERROR 1 [file dpga10n_GMX_OPLS.itp, line 577]:
  No default Angle types

```

and

```auto
ERROR 20 [file dpga10n_GMX_OPLS.itp, line 814]:
  No default Proper Dih. types

```

Checking my itp file, I found that several lines where there should be an OH had just ‘x’, e.g.:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/bioexcel1/original/2X/7/7e3545ba96fcf7c8b9eed7e5860269ca691fae7e.png)

so I went through the itp file and manually changed these lines to have OH, but the lines which had x’s are still giving the errors shown above. Any help is appreciated, happy to provide any other information.

---

<div class="post-metadata">

**Author:** ![MagnusL](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/magnusl/32/2380_2.png) [@MagnusL](https://gromacs.bioexcel.eu/u/MagnusL)\
**Post date:** [January 22, 2025, 8:14am UTC](https://gromacs.bioexcel.eu/t/no-default-angle-types-no-default-proper-dih-types/11086/2 "2025-01-22T08:14:40Z")

</div>

Everything after the `;` are comments and ignored by GROMACS. What I think ACPYPE is telling you in the comment is that the lines with `x` in the interaction atom types (the last three values in the comment) could not be found in the force field. You will have to generate parameters for these interactions yourself, or possibly set them based on very similar interactions. Keep in mind that it is important that you check that your parameters are correct, regardless of how you generate/assign them.

What force field are you using? It is also possible that another force field contains parameters for these bonded interactions. So, if you can switch force field, it might be worth trying that.

---

<div class="post-metadata">

**Author:** ![alanwilter](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/alanwilter/32/627_2.png) [@alanwilter](https://gromacs.bioexcel.eu/u/alanwilter)\
**Post date:** [January 22, 2025, 8:42am UTC](https://gromacs.bioexcel.eu/t/no-default-angle-types-no-default-proper-dih-types/11086/3 "2025-01-22T08:42:27Z")

</div>

ACPYPE OPLS was “very” experimental and I strongly advise to not use it unless you really know what you’re doing. And yes, ‘x’ is an unknown atom type.

See: [https://github.com/alanwilter/acpype/blob/1386573fc3a3f655ff8c6c21313454c61c4450b9/NOTE.txt#L36](https://github.com/alanwilter/acpype/blob/1386573fc3a3f655ff8c6c21313454c61c4450b9/NOTE.txt#L36) (but I can’t help, consider MKTOP).

You may also check this [https://code.google.com/archive/p/acpype/wikis/TutorialAcpype4GromacsOPLS.wiki](https://code.google.com/archive/p/acpype/wikis/TutorialAcpype4GromacsOPLS.wiki) but it’s quite old and outdated.
