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
To: amber.ambermd.org <amber.ambermd.org>
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
https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C01%7Cmayukh.chakrabarti%40nih.gov%7Cf7ab30ce91bd46a9083b08dbe5281784%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638355732578839336%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zGsTtiSsDoy6hjnjZZTCzFxocgJurc%2BguuvVOXyl38k%3D&reserved=0<http://lists.ambermd.org/mailman/listinfo/amber>
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Nov 14 2023 - 08:00:02 PST