[AMBER] amber24 compilation - how to Define THRUST_IGNORE_CUB_VERSION_CHECK

From: Michael Brunsteiner via AMBER <amber.ambermd.org>
Date: Thu, 18 Jul 2024 15:59:13 +0000 (UTC)

Hi,
I just tried to compile amber24 on Debian, and with CUDA, using:
prompt> cmake $AMBER_PREFIX/amber24_src \-DCMAKE_INSTALL_PREFIX=$AMBER_PREFIX/amber24 -DCOMPILER=GNU \-DMPI=FALSE -DCUDA=TRUE -DINSTALL_TESTS=TRUE \-DDOWNLOAD_MINICONDA=TRUE
prompt> make install

what I get is:/usr/include/thrust/system/cuda/config.h:79:2: error: #error The version of CUB in your include path is not compatible with this release of Thrust. CUB is now included in the CUDA Toolkit, so you no longer need to use your own checkout of CUB. Define THRUST_IGNORE_CUB_VERSION_CHECK to ignore this.

Does anybody know how to do this (Define  THRUST_IGNORE_CUB_VERSION_CHECK) ?

This error has been seen before
http://archive.ambermd.org/202209/0109.htmlmy CUDA_HOME is set correctly
and herehttp://archive.ambermd.org/202302/0120.html a solution is suggested, which does not work for mesince there is no CMakelists anywhere in my AMBER_PREFIX

my specs:Debian 12
gcc (Debian 11.3.0-12) 11.3.0nvcc --version
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

Thank you!

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jul 18 2024 - 09:30:02 PDT
Custom Search