[AMBER-Developers] cuda serial compiling error

From: Feng Pan <fpan3.ncsu.edu>
Date: Sun, 11 Mar 2018 18:27:11 -0400

Hello, everyone

I am doing the test on the first release candidate of Amber18. However, I
met some error when
compiling the cuda serial version, it looks it is in the compiling of cuda
version of PBSA

/usr/local/cuda/bin/nvcc -gencode arch=compute_30,code=sm_30 -gencode
arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode
arch=compute_53,code=sm_53 -use_fast_math -O3 -ccbin g++
-I../cusplibrary-cuda9 -o cuda_cg_wrapper.o -c cuda_cg_wrapper.cu -DCUSP
-DPCG -DJacobi -DDIA
In file included from
../cusplibrary-cuda9/cusp/system/cuda/detail/multiply/coo_spmv_cub.h:54:0,
                 from
../cusplibrary-cuda9/cusp/system/cuda/detail/multiply.h:22,
                 from
../cusplibrary-cuda9/cusp/system/detail/adl/multiply.h:42,
                 from ../cusplibrary-cuda9/cusp/detail/multiply.inl:19,
                 from ../cusplibrary-cuda9/cusp/multiply.h:388,
                 from ../cusplibrary-cuda9/cusp/krylov/detail/cg.inl:19,
                 from ../cusplibrary-cuda9/cusp/krylov/cg.h:150,
                 from cuda_cg_wrapper.cu:667:
../cusplibrary-cuda9/cusp/system/cuda/arch.h:27:44: fatal error:
thrust/system/cuda/detail/arch.h: No such file or directory
 #include <thrust/system/cuda/detail/arch.h>
                                            ^
compilation terminated.

I am using CUDA 7.5, GTX Titan X, gnu 4.8.2 on centos 6.6, anyone has any
idea on this error, should I use a higher version of CUDA?

Best regards
Feng

-- 
Feng Pan
Ph.D.
North Carolina State University
Department of Physics
Email:  fpan3.ncsu.edu
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Sun Mar 11 2018 - 15:30:02 PDT
Custom Search