GROMACS version:2020
GROMACS modification: yes
Here post your question How to fix the error “Incorrect number of parameters - found 1, expected 2 or 4 for Bond (after the function type).”
Dear gromacs users
I am doing a protein-ligand simulation for which I build forcefield for ligand as mentioned in gromacs manual. When I do grompp as follows:-
gmx grompp -f ions.mdp -c 203F-Lbsolv.gro -p topol.top -o ions.tpr -maxwarn 1
I get following error message
ERROR 1 [file topol_LIG_chain_A2.itp, line 205]:
Incorrect number of parameters - found 1, expected 2 or 4 for Bond (after
the function type).
I checked the line 205 of the topol_LIG_chain_A2.top (46.0 KB) above-mentioned file, which is as below:-
[ bonds ]
; ai aj funct c0 c1 c2 c3
1 12 1 1
1 22 1 1
1 26 1 1
1 38 1 1
2 10 1 1
2 21 1 1
2 33 1 1
2 57 1 1
3 11 1 1
How should I solve this error?
Please find the file attached.
Thanks in advance.
Sadaf