On Thu, Jun 22, 2023, Pablo Galaz-Davison via AMBER wrote:
>
>I am trying to install Amber22 with the CUDA option on, and get this quite noninformative error:
>
>[ 83%] Building NVCC (Device) object AmberTools/src/pbsa/CMakeFiles/pbsa.cuda.dir/pbsa.cuda_generated_cuda_LinearSolvers.cu.o
>/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
> 435 | function(_Functor&& __f)
> | ^
>/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
>/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
> 530 | operator=(_Functor&& __f)
> | ^
>/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
>CMake Error at pbsa.cuda_generated_cuda_LinearSolvers.cu.o.RELEASE.cmake:278 (message):
> Error generating file
> /home/pb3titanx1/Documents/compiled/amber22_src/build/AmberTools/src/pbsa/CMakeFiles/pbsa.cuda.dir//./pbsa.cuda_generated_cuda_LinearSolvers.cu.o
>
I'm cc-ing this to Ray Luo, but the pbsa.cuda code is somewhat fragile, and
I'm not sure if it has been tested with CUDA 12.1
As a workaround, add -DDISABLE_TOOLS="pbsa" to your run_cmake script.
...good luck...dac
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 22 2023 - 15:00:03 PDT