# Non converging Fmax in energy minimization

**URL:** <https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240>\
**Category:** User discussions\
**Tags:** grompp\
**Created:** [December 2, 2021, 11:42am UTC](https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240 "2021-12-02T11:42:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![heman\_t](https://avatars.discourse-cdn.com/v4/letter/h/13edae/32.png) [@heman\_t](https://gromacs.bioexcel.eu/u/heman_t)\
**Post date:** [December 2, 2021, 11:42am UTC](https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240/1 "2021-12-02T11:42:02Z")

</div>

GROMACS version:2021  
GROMACS modification: Yes/No

Dear GROMACS users,

I am currently trying to simulate a protein-ligand system using the `charmm36-jul2021` force field.

In the energy minimization step, a large number of pdb files are being generated which majorly contain the solvent (water) molecules. I wonder how these files can be used.

Apart from this, the Fmax is not converging. We think that this could be because some atoms are too close and this is leading to large repulsive forces.

Can anyone who has some idea of what might be happening please comment? Thanks.

Regards,  
Hemant

---

<div class="post-metadata">

**Author:** ![Mikel](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Mikel](https://gromacs.bioexcel.eu/u/Mikel)\
**Post date:** [December 3, 2021, 11:11am UTC](https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240/2 "2021-12-03T11:11:35Z")

</div>

Hello there,

That sounds as if the minimization failed. It should not have generated ‘a large number of pdb files’.

Could you post the exact message that you get? Also, may I ask how did you generate your initial protein-ligand structure? It is possible that, as you pointed out, there are atoms so close that it leads to large repulsive forces.

Best regards

---

<div class="post-metadata">

**Author:** ![heman\_t](https://avatars.discourse-cdn.com/v4/letter/h/13edae/32.png) [@heman\_t](https://gromacs.bioexcel.eu/u/heman_t)\
**Post date:** [December 3, 2021, 11:31am UTC](https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240/3 "2021-12-03T11:31:41Z")

</div>

Hey Mikel,

Yes, you’re right. The minimization did fail.  
Towards the end of minimization, it gave the following message:

```auto
Steepest Descents converged to machine precision in 3991 steps,
but did not reach the requested Fmax < 1000.
Potential Energy = 2.6132226e+08
Maximum force = 1.0053847e+05 on atom 9301
Norm of force = 7.0071329e+02

```

The ligand was grafted into an APO protein and then minimized using a software by molsoft (ICM). I checked for clashes or atoms getting too close. Things seemed fine.

---

<div class="post-metadata">

**Author:** ![Mikel](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Mikel](https://gromacs.bioexcel.eu/u/Mikel)\
**Post date:** [December 3, 2021, 11:37am UTC](https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240/4 "2021-12-03T11:37:40Z")

</div>

Interesting. What you are showing is that the EM procedure did not achieve its goal (Fmax \< 1000), but that doesn’t mean necessarily that it failed (i.e. crashed).

Do try some of the fixes that some other users pointed out in [this post](https://gromacs.bioexcel.eu/t/energy-minimization-error/478/4)

You can also try to minimize individually the ligand and the APO protein, only for the sake of checking that their individual geometries are not problematic.

---

<div class="post-metadata">

**Author:** ![lsvannur](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@lsvannur](https://gromacs.bioexcel.eu/u/lsvannur)\
**Post date:** [January 23, 2024, 1:43am UTC](https://gromacs.bioexcel.eu/t/non-converging-fmax-in-energy-minimization/3240/5 "2024-01-23T01:43:41Z")

</div>

How did you solve this particular problem, did you remove atoms or changed the configuration
