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

Pearu Peterson pearu at scipy.org
Tue Nov 23 02:55:02 CST 2004



On Tue, 23 Nov 2004, Nils Wagner wrote:

> Now the installation works fine, but scipy.test() failed
>
> snip
>
> ****************************************************************
> WARNING: clapack module is empty
> -----------
> See scipy/INSTALL.txt for troubleshooting.
> Notes:
> * If atlas library is not found by scipy/system_info.py,
> then scipy uses flapack instead of clapack.
> ****************************************************************
>
> snip
> ======================================================================
> ERROR: check_sh_legendre (scipy.special.basic.test_basic.test_sh_legendre)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/scipy/special/tests/test_basic.py", 
> line 1806, in check_sh_legendre
>   Ps1 = sh_legendre(1)
> File "/usr/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 
> 593, in sh_legendre
>   x,w,mu0 = ps_roots(n,mu=1)
> File "/usr/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 
> 584, in ps_roots
>   return js_roots(n,1.0,1.0,mu=mu)
> File "/usr/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 
> 205, in js_roots
>   val = gen_roots_and_weights(n,an_Js,sbn_Js,mu0)
> File "/usr/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 
> 121, in gen_roots_and_weights
>   eig = get_eig_func()
> File "/usr/lib/python2.3/site-packages/scipy/special/orthogonal.py", line 
> 91, in get_eig_func
>   eig = scipy.linalg.eig
> AttributeError: 'module' object has no attribute 'eig'
>
> ----------------------------------------------------------------------
> Ran 855 tests in 2.121s
>
> FAILED (errors=15)
> <unittest.TextTestRunner object at 0x4353644c>

Are you sure that you included all of the stderr messages here?

I just checked, all CVS scipy tests pass ok when using Fortran BLAS/LAPACK 
libraries.

What is the output of `python system_info.py blas_opt lapack_opt`? Is 
`import scipy.linalg.flapack` succesful?

Pearu



More information about the SciPy-user mailing list