Re: [AMBER-Developers] cuda serial compiling error

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

Hi, Ruxi

After changing 100803 to 100802 in
AmberTools/src/cusplibrary-cuda9/cusp/system/cuda/arch.h,
the problem is fixed and successfully compiled in CUDA 7.5,

Thanks
Feng

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

> Hi Feng,
>
> I think I fixed the compilation with CUDA 7.5. But now I am having issue
> installing CUDA 7.5 on my machine, will test and make a final fix after
> I get this through.
>
> Best,
>
> Ruxi
>
>
> On 3/11/18 16:38, Feng Pan wrote:
> > 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
> >>
> >
> >
>
>
> _______________________________________________
> 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 - 19:30:02 PDT
Custom Search