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

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed Nov 24 01:30:26 CST 2004


Robert Kern wrote:

> Nils Wagner wrote:
>
>> Sorry for my misleading explanation. Of course I have unpacked the 
>> tarball !
>> But it doesn't work.
>
>
> Okay. Look at the method lapack_src_info.calc_info() in the file 
> scipy_core/scipy_distutils/system_info.py and modify it to try to 
> debug why it can't find the files.
>
I guess it is connected with the entry in system_info.py

   default_src_dirs = ['.','/usr/local/src', '/opt/src','/sw/src']

class LapackSrcNotFoundError(LapackNotFoundError):
    """
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    scipy_distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable."""

In the file sample_site.cfg, which is a sample file of site.cfg I 
found   (1)

[lapack_src]
# src_dirs = ..

# Default values are defined in scipy_distutils/system_info.py
# file and here shown in comments. Feel free to uncomment and modify
# the corresponding values to your system needs.
#

I will rename rename it (sample_site.cfg) to site.cfg and modify (1)

[lapack_src]
src_dirs=/home/nwagner/src/lapack

The setting of the environment variable LAPACK_SRC seems to be  without 
effect...

Nils

 




More information about the SciPy-user mailing list