[SciPy-dev] ATLAS vs Lapack
Robert Kern
robert.kern at gmail.com
Tue May 30 17:33:16 EDT 2006
Friedrich, Robin K wrote:
> 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
This part of an old FAQ is still relevant:
http://cens.ioc.ee/~pearu/scipy/INSTALL.html#using-non-gnu-fortran-compiler
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the SciPy-Dev
mailing list