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

From: David A Case via AMBER <amber.ambermd.org>
Date: Wed, 15 Nov 2023 08:37:12 -0700

On Wed, Nov 15, 2023, Info via AMBER wrote:

>-- CUDA version 11.8 detected
>Error: Incompatible CUDA and GNU versions
> 8.5.0

Well, some of the code in CudaConfig.cmake is awful: look at the if
statement starting at line 89. It looks like the intent is that this line
should be true:

OR ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12
             AND CUDA_VERSION VERSION_GREATER_EQUAL 11.4.1
             AND CUDA_VERSION VERSION_LESS_EQUAL 11.8 )

But I'm wondering exactly how cmake works with major and minor version
numbers. Also, at lines 129-130, it looks like there should be two
messages, each starting with a space, but line 130 seems to reference a
blank variable.

Workaround for the original poster is just to comment out the FATAL_ERROR
message on line 134.

....dac


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