Re: [AMBER-Developers] cuda serial compiling error

From: Feng Pan <fpan3.ncsu.edu>
Date: Sun, 11 Mar 2018 19:38:50 -0400

Hi, Ruxi

Yes, I tried on another machine with CUDA 8.0 and it works.
It will be good if you can fix it with CUDA 7.5. Thanks

Feng

On Sun, Mar 11, 2018 at 6:47 PM, Ruxi Qi <ruxiq.uci.edu> wrote:

> Hi Feng,
>
> I am looking into this. Is it possible for you to try compiling with
> CUDA 8.0 or higher version please?
>
> Thanks,
>
> Ruxi
>
>
> On 03/11/2018 03:27 PM, Feng Pan wrote:
> > 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
> >
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>



-- 
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 - 17:00:03 PDT
Custom Search