[Numpy-discussion] atlas not found, why?

T J tjhnson at gmail.com
Mon Nov 3 13:46:37 EST 2008


Numpy doesn't seem to be finding my atlas install.  Have I done
something wrong or misunderstood?

$ cd /usr/lib
$ ls libatlas*
libatlas.a  libatlas.so  libatlas.so.3gf  libatlas.so.3gf.0
$ ls libf77*
libf77blas.a  libf77blas.so  libf77blas.so.3gf	libf77blas.so.3gf.0
$ ls libcblas*
libcblas.a  libcblas.so  libcblas.so.3gf  libcblas.so.3gf.0
$ ls liblapack*
liblapack-3.a	liblapack.a	   liblapack_atlas.so	
liblapack_atlas.so.3gf.0  liblapackgf-3.so  liblapack.so.3gf
liblapack-3.so	liblapack_atlas.a  liblapack_atlas.so.3gf
liblapackgf-3.a	     liblapack.so      liblapack.so.3gf.0


Since these are all in the standard locations, I am building without a
site.cfg.  Here is the beginning info:

Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2_5972
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  NOT AVAILABLE

atlas_blas_info:
  NOT AVAILABLE

/tmp/numpy/numpy/distutils/system_info.py:1340: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
blas_info:
  libraries blas not found in /usr/local/lib
  FOUND:
    libraries = ['blas']
    library_dirs = ['/usr/lib']
    language = f77

  FOUND:
    libraries = ['blas']
    library_dirs = ['/usr/lib']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77

lapack_opt_info:
lapack_mkl_info:
mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
numpy.distutils.system_info.atlas_threads_info
  NOT AVAILABLE

atlas_info:
numpy.distutils.system_info.atlas_info
  NOT AVAILABLE

/tmp/numpy/numpy/distutils/system_info.py:1247: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  warnings.warn(AtlasNotFoundError.__doc__)
lapack_info:
  libraries lapack not found in /usr/local/lib
  FOUND:
    libraries = ['lapack']
    library_dirs = ['/usr/lib']
    language = f77

  FOUND:
    libraries = ['lapack', 'blas']
    library_dirs = ['/usr/lib']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77



More information about the NumPy-Discussion mailing list