# Installing gromacs2024+plumed2.9 on apple silicon with GPU support

**URL:** <https://gromacs.bioexcel.eu/t/installing-gromacs2024-plumed2-9-on-apple-silicon-with-gpu-support/8918>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [April 18, 2024, 3:30pm UTC](https://gromacs.bioexcel.eu/t/installing-gromacs2024-plumed2-9-on-apple-silicon-with-gpu-support/8918 "2024-04-18T15:30:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholas9182](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nicholas9182](https://gromacs.bioexcel.eu/u/nicholas9182)\
**Post date:** [April 18, 2024, 3:30pm UTC](https://gromacs.bioexcel.eu/t/installing-gromacs2024-plumed2-9-on-apple-silicon-with-gpu-support/8918/1 "2024-04-18T15:30:13Z")

</div>

GROMACS version: 2024.1  
GROMACS modification: Yes/No

Hello,

I am attempting to install gromacs 2024.1 patched with plumed 2.9 and apple silicon GPU support. It gets very close to finishing, but crashed out 90% into the gromacs make. It crashes out with the following error (amongst others):

/downloads/gromacs-2024.1/src/gromacs/mdrun/md.cpp:308:118: error: use of undeclared identifier ‘ms’  
308 | simulationsShareState = useReplicaExchange || usingEnsembleRestraints || awhUsesMultiSim || (plumedswitch && ms); // PLUMED hack, if we have multiple sim and plumed we usually want them to be in sync

Some details of the installation:

- clang and clang++ are used to compile both plumed and gromacs (installed via home-brew)

plumed is configured using  
./configure --prefix=$MAIN\_INSTALL\_DIR --enable-modules=opes+crystallization+manyrestraints+pytorch

gromacs is configured using  
cmake …/ -DCMAKE\_INSTALL\_PREFIX=$MAIN\_INSTALL\_DIR -DGMX\_GPU=OpenCL

Any ideas would be really welcome. I have the same/similar issues when using gromacs 2023.2 as well as with the dev plumed 2.10 version.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![obZehn](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/obzehn/32/2629_2.png) [@obZehn](https://gromacs.bioexcel.eu/u/obZehn)\
**Post date:** [April 18, 2024, 5:20pm UTC](https://gromacs.bioexcel.eu/t/installing-gromacs2024-plumed2-9-on-apple-silicon-with-gpu-support/8918/2 "2024-04-18T17:20:12Z")

</div>

Does GROMACS compile correctly without patching it with plumed? If so, it is a plumed related problem and you may have more luck and help in the plumed forum!

---

<div class="post-metadata">

**Author:** ![nicholas9182](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nicholas9182](https://gromacs.bioexcel.eu/u/nicholas9182)\
**Post date:** [April 18, 2024, 6:04pm UTC](https://gromacs.bioexcel.eu/t/installing-gromacs2024-plumed2-9-on-apple-silicon-with-gpu-support/8918/3 "2024-04-18T18:04:32Z")

</div>

Hi obZehn,

Yes it does so probably you are right! Thanks a lot :)
