[AMBER] Error: Incompatible CUDA and GNU versions 9.4.0

From: Maryam Foroozmehr via AMBER <amber.ambermd.org>
Date: Sun, 1 Oct 2023 18:05:04 -0700

Hi Amber community,

I ran into the following issue
Error: Incompatible CUDA and GNU versions 9.4.0
since my CUDA version is 10.1 detected
and I followed the instructions given in
https://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version
,
however, I still keep getting the same error message.

In the ./run_cmake, I set
-DCUDA=TRUE
and also set
DCUDA_TOOLKIT_ROOT_DIR=/usr/lib/nvidia-cuda-toolkit,
basically, the path where my CUDA is installed.
With gcc --version I get
gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0

I installed GCC version 7 and create symbolic link using
sudo ln -s /usr/bin/gcc-7 /usr/lib/nvidia-cuda-toolkit/bin/gcc

I also tried with version 8 but nothing has changed.

Do you have any ideas?

Thanks,
Mary
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Oct 01 2023 - 18:30:02 PDT
Custom Search