[SciPy-User] A problem with scikits.cuda

Lev Givon lev at columbia.edu
Mon Jun 13 09:14:03 EDT 2011


Received from afrit.mariem at gmail.com on Sun, Jun 12, 2011 at 06:45:11AM EDT:
> 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.

Can you please submit this as a bug report at
http://github.com/lebedov/scikits.cuda/ ? Offhand, I'm guessing that
you are using a MacBook and have encountered the following issue:

https://github.com/lebedov/scikits.cuda/issues/13

						Thanks,
						L.G.



More information about the SciPy-User mailing list