# MM-GBSA and MM-PBSA for Gromacs 2020

**URL:** <https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393>\
**Category:** User discussions\
**Created:** [June 29, 2020, 3:02am UTC](https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393 "2020-06-29T03:02:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surya](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@Surya](https://gromacs.bioexcel.eu/u/Surya)\
**Post date:** [June 29, 2020, 3:02am UTC](https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393/1 "2020-06-29T03:02:09Z")

</div>

GROMACS version: 2020.1  
GROMACS modification: No

Hello all,

I am performing a protein-ligand simulation, and I would like to use MM-GBSA or MM-PBSA to perform free energy calculations. I know that there is the g\_mmpbsa ([https://rashmikumari.github.io/g\_mmpbsa/](https://rashmikumari.github.io/g_mmpbsa/)) package available on GitHub, but it’s apparently incompatible with files in Gromacs-2020 (when I tried to use it, it gave me a clear error stating that I was trying to input files from version 113 [I think?] into a program whose version is 109).

Does anyone know of any alternative way of running MM-GBSA or MM-PBSA calculations on MD output files from Gromacs version 2020.1?

If there is no such way to do that, does anyone know of any other way to calculate free energy after the simulation is finished? (I have already finished my simulations, and I am hoping to not have to run them again.)

Thank you so much for your help,  
Surya

---

<div class="post-metadata">

**Author:** ![slovas](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@slovas](https://gromacs.bioexcel.eu/u/slovas)\
**Post date:** [June 29, 2020, 4:09pm UTC](https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393/2 "2020-06-29T16:09:14Z")

</div>

Using the GMXPBSA scripts ([https://github.com/aspitaleri/gmxpbsa](https://github.com/aspitaleri/gmxpbsa)) can be a good alternative.

Sandor

---

<div class="post-metadata">

**Author:** ![biotech70](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@biotech70](https://gromacs.bioexcel.eu/u/biotech70)\
**Post date:** [December 26, 2020, 12:18pm UTC](https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393/3 "2020-12-26T12:18:51Z")

</div>

i install version of 2.1.2 GMXMMPBSA in Ubuntu 2020.4 and create INPUT.dat but get this error.  
The Folder = that you indicated in the INPUT.dat file does not exist.  
Exiting…  
[INPUT.dat](https://gromacs.bioexcel.eu/uploads/short-url/gjIwPU7HnG8zCfKzrSlyztSa6fZ.dat) (982 Bytes)

---

<div class="post-metadata">

**Author:** ![tan2](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@tan2](https://gromacs.bioexcel.eu/u/tan2)\
**Post date:** [May 26, 2023, 5:57am UTC](https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393/4 "2023-05-26T05:57:04Z")

</div>

Can you please tell how did you rectify this error as I’m facing this same issue. Kindly help.

---

<div class="post-metadata">

**Author:** ![TanHD](https://avatars.discourse-cdn.com/v4/letter/t/ec9cab/32.png) [@TanHD](https://gromacs.bioexcel.eu/u/TanHD)\
**Post date:** [July 2, 2023, 9:52am UTC](https://gromacs.bioexcel.eu/t/mm-gbsa-and-mm-pbsa-for-gromacs-2020/393/5 "2023-07-02T09:52:55Z")

</div>

After playing around with the scripts, I realized that it was an issue concerning the format/syntax of the INPUT.dat. You can refer to [GitHub - aspitaleri/gmxpbsa\_demo: Demo file to test the gmxpbsa installation](https://github.com/aspitaleri/gmxpbsa_demo) for the examples of how INPUT.dat should be written.
