[SciPy-user] gutsy amd64

Robin robince at gmail.com
Sun Mar 2 17:58:49 EST 2008


On Sun, Mar 2, 2008 at 9:59 PM, osman <osman at fuse.net> wrote:
>
>  On Sun, 2008-03-02 at 17:51 +0000, Robin wrote:
>  OK Maybe I was too quick to declare victory :-(
>  I am trying a package called sfe :
>
>  stargate:/home/osman/sfepy-10b16f5102ab-bash-> python simple.py
>  Traceback (most recent call last):
>   File "simple.py", line 7, in <module>
>     from sfe.base.base import *
>   File "/home/osman/sfepy-10b16f5102ab/sfe/base/base.py", line 5, in
>  <module>
>     import scipy.linalg as nla
>   File "/usr/lib/python2.5/site-packages/scipy/linalg/__init__.py", line
>  8, in <module>
>     from basic import *
>   File "/usr/lib/python2.5/site-packages/scipy/linalg/basic.py", line
>  17, in <module>
>     from lapack import get_lapack_funcs
>   File "/usr/lib/python2.5/site-packages/scipy/linalg/lapack.py", line
>  17, in <module>
>     from scipy.linalg import flapack
>  ImportError: /usr/lib/python2.5/site-packages/scipy/linalg/flapack.so:
>  undefined symbol: cblas_zswap
>
>
>  This looks like a scipy  problem? The scipy build process did not cause
>  any errors.
>
>  My scipy_build directory has libcblas:
>
>  drwxr-xr-x 2 osman osman    1416 2008-03-02 16:19 include
>  -rwxr-xr-x 1 osman osman   35094 2008-03-02 16:18 libamd.a
>  -rw-r--r-- 1 osman osman 8666444 2008-03-02 16:02 libatlas.a
>  -rw-r--r-- 1 osman osman  466848 2008-03-02 16:02 libcblas.a
>  -rw-r--r-- 1 osman osman  572034 2008-03-02 16:02 libf77blas.a
>  -rw-r--r-- 1 osman osman 1698704 2008-03-02 16:19 libgfortran.a
>  -rw-r--r-- 1 osman osman  781688 2008-03-02 16:19 libgfortran.so
>  -rw-r--r-- 1 osman osman 8780538 2008-03-02 16:02 liblapack.a
>  -rw-r--r-- 1 osman osman  482856 2008-03-02 16:02 libtstatlas.a
>  -rwxr-xr-x 1 osman osman  748537 2008-03-02 16:18 libumfpack.a
>
>  ATLAS build was also successful.
>
>  stargate:/home/osman-bash->
>  ldd /usr/lib/python2.5/site-packages/scipy/linalg/flapack.so
>         libgfortran.so.2 => /usr/lib/libgfortran.so.2
>  (0x00002b5dc81fa000)
>         libm.so.6 => /lib/libm.so.6 (0x00002b5dc84b9000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002b5dc873b000)
>         libc.so.6 => /lib/libc.so.6 (0x00002b5dc8949000)
>         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
>  stargate:/home/osman-bash->
>
>  Missing something?

I'm afraid that's a bit beyond my expertise - I haven't seen that
particular error before. The only thing I can suggest is to check
again against the instructions on the wiki, and remember it can be
quite sensitive to details... One thing I thought was check the order
of the libs listed in your site.cfg:
atlas_libs = lapack, f77blas, cblas, atlas

I know that changing the order there can result in errors similar to
the one your seeing.

Robin



More information about the SciPy-User mailing list