[SciPy-User] A problem with scikits.cuda

afrit.mariem at gmail.com afrit.mariem at gmail.com
Sun Jun 12 06:45:11 EDT 2011


Hi,

I installed scikits on my laptop and when I import scikits.cuda.cublas
on ipython I have the next error:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call
last)

/home/integer/<ipython console> in <module>()

/usr/local/lib/python2.6/dist-packages/scikits.cuda-0.041-py2.6.egg/
scikits/cuda/cublas.py in <module>()
    153
    154 # Single precision real BLAS1 functions:

--> 155 _libcublas.cublasIsamax.restype = ctypes.c_int
    156 _libcublas.cublasIsamax.argtypes = [ctypes.c_int,
    157                                     ctypes.c_void_p,

/usr/lib/python2.6/ctypes/__init__.pyc in __getattr__(self, name)
    364         if name.startswith('__') and name.endswith('__'):
    365             raise AttributeError(name)
--> 366         func = self.__getitem__(name)
    367         setattr(self, name, func)
    368         return func

/usr/lib/python2.6/ctypes/__init__.pyc in __getitem__(self,
name_or_ordinal)
    369
    370     def __getitem__(self, name_or_ordinal):
--> 371         func = self._FuncPtr((name_or_ordinal, self))
    372         if not isinstance(name_or_ordinal, (int, long)):
    373             func.__name__ = name_or_ordinal

AttributeError: /usr/local/cuda/lib64/libcublas.so: undefined symbol:
cublasIsamax

I couldn't find how to fix that. any idea?

thks.



More information about the SciPy-User mailing list