NVIDIA / CUDALibrarySamples

CUDA Library Samples
Other
1.52k stars 318 forks source link

CUDA version-cusparse #142

Closed fatemeh9264 closed 1 year ago

fatemeh9264 commented 1 year ago

Hello I want to use cusparse library in my project ; but I can not compile it. I don't know what s the problem? Is it for cuda version? what is the least necessary version needed? I have the following error: gcc: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by gcc)

qanhpham commented 1 year ago

Probably your system is missing glibc 2.14. Can you try sudo apt-get update or apt-get install libc6 to see if it works?

fatemeh9264 commented 1 year ago

It is the laboratory system, I don't have permission to run your command but as the administrator told me we guess it is related to cuda version. The installed version is less than 11. what cuda version is necessary to use cuSPARSE?

qanhpham commented 1 year ago

Your CUDA version is quite old. I suggest you to use version 11.x or, better, 12.x.

fatemeh9264 commented 1 year ago

OK. Thanks a lot.