Xtra-Computing / thundersvm

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

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

Closed MahdiNazemi closed 1 year ago

MahdiNazemi commented 1 year 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 1 year ago

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