[AMBER] Amber install CUDA truble

From: ChenXingqiang <xingqiang.chen.icloud.com>
Date: Sat, 11 Apr 2020 23:04:44 +0800

Does anyone meet this trouble?
I use ./configure -cuda gnu

and it is just like this:
/usr/local/cuda-9.2//bin/nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_60,code=sm_70, -gencode arch=compute_61,code=sm_70 -Wno-deprecated-declarations -use_fast_math -O3 -Duse_SPFP -DCUDA -DGTI -I/usr/local/cuda-9.2//include -IB40C --std c++11 -c gti_global.cu
gti_global.cu:7:24: error: redefinition of ‘simulationConst cSim’
 __constant__ simulationConst cSim;
                        ^
simulationConst.h:12:24: error: ‘simulationConst cSim’ previously declared here
 extern __constant__ simulationConst cSim;
                        ^
make[5]: *** [gti_global.o] Error 1
make[5]: Leaving directory `/home/sandip/software/amber18/src/pmemd/src/cuda'
make[4]: *** [cuda_spfp_libs] Error 2
make[4]: Leaving directory `/home/sandip/software/amber18/src/pmemd/src'
make[3]: *** [cuda_SPFP] Error 2
make[3]: Leaving directory `/home/sandip/software/amber18/src/pmemd/src'
make[2]: *** [cuda_serial] Error 2
make[2]: Leaving directory `/home/sandip/software/amber18/src/pmemd'
make[1]: *** [cuda_serial] Error 2
make[1]: Leaving directory `/home/sandip/software/amber18/src'
make: *** [install] Error 2
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sat Apr 11 2020 - 08:30:02 PDT
Custom Search