[SciPy-user] How do I build scipy using standard BLAS/LAPACK

Pearu Peterson pearu at scipy.org
Tue Nov 23 04:31:33 EST 2004



On Tue, 23 Nov 2004, Nils Wagner wrote:

>> What is the output of `python system_info.py blas_opt lapack_opt`?
>
>
> blas_opt_info:
> FOUND:
>   libraries = ['blas']
>   library_dirs = ['/usr/lib']
>   define_macros = [('NO_ATLAS_INFO', 1)]
>   language = f77

So, scipy was not built against blas/lapack libraries in
/home/nwagner/src/{blas,lapack} but was built against the ones from 
/usr/lib (and that probably require atlas libraries). Please, read again
my previous messages and carefully apply the given instructions (soon 
I'll stop responding if there is no progress when there should be).

>> Is `import scipy.linalg.flapack` succesful?
>
> No
>
> Python 2.3.3 (#1, Apr  6 2004, 01:47:39)
> [GCC 3.3.3 (SuSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import scipy.linalg.flapack
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: No module named flapack

So, there must have some failures when building flapack extension module.
Check the messages from scipy build process.

Btw, why do you want to build scipy against Fortran BLAS/LAPACK in the 
first place? It is not needed if you only want to build symeig against 
Fortran BLAS/LAPACK.

Pearu




More information about the SciPy-User mailing list