[SciPy-dev] Building newscipy against non-atlas blas/lapack libraries

Pearu Peterson pearu at scipy.org
Mon Nov 7 03:07:34 CST 2005



On Mon, 7 Nov 2005, Nils Wagner wrote:

> I have also build a BLAS library from scractch.
>
> /home/nwagner> echo $BLAS
> /var/tmp/src/lapack/LAPACK/blas_LINUX.a
> /home/nwagner> echo $LAPACK
> /var/tmp/src/lapack/LAPACK/lapack_LINUX.a
>
>
> If I import scipy now
>
>>>> import scipy
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>  File "/usr/local/lib/python2.4/site-packages/scipy/__init__.py", line 32, in ?
>    from scipy.basic.fft import fft, ifft
>  File "/usr/local/lib/python2.4/site-packages/scipy/basic/fft.py", line 22, in ?
>    from fft_lite import *
>  File "/usr/local/lib/python2.4/site-packages/scipy/basic/fft_lite.py", line 23, in ?
>    import scipy.lib.fftpack_lite as fftpack
>  File "/usr/local/lib/python2.4/site-packages/scipy/lib/__init__.py", line 9, in ?
>    import blas
>  File "/usr/local/lib/python2.4/site-packages/scipy/lib/blas/__init__.py", line 9, in ?
>    import fblas
> ImportError: /usr/local/lib/python2.4/site-packages/scipy/lib/blas/fblas.so: undefined symbol: srotmg_
>
> How can I fix this problem ?

Don't use blas sources shipped with LAPACK libraries. They are incomplete. 
Just follow the instructions given in the link I have gave.

Pearu




More information about the Scipy-dev mailing list