On Thu, Jun 08, 2023, 홍종희 via AMBER wrote:
>I use cuda-11.2 and gcc 8
>
>
>[ 77%] Building NVCC (Device) object AmberTools/src/pbsa/CMakeFiles/pbsa.cuda.dir/pbsa.cuda_generated_cusparse_LinearSolvers.cu.o
>/usr/local/amber22_src/AmberTools/src/pbsa/cusparse_LinearSolvers.cu(82): error: identifier "CUSPARSE_SPMV_ALG_DEFAULT" is undefined
>
>/usr/local/amber22_src/AmberTools/src/pbsa/cusparse_LinearSolvers.cu(236): error: identifier "CUSPARSE_SPMV_ALG_DEFAULT" is undefined
>
>2 errors detected in the compilation of "/usr/local/amber22_src/AmberTools/src/pbsa/cusparse_LinearSolvers.cu".
>CMake Error at pbsa.cuda_generated_cusparse_LinearSolvers.cu.o.RELEASE.cmake:278 (message):
>
I'm cc-ing this to Ray Luo, to see if he can figure it out. It may be
related to the particular version of CUDA you have.
Workaround: add -DDISABLE_TOOLS="pbsa" to your run_cmake script.
(Especially if you don't plan to use the CUDA version of pbsa.)
....good luck....dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 08 2023 - 06:30:02 PDT