Xtra-Computing / thundersvm

ThunderSVM: A Fast SVM Library on GPUs and CPUs
Apache License 2.0
1.57k stars 218 forks source link

ThunderSVM requires libcusparse.10 even when compiling with CUDA 11.3 #260

Closed MahdiNazemi closed 2 years ago

MahdiNazemi commented 2 years ago

I compiled ThunderSVM from source and ran the training and prediction binaries successfully to get the expected 98% accuracy. However, when I install the Python module, I get the following error during import:

OSError: libcusparse.so.10: cannot open shared object file: No such file or directory

I also looked at ThunderSVM's library with readelf and saw the dependency on libcusparse.10 instead of libcusparse.11.

I was wondering if anyone has faced a similar issue and knows how to resolve it.

MahdiNazemi commented 2 years ago

I had to modify the CMakeLists.txt files to resolve this problem.