# GROMACS 2025.3 + Plumed +GPU + MPI

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-2025-3-plumed-gpu-mpi/12967>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [November 22, 2025, 9:15am UTC](https://gromacs.bioexcel.eu/t/gromacs-2025-3-plumed-gpu-mpi/12967 "2025-11-22T09:15:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Junhao](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/junhao/32/3202_2.png) [@Junhao](https://gromacs.bioexcel.eu/u/Junhao)\
**Post date:** [November 22, 2025, 9:15am UTC](https://gromacs.bioexcel.eu/t/gromacs-2025-3-plumed-gpu-mpi/12967/1 "2025-11-22T09:15:18Z")

</div>

GROMACS version:2025.3  
GROMACS modification: No

When I wanna install GROMACS 2025.3 + Plumed +GPU + MPI, I found some errors:

make[2]: \*\*\* [src/external/googletest/googlemock/CMakeFiles/gmock.dir/build.make:79: src/external/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1  
make[1]: \*\*\* [CMakeFiles/Makefile2:5347: src/external/googletest/googlemock/CMakeFiles/gmock.dir/all] Error 2

It seems that the googletest can not be done? Why and how to solve these?

################## My cmake code:

cmake .. -DCMAKE\_INSTALL\_PREFIX=/public/home/202210191827/GROMACS/GMX202503 -DCMAKE\_PREFIX\_PATH=/public/home/202210191827/GROMACS/FFTW3310 -DCMAKE\_PREFIX\_PATH=/public/home/202210191827/GROMACS/LIBTORCH -DGMX\_USE\_PLUMED=ON -DGMX\_NNPOT=TORCH -DGMX\_MPI=ON -DGMX\_GPU=CUDA -DCMAKE\_CUDA\_ARCHITECTURES=80 -DPython\_EXECUTABLE=$(which python)

---

<div class="post-metadata">

**Author:** ![al42and](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/al42and/32/1393_2.png) [@al42and](https://gromacs.bioexcel.eu/u/al42and)\
**Post date:** [November 24, 2025, 3:08am UTC](https://gromacs.bioexcel.eu/t/gromacs-2025-3-plumed-gpu-mpi/12967/2 "2025-11-24T03:08:15Z")

</div>

Hi,

> [@Junhao](#):
>
> make[2]: \*\*\* [src/external/googletest/googlemock/CMakeFiles/gmock.dir/build.make:79: src/external/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1  
> make[1]: \*\*\* [CMakeFiles/Makefile2:5347: src/external/googletest/googlemock/CMakeFiles/gmock.dir/all] Error 2

The actual error message is somewhere higher up in the output. What you shared only says that _something_ went wrong when building GoogleTest. It could be caused by almost anything, including, e.g., you running out of disk space.

Please share the _full_ error message; preferably, the complete `cmake` log right from the start, since it also prints compiler versions and such.

Also: You are specifying `CMAKE_PREFIX_PATH` twice. That does not work (only the last flag will be used); you need to use [semicolon-separated list](https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html) (with single quotes around to keep the shell happy): `-DCMAKE_PREFIX_PATH='/public/home/202210191827/GROMACS/FFTW3310;/public/home/202210191827/GROMACS/LIBTORCH'`

---

<div class="post-metadata">

**Author:** ![Junhao](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/junhao/32/3202_2.png) [@Junhao](https://gromacs.bioexcel.eu/u/Junhao)\
**Post date:** [November 24, 2025, 4:27am UTC](https://gromacs.bioexcel.eu/t/gromacs-2025-3-plumed-gpu-mpi/12967/3 "2025-11-24T04:27:28Z")

</div>

Thank you very much!

The issues I post previously has been done, and the problem comes from the torch version and the version of some critical system setup.

Now I can install the software I want.

But there are some new issues that when I run GROMACS with Plumed, some core dumped informations show.

I am very sad now…

---- Replied Message ----

> From | [al42and via GROMACS forums](mailto:notifications@bioexcel1.discoursemail.com)[notifications@bioexcel1.discoursemail.com](mailto:notifications@bioexcel1.discoursemail.com) |
> 
> - | - |  
> Date | 11/24/2025 11:18 |  
> To | [jhaodai@163.com](mailto:jhaodai@163.com) |  
> Cc | |  
> Subject | [GROMACS forums] [User discussions] GROMACS 2025.3 + Plumed +GPU + MPI |

> ![](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/al42and/45/1393_2.png "al42and") | [al42and](https://gromacs.bioexcel.eu/u/al42and)  
> November 24 |
> 
> - | - |

Hi,

> ![](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/junhao/48/3202_2.png)Junhao:
> 
> make[2]: \*\*\* [src/external/googletest/googlemock/CMakeFiles/gmock.dir/build.make:79: src/external/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o] Error 1  
> make[1]: \*\*\* [CMakeFiles/Makefile2:5347: src/external/googletest/googlemock/CMakeFiles/gmock.dir/all] Error 2

The actual error message is somewhere higher up in the output. What you shared only says that _something_ went wrong when building GoogleTest. It could be caused by almost anything, including, e.g., you running out of disk space.

Please share the _full_ error message; preferably, the complete `cmake` log right from the start, since it also prints compiler versions and such.

Also: You are specifying `CMAKE_PREFIX_PATH` twice. That does not work (only the last flag will be used); you need to use [semicolon-separated list](https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html) (with single quotes around to keep the shell happy): `-DCMAKE_PREFIX_PATH='/public/home/202210191827/GROMACS/FFTW3310;/public/home/202210191827/GROMACS/LIBTORCH'`
