I have got the following error after executing the grommp command before energy minimization.
Fatal error:
number of coordinates in coordinate file (ribo_solvated_ions.gro, 572158)
does not match topology (topol.top, 571886).
Here I have extra 372 coordinates in .gro file not in .top file.