[SciPy-dev] scipy and lapack

Karol Langner karol.langner at kn.pl
Wed Oct 11 16:31:08 CDT 2006


Just for the record, I got to the bottom of this. The problem was that I was 
using the LAPACK library without the atlas C routines. After merging the 
atlas-lapack and lapack libraries everything works fine.

Karol

On Tuesday 10 of October 2006 09:24, Karol Langner wrote:
> I installed scipy revision 2242 with manually built atlas, lapack, umfpack,
> fftw, and dbjfft libraries. The install looks fine, and the tests only give
> error that are labelled as "not real problems".
>
> The install and test output can be found here:
> http://www.mml.ch.pwr.wroc.pl/langner/tmp/scipy/
>
> However,  when I import from scipy I get an ImportError:
> >>> from scipy import *
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/cluster/__init
>__. py", line 9, in <module>
>     import vq
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/cluster/vq.py"
>, l      ine 21, in <module>
>     from scipy.stats import std, mean
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/stats/__init__
>.py ", line 7, in <module>
>     from stats import *
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/stats/stats.py
>", line 190, in <module>
>     import scipy.special as special
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/special/__init
>__. py", line 10, in <module>
>     import orthogonal
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/special/orthog
>ona l.py", line 65, in <module>
>     from scipy.linalg import eig
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/linalg/__init_
>_.p y", line 8, in <module>
>     from basic import *
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/linalg/basic.p
>y", line 17, in <module>
>     from lapack import get_lapack_funcs
>   File
> "/home/langner/apps/python/lib/python2.5/site-packages/scipy/linalg/lapack.
>py"      , line 18, in <module>
>     from scipy.linalg import clapack
> ImportError:
> /home/langner/apps/python/lib/python2.5/site-packages/scipy/linalg/clapa
> ck.so: undefined symbol: clapack_sgesv
>
> Any suggestions?
> Karol

-- 
written by Karol Langner
Wed Oct 11 23:30:00 CEST 2006


More information about the Scipy-dev mailing list