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

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Nov 23 04:44:25 CST 2004


Pearu Peterson wrote:

>
>
> On Tue, 23 Nov 2004, Nils Wagner wrote:
>
>> I have set the environment variables according to your last e-mail.
>>
>> /home/nwagner> echo $BLAS_SRC
>> /home/nwagner/src/blas
>> /home/nwagner> echo $LAPACK_SRC
>> /home/nwagner/src/lapack
>> /home/nwagner> echo $ATLAS
>> None
>>
>> However, the libraries libblas.a and liblapack.a already available in 
>> /usr/lib are used instead of FORTRAN BLAS/LAPACK. How can I 
>> circumvent this ?
>
>
> Set also
>
> BLAS=None
> LAPACK=None
>
> Pearu
>
Pearu,

I have also set the additional environment variables BLAS=None LAPACK=None

numpy_info:
  FOUND:
    define_macros = [('NUMERIC_VERSION', '"\\"23.6\\""')]
    include_dirs = ['/usr/include/python2.3']

lapack_opt_info:
atlas_threads_info:
Setting PTATLAS=ATLAS
Disabled atlas_threads_info (['PTATLAS', 'ATLAS'] is None)
scipy_distutils.system_info.atlas_threads_info
  NOT AVAILABLE

atlas_info:
Disabled atlas_info (ATLAS is None)
scipy_distutils.system_info.atlas_info
  NOT AVAILABLE

scipy_core/scipy_distutils/system_info.py:964: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    scipy_distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
Disabled lapack_info (LAPACK is None)
  NOT AVAILABLE

scipy_core/scipy_distutils/system_info.py:975: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    scipy_distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

scipy_core/scipy_distutils/system_info.py:978: UserWarning:
    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.
  warnings.warn(LapackSrcNotFoundError.__doc__)
Traceback (most recent call last):
  File "setup.py", line 112, in ?
    setup_package(ignore_packages)
  File "setup.py", line 86, in setup_package
    ignore_packages = ignore_packages)
  File "scipy_core/scipy_distutils/misc_util.py", line 475, in 
get_subpackages
    config = setup_module.configuration(*args)
  File "/var/tmp/cvs/scipy/Lib/lib/setup_lib.py", line 14, in configuration
    parent_path=parent_path)
  File "scipy_core/scipy_distutils/misc_util.py", line 475, in 
get_subpackages
    config = setup_module.configuration(*args)
  File "Lib/lib/lapack/setup_lapack.py", line 40, in configuration
    lapack_opt = get_info('lapack_opt',notfound_action=2)
  File "scipy_core/scipy_distutils/system_info.py", line 192, in get_info
    return cl().get_info(notfound_action)
  File "scipy_core/scipy_distutils/system_info.py", line 340, in get_info
    raise self.notfounderror,self.notfounderror.__doc__
scipy_distutils.system_info.NotFoundError: Some third-party program or 
library is not found.

but

lisa:/var/tmp/cvs/scipy # echo $LAPACK_SRC
/home/nwagner/src/lapack
lisa:/var/tmp/cvs/scipy # echo $BLAS_SRC
/home/nwagner/src/blas
lisa:/var/tmp/cvs/scipy # echo $BLAS
None
lisa:/var/tmp/cvs/scipy # echo $LAPACK
None

Nils

> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user



 



More information about the SciPy-user mailing list