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

Pearu Peterson pearu at scipy.org
Sun Nov 6 12:39:43 CST 2005



On Sun, 6 Nov 2005, Nils Wagner wrote:

> Hi Pearu,
>
> Which tests will exactly fail ?
>
> I have used
>
>    export BLAS_SRC=~/src/blas
>    export LAPACK_SRC=~/src/lapack
>    mkdir $BLAS_SRC
>    cd $BLAS_SRC
>    wget http://www.netlib.org/blas/blas.tgz
>    tar xzf blas.tgz
>
>    cd $LAPACK_SRC/..
>    wget http://www.netlib.org/lapack/lapack.tgz
>    tar xzf lapack.tgz
>
>    export BLAS=None
>    export LAPACK=None
>    export ATLAS=None
>
> I have already reported the bugs with respect to this approach.

Using LAPACK_SRC approuch will not work as some LAPACK source files need 
to be compiled without optimization flags but currently scipy.distutils 
does not support switching off optimization for certain files. Using
`config_fc --noopt` would switch off optimization for all Fortran sources.

So, you need to build at least LAPACK library manually, see `Building 
the LAPACK library` section in

   http://www.scipy.org/documentation/buildatlas4scipy.txt

Pearu




More information about the Scipy-dev mailing list