# Problems building gromacs with CUDA

**URL:** <https://gromacs.bioexcel.eu/t/problems-building-gromacs-with-cuda/12008>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [April 29, 2025, 9:36pm UTC](https://gromacs.bioexcel.eu/t/problems-building-gromacs-with-cuda/12008 "2025-04-29T21:36:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenlee](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@kenlee](https://gromacs.bioexcel.eu/u/kenlee)\
**Post date:** [April 29, 2025, 9:36pm UTC](https://gromacs.bioexcel.eu/t/problems-building-gromacs-with-cuda/12008/1 "2025-04-29T21:36:51Z")

</div>

GROMACS version: 2025.1  
GROMACS modification: No  
Hi,  
I’ve been trying to install gromacs on a ubuntu workstation with nvidia gpus. However, I keep encountering the following error messages during the “make” step:  
nvcc fatal : Unsupported gpu architecture ‘compute\_89’  
[50%] Building CUDA object src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/nbnxm\_cuda\_data\_mgmt.cu.o  
make[2]: \*\*\* [src/gromacs/CMakeFiles/libgromacs.dir/build.make:3643: src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/nbnxm\_cuda.cu.o] Error 1  
make[2]: \*\*\* Waiting for unfinished jobs…  
[50%] Building CUDA object src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/nbnxm\_cuda\_kernel\_F\_noprune.cu.o  
nvcc fatal : Unsupported gpu architecture ‘compute\_89’  
make[2]: \*\*\* [src/gromacs/CMakeFiles/libgromacs.dir/build.make:3658: src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/nbnxm\_cuda\_data\_mgmt.cu.o] Error 1  
nvcc fatal : Unsupported gpu architecture ‘compute\_89’  
make[2]: \*\*\* [src/gromacs/CMakeFiles/libgromacs.dir/build.make:3673: src/gromacs/CMakeFiles/libgromacs.dir/nbnxm/cuda/nbnxm\_cuda\_kernel\_F\_noprune.cu.o] Error 1  
make[1]: \*\*\* [CMakeFiles/Makefile2:5633: src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2  
make: \*\*\* [Makefile:166: all] Error 2

cmake checks seemed to run fine. Can anyone help me with this? Many thanks in advance!
