Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 450886

Summary: dev-python/numpy-1.6.2 with dev-lang/icc - blas_*_info: libraries mkl,vml,guide not found in [libdirs]
Product: Gentoo Linux Reporter: urcindalo <urcindalo>
Component: [OLD] DevelopmentAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED WONTFIX    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description urcindalo 2013-01-08 13:30:54 UTC
As the title says, dev-python/numpy-1.6.2 fails to find both blas_info and lapack_info with icc-provided lapack and blas:
====

>>> Emerging (1 of 1) dev-python/numpy-1.6.2
 * numpy-1.6.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                              [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
>>> Unpacking source...
>>> Unpacking numpy-1.6.2.tar.gz to /var/tmp/portage/dev-python/numpy-1.6.2/work
>>> Source unpacked in /var/tmp/portage/dev-python/numpy-1.6.2/work
>>> Preparing source in /var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2 ...
 * Applying numpy-1.6.1-atlas.patch ...                                                                                 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2 ...
 * Building of dev-python/numpy-1.6.2 with CPython 2.7...
python2.7 setup.py build -b build-2.7 config_fc --noopt --noarch --fcompiler=gnu95
Running from numpy source directory.F2PY Version 2
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in /usr/local/lib64
  libraries mkl,vml,guide not found in /usr/local/lib
  libraries mkl,vml,guide not found in /usr/lib64
  libraries mkl,vml,guide not found in /usr/lib
  NOT AVAILABLE

system_info:                                                                                                                   
  NOT AVAILABLE                                                                                                                
                                                                                                                               
/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:1419: 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:
/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:532: UserWarning: Specified path /opt/intel/composerxe-2013_update1.1.117/mkl/lib/intel64   is invalid.
  warnings.warn('Specified path %s is invalid.' % d)
  libraries mkl_rt not found in /usr/lib64
  NOT AVAILABLE

/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:1428: UserWarning: 
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  warnings.warn(BlasNotFoundError.__doc__)
blas_src_info:
  NOT AVAILABLE

/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:1431: UserWarning: 
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  warnings.warn(BlasSrcNotFoundError.__doc__)
  NOT AVAILABLE

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

  NOT AVAILABLE

/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:1334: 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 mkl_rt not found in /usr/lib64
  NOT AVAILABLE

/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:1345: UserWarning: 
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  warnings.warn(LapackNotFoundError.__doc__)
lapack_src_info:
  NOT AVAILABLE

/var/tmp/portage/dev-python/numpy-1.6.2/work/numpy-1.6.2/numpy/distutils/system_info.py:1348: UserWarning: 
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  warnings.warn(LapackSrcNotFoundError.__doc__)
  NOT AVAILABLE
===

However, they are found if numpy is downgraded to 1.6.1-r1:
===
blas_info:
  FOUND:
    libraries = ['mkl_rt']
    library_dirs = ['/opt/intel/composerxe-2013_update1.1.117/mkl/lib/intel64']
    language = f77

  FOUND:
    libraries = ['mkl_rt']
    library_dirs = ['/opt/intel/composerxe-2013_update1.1.117/mkl/lib/intel64']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77
...

lapack_info:
  FOUND:
    libraries = ['mkl_rt']
    library_dirs = ['/opt/intel/composerxe-2013_update1.1.117/mkl/lib/intel64']
    language = f77

  FOUND:
    libraries = ['mkl_rt', 'mkl_rt']
    library_dirs = ['/opt/intel/composerxe-2013_update1.1.117/mkl/lib/intel64']
    define_macros = [('NO_ATLAS_INFO', 1)]
    language = f77
===