cuda argument types incompatible in compilation of lama

Dear all

I am running into a problem installing lama and with CUDA. Following this tutorial LAMA: Linux Installation executing the command make I get the following error:

[kraut@Wzmbx001 build44]$ make
[ 3%] Built target log4lama
[ 3%] Building NVCC (Device) object lama/cuda/CMakeFiles/cuda_compile.dir//./
/opt/OpenFOAM/lama/src/lama/cuda/ error: argument of type “const float *” is incompatible with parameter of type “int”

/opt/OpenFOAM/lama/src/lama/cuda/ error: argument of type “const lama::IndexType *” is incompatible with parameter of type “const float *”

14 errors detected in the compilation of “/tmp/tmpxft_000039f0_00000000-7_CUDACSRUtils.cpp1.ii”.
CMake Error at (message):
Error generating file

Altogether this error occurs 14 times with different types of arguements. I searched for similar problems and the closest seems to be the following:

argument of type “unsigned int *” is incompatible with parameter of type “size_t *”

However, I do not know where to change the variables as suggested in the link.

I looked for the variables in the file in /lama/src/lama/cuda, but could not find any of the variables named in the error message.

Can anybody give me a further hint, what I am doing wrong, or where I could continue looking for a fix? Thanks a lot for looking into this!



cross posted: