Re: [AMBER] Unable to compile with CUDA

From: David A Case via AMBER <amber.ambermd.org>
Date: Fri, 1 Mar 2024 18:42:45 -0700

On Fri, Mar 01, 2024, Weatherby,Gerard via AMBER wrote:
>
>We are trying to compile against NVIDIA’s CUDA 11.5 library and getting
>the following error message:
>
>[ 69%] Building C object AmberTools/src/fftw-3.3/mpi/CMakeFiles/fftw_mpi.dir/dft-solve.c.o
>/usr/bin/ld: CMakeFiles/mdgx.cuda.dir/mdgx.cuda_generated_ArraySimulator.cu.o: in function `GetGpuSpecs':
>tmpxft_0009c9a2_00000000-6_ArraySimulator.compute_80.cudafe1.cpp:(.text+0x17d): undefined reference to `nvmlDeviceGetComputeRunningProcesses_v2'
>collect2: error: ld returned 1 exit status

Try adding -DDISABLE_TOOLS="mdgx" to your run_cmake script. That is a
workaround, but very, very few people use mdgx.cuda.

...good luck...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Mar 01 2024 - 18:00:03 PST
Custom Search