-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi, thanks by the GPU support, i'm presenting a trouble when i install with make,
nvcc -g -arch=sm_61 -lineinfo --device-link GPUcomcot.o GPUall_grids.o GPUMass_s.o GPUMoment_s.o GPUOpen_BD.o GPUOutput.o -o nvobj.o
gfortran -g -cpp -lstdc++ -O2 comcot.o initialization.o output.o deform.o mass.o moment.o boundaries.o all_grids.o hotstart.o landslide.o wavemaker.o dispersion.o type_module.o -L/usr/local/cuda-9.2/lib64 -lcudart GPUcomcot.o GPUall_grids.o GPUMass_s.o GPUMoment_s.o GPUOpen_BD.o GPUOutput.o nvobj.o -o comcot
GPUcomcot.o: In function cuda_alloc_layer': /root/GPU-comcot/GPUcomcot.cu:50: undefined reference to cudaGetLastError'
/root/GPU-comcot/GPUcomcot.cu:50: undefined reference to cudaGetErrorString' /root/GPU-comcot/GPUcomcot.cu:70: undefined reference to cudaGetLastError'
/root/GPU-comcot/GPUcomcot.cu:70: undefined reference to `cudaGetErrorString'
and more output with the same issues
The libraries of cuda in the makefile are good.
I tried with ubuntu 22.04 and 16.04 and i've the same results
Any help I would be grateful, thank you