Dihedral_restraints options is broken for 5.X versions in GROMPP - Redmine #2144
Archive from user: Marcelo Depolo Poleto
Hi,
When applying the dihedral\_restraints option in my topology file, it
yields a grompp fatal error.
Topology insertion (after \[dihedrals\] ):
; Include forcefield parameters
#include "./chalc.ff/forcefield.itp"
[ moleculetype ]
; Name nrexcl
1PE 3
[ atoms ]
...
[ bonds ]
...
[ dihedral_restraints ]
; ai aj ak al phi dphi kfac
5 1 2 3 90 0 1
Error:
Fatal error:
Incorrect number of parameters - found 2, expected 3 or 6 for Dih. Rest..
I have also tried the insertion with 6 parameters, but grompp just finds
5.
*(from redmine: issue id 2144, created on 2017-03-20 by gmxdefault, closed on 2017-12-12)*
* Changesets:
* Revision fb11d6cb7892a20e1e324efc4ea12cc43e73fa95 by Mark Abraham on 2017-03-29T13:47:01Z:
```
Fix parameter description for dihedral_restraints
The force-constant parameter for dihedral_restraints was not
documented in the table of interaction types.
Refs #2144
Change-Id: Iac28e88e966f1c2b7a8fe533e97abe94173470eb
```
* Revision 73f577586cf673919a69e48c919cb389d4fb0fe9 by Mark Abraham on 2017-12-12T18:31:12Z:
```
Improve grompp missing-parameters error message
If an interaction entry had parameters but not the function type, then
the error message has been confusing. Note that even when only one
function type is implemented, the field is still required, which makes
for ready extensibility.
Refs #2144
Change-Id: I356e14541d4aaffad054d5ecfb8a9e3cb04cd25f
```
issue