lebedov / scikit-cuda

Python interface to GPU-powered libraries
http://scikit-cuda.readthedocs.org/
Other
975 stars 179 forks source link

ERROR: libcublas.so: undefined symbol: cublasSgetrsBatched while importing skcuda.linalg #292

Open mitradip opened 4 years ago

mitradip commented 4 years ago

Problem

I was trying to import skcuda.linalg while I received the following error:

import skcuda.linalg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/rstudent/mitradip/soft/compile/scikit-cuda-master/skcuda/linalg.py", line 23, in <module>
    from . import cublas
  File "/home/rstudent/mitradip/soft/compile/scikit-cuda-master/skcuda/cublas.py", line 5863, in <module>
    _libcublas.cublasSgetrsBatched.restype = int
  File "/home/rstudent/mitradip/soft/compile/anaconda3/lib/python3.7/ctypes/__init__.py", line 377, in __getattr__
    func = self.__getitem__(name)
  File "/home/rstudent/mitradip/soft/compile/anaconda3/lib/python3.7/ctypes/__init__.py", line 382, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/cuda/lib64/libcublas.so: undefined symbol: cublasSgetrsBatched

Kindly let me know how I can correct it and use skcuda for matrix diagonalization.

Environment