supranational / supra_seal

Apache License 2.0
32 stars 21 forks source link

undefined reference to __cudaRegisterLinkedBinary #35

Closed ProgramAPE closed 1 year ago

ProgramAPE commented 1 year ago

I run the build.sh after downloaded the deps projects. and then building. finally i got the error: /tmp/tmpxft_000cc066_00000000-6_pc2.compute_70.cudafe1.stub.c:53: undefined reference to `__cudaRegisterLinkedBinary_49_tmpxft_000cc066_00000000_8_pc2_compute_70_cpp1_ii_40e2a259'

i think it's can not find the cuda lib . so i add the flags in the NVCC: -L/usr/local/cuda-11.4/lib64 -lcudart_static but it still not working.

so what he problem is? can someone help? thanks.

dot-asm commented 1 year ago

While README says that the minimum requirement is CUDA 11.x, we haven't actually tested all of the CUDA versions. In other words it's rather "11[>=4] worked for us for other things, so it should work even here" than "11.x is known to work here." And the reason for that is naturally lack of resources, we can only go that far. I've just updated build.sh in 415ca0286625d3e9158467d3b84e3ec4d5e470ca that might help. But if it doesn't, then you'll have to update your CUDA toolchain.

ProgramAPE commented 1 year ago

thanks very much.
I reinstall my system and the cuda. then it works! it's the cuda installtion not work.