Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: cusolver library not found #307

Open
MxQuantFinance opened this issue Oct 24, 2020 · 1 comment
Open

OSError: cusolver library not found #307

MxQuantFinance opened this issue Oct 24, 2020 · 1 comment

Comments

@MxQuantFinance
Copy link

MxQuantFinance commented Oct 24, 2020

Good day!
Studied similar issues, verified paths, commands, ctypes etc.
pycuda examples etc work.
But still can't get skcuda working.

Problem

Error message:
C:\Users\user\Anaconda3\lib\site-packages\scikit_cuda-0.5.4-py3.7.egg\skcuda\cublas.py:289: UserWarning: creating CUBLAS context to get version number
warnings.warn('creating CUBLAS context to get version number')
Traceback (most recent call last):
File "G:\SVD_PCA\SVD\SVD.py", line 5, in
from skcuda import linalg
File "C:\Users\user\Anaconda3\lib\site-packages\scikit_cuda-0.5.4-py3.7.egg\skcuda\linalg.py", line 26, in
from . import cusolver
File "C:\Users\user\Anaconda3\lib\site-packages\scikit_cuda-0.5.4-py3.7.egg\skcuda\cusolver.py", line 65, in
raise OSError('cusolver library not found')

Environment

  • OS platform: Windows 10 Enterpize 1903
  • Python version: 3.7 (Anaconda x64)
  • CUDA version: 11.1 installed through .exe cuda toolkit setup
  • PyCUDA version 2020.1 from GitHub
  • scikit-cuda version: 0.5.4 from GitHub (tried also using pip install )
@MxQuantFinance
Copy link
Author

Funny but
libcusolver file name: cusolver64_70.dll

So i renamed cusolver64_11.dll to cusolver64_70.dll and

from skcuda import linalg passed without error

Good question: why 64_70?

Very good news: cusolver_demo_svd.py fired.

Everything was done in Visual Studio 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant