Hi,
On Tue, Sep 27, 2022 at 08:42:27PM +0000, Nagar, Hemant via AMBER wrote:
> I am getting the following error message when I am trying to compile cuda version of Amber on a cluster.
>
> /jet/packages/spack/opt/spack/linux-centos8-zen/gcc-8.3.1/cuda-11.1.1-a6ajxenobex5bvpejykhtnfut4arfpwh/include/thrust/system/cuda/config.h:78: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.
> 78 | #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.
> | ^~~~~
> CMake Error at pmemd_cuda_DPFP_generated_kNLRadixSort.cu.o.RELEASE.cmake:217 (message):
> Error generating
> /ocean/projects/phy220025p/shared/Amber/amber22_src/build/src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP.dir//./pmemd_cuda_DPFP_generated_kNLRadixSort.cu.o
>
>
> make[2]: *** [src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP.dir/build.make:100: src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP.dir/pmemd_cuda_DPFP_generated_kNLRadixSort.cu.o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:10797: src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP.dir/all] Error 2
During beta testing this problem was detected on only one of dozens of
platforms:
gcc/8.2.0 nvcc/11.0.194 on CentOS 7.9
We were unable to see any obvious problem in the Amber code.
One possibility that was suggested was that the "CUDA_HOME" environment
variable was not set correctly, but this was not the case for our test
platform. We suggest that you try a different version of CUDA.
Also please report your platform details.
good luck,
scott
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Sep 27 2022 - 14:30:06 PDT