# GROMACS with PLUMED error

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-with-plumed-error/11542>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [February 13, 2025, 1:37pm UTC](https://gromacs.bioexcel.eu/t/gromacs-with-plumed-error/11542 "2025-02-13T13:37:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Dempsey](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@Dempsey](https://gromacs.bioexcel.eu/u/Dempsey)\
**Post date:** [February 13, 2025, 1:37pm UTC](https://gromacs.bioexcel.eu/t/gromacs-with-plumed-error/11542/1 "2025-02-13T13:37:40Z")

</div>

GROMACS version: 2025.0  
GROMACS modification: No

My cmake configuration code is

```auto
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/software/gromacs-2025.0 -DCMAKE_PREFIX_PATH=/opt/tool/fftw-3.3.10 -DGMX_USE_PLUMED=ON -DGMX_TORCH=TORCH

```

then gromacs has been installed…But when I run a simulation with PLUMED:

```auto
gmx mdrun -ntmpi 1 -v -s pmf.tpr -plumed dat

```

I meet a error:

```auto
Program: gmx mdrun, version 2025.0
Source file: src/gromacs/applied_forces/plumed/plumedMDModule_stub.cpp (line 81)
Function: gmx::{anonymous}::PlumedMDModule::subscribeToSimulationSetupNotifications(gmx::MDModulesNotifiers*)::<lambda(const gmx::PlumedInputFilename&)>

Error in user input:
GROMACS is not compiled with the PLUMED interface, if you want to use -plumed
option, please reconfigure GROMACS with -DGMX_USE_PLUMED=ON.

For more information and tips for troubleshooting, please check the GROMACS
website at https://manual.gromacs.org/current/user-guide/run-time-errors.html

```

Can someone help me to use GROMACS with PLUMED?  
Thanks a lot!

Dempsey

---

_[View the full topic](https://gromacs.bioexcel.eu/t/gromacs-with-plumed-error/11542)._
