Re: [AMBER] [EXTERNAL] Error: Incompatible CUDA and GNU versions

From: Scott Brozell via AMBER <amber.ambermd.org>
Date: Tue, 14 Nov 2023 15:43:07 -0500

Hi,

The .cmake code looks correct, and I cannot reproduce the problem.
Although i do not have gnu 8.5.0, several simlar ones work; see below.
In addition to Mayukh's suggestion, ensure that you start fresh with
subsequent attempts, ie, execute clean_build


cmake version 3.17.2
...
-- The C compiler identification is GNU 8.4.0
...
-- Found CUDA: /usr/local/cuda/11.8.0 (found version "11.8")
-- CUDA version 11.8 detected
-- Configuring for SM3.5, SM5.0, SM5.2, SM5.3, SM6.0, SM6.1, SM7.0, SM7.5 and SM8.0
-- Checking CUDA and GNU versions -- compatible

scott

On Tue, Nov 14, 2023 at 03:49:17PM +0000, Chakrabarti, Mayukh (NIH/NCI) [C] via AMBER wrote:
> Hi, out of curiosity, which version of CMake are you using? I think some older versions of CMake might generate such errors during the configuration process. I have used CMake 3.25+ without issues (at least for the build step).
>
> From: Info via AMBER <amber.ambermd.org>
> Date: Tuesday, November 14, 2023 at 10:40 AM
> Subject: [EXTERNAL] [AMBER] Error: Incompatible CUDA and GNU versions
> I am trying to install Amber 22 on a RedHat 8 system with a Quadro RTX 4000 GPU. When I run the configure script I get the error below. My gcc is 8.5.0 which should be compatible with cuda 11.8 ( supports upto gcc 11 )
>
> (amber) [hussaif1.delltower48 build]$ ./configure_cmake.py --prefix /home/hussaif1/amber/ --compiler gnu --cuda --install-tests --python --with-python $(which python) --no-miniconda --force-internal-libs="blas;lapack;arpack;netcdf" --no-check-updates --no-apply-updates --no-color-message --save
> Starting configure_cmake.py on Tue Nov 14 09:42:44 2023
>
> .... ( snipped )
>
> -- Found CUDA: /usr/local/cuda-11.8 (found version "11.8")
> -- CUDA version 11.8 detected
> -- Configuring for SM3.5, SM5.0, SM5.2, SM5.3, SM6.0, SM6.1, SM7.0, SM7.5 and SM8.0
> --
> ************************************************************
> Error: Incompatible CUDA and GNU versions
> 8.5.0

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Nov 14 2023 - 13:00:02 PST
Custom Search