# Compilation with double and simple precision simultaneously

**URL:** <https://gromacs.bioexcel.eu/t/compilation-with-double-and-simple-precision-simultaneously/9290>\
**Category:** User discussions\
**Created:** [June 3, 2024, 6:36pm UTC](https://gromacs.bioexcel.eu/t/compilation-with-double-and-simple-precision-simultaneously/9290 "2024-06-03T18:36:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pamellac](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pamellac](https://gromacs.bioexcel.eu/u/pamellac)\
**Post date:** [June 3, 2024, 6:36pm UTC](https://gromacs.bioexcel.eu/t/compilation-with-double-and-simple-precision-simultaneously/9290/1 "2024-06-03T18:36:03Z")

</div>

GROMACS version: 2023  
GROMACS modification: No  
Here post your question

I use plumed 2.9 compiled with gromacs 2023 and CUDA. But now I have a system that I need to use double precision. In the build directory I use cmake with -DGMX\_GPU=off -DGMX\_DOUBLE=ON but it’s not allowing add double precision. Do I need to install gromacs all over again?

Thank you
