# Which is the suitable version of plumed to integrate or compile with gromacs 2019.6?

**URL:** <https://gromacs.bioexcel.eu/t/which-is-the-suitable-version-of-plumed-to-integrate-or-compile-with-gromacs-2019-6/8102>\
**Category:** User discussions\
**Created:** [January 22, 2024, 6:26am UTC](https://gromacs.bioexcel.eu/t/which-is-the-suitable-version-of-plumed-to-integrate-or-compile-with-gromacs-2019-6/8102 "2024-01-22T06:26:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maha\_Yousaf\_23](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@Maha\_Yousaf\_23](https://gromacs.bioexcel.eu/u/Maha_Yousaf_23)\
**Post date:** [January 22, 2024, 6:26am UTC](https://gromacs.bioexcel.eu/t/which-is-the-suitable-version-of-plumed-to-integrate-or-compile-with-gromacs-2019-6/8102/1 "2024-01-22T06:26:55Z")

</div>

I have **Gromacs 2019.6** version installed in **centos 7 linux**. I have tried to compile plumed version “ **plumed-2.3.0** ” with gromacs.  
The building procedure was successful but whenever i try to perform metadynamic simulations, gromacs doesnot recognize **"- plumed " flag.**

(base) [myousaf23@odae gromacs\_mtd (copy)]$ gmx mdrun -v -deffnm md -nb cpu -plumed cv.dat  
Error in user input:  
Invalid command-line options  
**Unknown command-line option -plumed**

For more information and tips for troubleshooting, please check the GROMACS  
website at [Common Errors — GROMACS webpage https://www.gromacs.org documentation](http://www.gromacs.org/Documentation/Errors)

gmx mdrun -plumed cv.dat -s md.tpr -deffnm step7\_production.mdp  
Error in user input:  
Invalid command-line options  
**Unknown command-line option -plumed**

For more information and tips for troubleshooting, please check the GROMACS  
website at [Common Errors — GROMACS webpage https://www.gromacs.org documentation](http://www.gromacs.org/Documentation/Errors)

some of the details i would like to share:  
which plumed  
~/Downloads/plumed-2.3.0/bin/plumed

to integrate plumed with gromacs 2019.6, i typed following commands in build folder of gromacs 2019.6 source directory.

(base) [myousaf23@odae build]$ cmake … -DGMX\_BUILD\_OWN\_FFTW=OFF -DGMX\_MPI=OFF -DREGRESSIONTEST\_PATH=…/regressiontests-2019.6 -DGMX\_SIMD:STRING=SSE4.1 -DGMX\_EXTERNAL\_PLUMED=ON -DPLUMED\_LIBRARIES=~/Downloads/plumed-2.3.0/lib/libplumed.so -DPLUMED\_INCLUDE\_DIR=~/Downloads/plumed-2.3.0/include  
– Configuring done  
– Generating done  
– Build files have been written to: /home/myousaf23/gromacs-2019.6/build  
make  
sudo make install  
source /usr/local/gromacs/bin/GMXRC

please guide how to run metadynamic simulation under current scenario?

---

<div class="post-metadata">

**Author:** ![hess](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/hess/32/416_2.png) [@hess](https://gromacs.bioexcel.eu/u/hess)\
**Post date:** [January 22, 2024, 8:53am UTC](https://gromacs.bioexcel.eu/t/which-is-the-suitable-version-of-plumed-to-integrate-or-compile-with-gromacs-2019-6/8102/2 "2024-01-22T08:53:09Z")

</div>

This is a question for PLUMED, not the GROMACS forum.

But if you are anyhow recompiling GROMACS it would be better to use the newest version of GROMACS that is compatible with PLUMED.

---

<div class="post-metadata">

**Author:** ![Maha\_Yousaf\_23](https://avatars.discourse-cdn.com/v4/letter/m/65b543/32.png) [@Maha\_Yousaf\_23](https://gromacs.bioexcel.eu/u/Maha_Yousaf_23)\
**Post date:** [January 22, 2024, 10:20am UTC](https://gromacs.bioexcel.eu/t/which-is-the-suitable-version-of-plumed-to-integrate-or-compile-with-gromacs-2019-6/8102/3 "2024-01-22T10:20:20Z")

</div>

Thank you sir , for your quick response. I have just compiled 2019.6 version of gromacs with 2.8.3 version of PLUMED? But the issue is still the same. It’s not recognising the plumed flag. Please guide.

---

<div class="post-metadata">

**Author:** ![hess](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/hess/32/416_2.png) [@hess](https://gromacs.bioexcel.eu/u/hess)\
**Post date:** [January 22, 2024, 11:10am UTC](https://gromacs.bioexcel.eu/t/which-is-the-suitable-version-of-plumed-to-integrate-or-compile-with-gromacs-2019-6/8102/4 "2024-01-22T11:10:23Z")

</div>

Did you read my replies? You need to ask this on Plumed mailing list.

And again, I suggest to use the newest versions of GROMACS and Plumed that are compatible.
