# Cuda compile installation of gromacs 2019 in Ubuntu 20.04

**URL:** <https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334>\
**Category:** User discussions\
**Created:** [December 25, 2020, 8:54pm UTC](https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334 "2020-12-25T20:54:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![biotech70](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@biotech70](https://gromacs.bioexcel.eu/u/biotech70)\
**Post date:** [December 25, 2020, 8:54pm UTC](https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334/1 "2020-12-25T20:54:35Z")

</div>

GROMACS version:2019  
GROMACS modification: Yes/No  
Here post your question  
Hi. I try to install gromacs version 2019 with cuda 10.0 and gpu compile in ubuntu 20.04. my graphic is 750 gtxi but i get error.

---

<div class="post-metadata">

**Author:** ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)\
**Post date:** [December 29, 2020, 2:46am UTC](https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334/2 "2020-12-29T02:46:27Z")

</div>

There is no way to address a question like this. What error? What was your cmake command? Note that your GPU is probably not supported as it is too old.

---

<div class="post-metadata">

**Author:** ![shelved](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@shelved](https://gromacs.bioexcel.eu/u/shelved)\
**Post date:** [December 29, 2020, 7:07am UTC](https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334/3 "2020-12-29T07:07:04Z")

</div>

GTX750 should be supported. It did work for me with CUDA10.  
The problem probably lies in cuda and gcc version compatibility. CUDA often requires older than default gcc versions.  
So look up the required version and link it manually.

---

<div class="post-metadata">

**Author:** ![rpsingh](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rpsingh](https://gromacs.bioexcel.eu/u/rpsingh)\
**Post date:** [January 2, 2021, 9:00am UTC](https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334/4 "2021-01-02T09:00:28Z")

</div>

The default gcc version is not supported. You ought to use gcc 7. Install it manually and change the default compiler to gcc 7. Also, use the run file instead of Deb file as it is a lot easier.

---

<div class="post-metadata">

**Author:** ![rpsingh](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rpsingh](https://gromacs.bioexcel.eu/u/rpsingh)\
**Post date:** [January 2, 2021, 9:00am UTC](https://gromacs.bioexcel.eu/t/cuda-compile-installation-of-gromacs-2019-in-ubuntu-20-04/1334/5 "2021-01-02T09:00:59Z")

</div>

I meant run file of CUDA.
