[SciPy-user] Undefined symbol "ATL_cpttrsm"

Pearu Peterson pearu at scipy.org
Sun Oct 31 13:02:24 CST 2004



On Sun, 31 Oct 2004, Lee Harr wrote:

> I tried changing:
>
> class atlas_threads_info(atlas_info):
>   _lib_names = ['ptf77blas','ptcblas']
>
> class atlas_blas_threads_info(atlas_blas_info):
>   _lib_names = ['ptf77blas','ptcblas']
>
>
> to:
>
> class atlas_threads_info(atlas_info):
>   _lib_names = ['atlas_r','ptf77blas','ptcblas']
>
> class atlas_blas_threads_info(atlas_blas_info):
>   _lib_names = ['atlas_r','ptf77blas','ptcblas']
>
>
> Now I get this ....
>
>>>> from scipy import *
>>>> linalg.solve
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.3/site-packages/scipy_base/ppimport.py", line 
> 270, in __getattr__
>   module = self._ppimport_importer()
> File "/usr/local/lib/python2.3/site-packages/scipy_base/ppimport.py", line 
> 243, in _ppimport_importer
>   module = __import__(name,None,None,['*'])
> File "/usr/local/lib/python2.3/site-packages/scipy/linalg/__init__.py", line 
> 8, in ?
>   from basic import *
> File "/usr/local/lib/python2.3/site-packages/scipy/linalg/basic.py", line 
> 11, in ?
>   from lapack import get_lapack_funcs
> File "/usr/local/lib/python2.3/site-packages/scipy/linalg/lapack.py", line 
> 16, in ?
>   import clapack
> ImportError: /usr/local/lib/python2.3/site-packages/scipy/linalg/clapack.so: 
> Undefined symbol "clapack_sgesv"
>
> but I do not see that one defined anywhere...

atlas or atlas_r should be the last in library names list. So try changing 
'atlas' to 'atlas_r' in calc_info method of atlas_info class and undo your 
changes in atlas_threads_info, ..

Pearu



More information about the SciPy-user mailing list