[SciPy-dev] ATLAS vs Lapack

Friedrich, Robin K Robin.K.Friedrich at usa-spaceops.com
Tue May 30 17:27:00 EDT 2006


Hi,
I'm having a little trouble building the scipy package on our Linux system. (RH EL 3)
We have ATLAS 3.6.0 installed and it appears that the setup found it and used it to build. However at runtime the resulting lapack_lite module could not
find a symbol. The symbol is defined in the blas_lite.c but maybe the ATLAS build messed up the lapack_lite stuff.???
>From the setup run: 
creating build/temp.linux-i686-2.4/scipy/corelib/lapack_lite

compile options: '-DATLAS_INFO="\"3.6.0\"" -I/ips/fd/cm/cmg/rel/csw/oss/include/ATLAS -Iscipy/base/in clude -Ibuild/src/scipy/base -Iscipy/base/src
-I/ips/fd/cm/cmg/rel/csw/oss/include/python2.4 -c'

gcc: scipy/corelib/lapack_lite/lapack_litemodule.c

gcc -pthread -shared build/temp.linux-i686-2.4/scipy/corelib/lapack_lite/lapack_litemodule.o -L/ips/f d/cm/cmg/rel/csw/oss/lib/ATLAS -llapack -lf77blas
-lcblas -latlas -o build/lib.linux-i686-2.4/scipy/l ib/lapack_lite.so




From the test attempt: 
...lib/python2.4/site-packages/scipy $ python setup.py test

Traceback (most recent call last):

  File "setup.py", line 26, in ?

    from scipy.distutils.core import setup

  File "/ips/fd/sw/csw/oss/lib/python2.4/site-packages/scipy/__init__.py", line 35, in ?

    import scipy.basic.linalg as linalg

  File "/ips/fd/sw/csw/oss/lib/python2.4/site-packages/scipy/basic/linalg.py", line 1, in ?

    from basic_lite import *

  File "/ips/fd/sw/csw/oss/lib/python2.4/site-packages/scipy/basic/basic_lite.py", line 7, in ?

    import scipy.lib.lapack_lite as lapack_lite

ImportError: /ips/fd/sw/csw/oss/lib/python2.4/site-packages/scipy/lib/lapack_lite.so: undefined symbol: s_wsfe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20060530/e6ee35fa/attachment.html>


More information about the SciPy-Dev mailing list