# Error in the coordinate file sol.gro and topol.gro

**URL:** <https://gromacs.bioexcel.eu/t/error-in-the-coordinate-file-sol-gro-and-topol-gro/10300>\
**Category:** User discussions\
**Tags:** pdb2gmx, forcefield, mdp-parameters, mdrun, simulation-setup\
**Created:** [October 8, 2024, 1:01pm UTC](https://gromacs.bioexcel.eu/t/error-in-the-coordinate-file-sol-gro-and-topol-gro/10300 "2024-10-08T13:01:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sakho](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Sakho](https://gromacs.bioexcel.eu/u/Sakho)\
**Post date:** [October 8, 2024, 1:01pm UTC](https://gromacs.bioexcel.eu/t/error-in-the-coordinate-file-sol-gro-and-topol-gro/10300/1 "2024-10-08T13:01:48Z")

</div>

Hello, i’m facing this issue

```auto
Program: gmx grompp, version 2024.2
Source file: src/gromacs/gmxpreprocess/grompp.cpp (line 706)

Fatal error:
The number of coordinates in the coordinate file (solv.gro, 1,136,228)
does not match the topology (topol.top, 1,136,229)

```

In the topology file, it indicates SOL = 377,542.

I checked the solv.gro file, which starts with 2SOL and ends with 77,543SOL. When I subtract 77,541, I replace it in the topology file, but the process still doesn’t work, and I get the same error. Am I missing something here? Here i provide the file in text format WITHOUT ANY MODIFICATIONS.

[File](https://drive.google.com/drive/folders/1s0m9ecwMPnklSsjUo9rFSWXLdunDAOfj?usp=drive_link)

---

<div class="post-metadata">

**Author:** ![Karis](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@Karis](https://gromacs.bioexcel.eu/u/Karis)\
**Post date:** [October 19, 2024, 3:33am UTC](https://gromacs.bioexcel.eu/t/error-in-the-coordinate-file-sol-gro-and-topol-gro/10300/2 "2024-10-19T03:33:56Z")

</div>

Do the number of atoms listed in LIG.itp match what is listed for LIG in the .gro file?

Regarding the number of SOL, everytime the residue number (the # in #SOL) reaches 99999SOL, the next residue reverts back to 0SOL, so the number of SOL molecules should be correct, and there doesn’t seem to be a mismatch between the number of atoms in the protein chain, which leaves the ligand
