BLAS / LAPACK / MKL cannot be found?
Hi everyone, I am trying to install a package called PySparse. I have modified the paths in the template site.cfg file. It appears that during the built process it compiles numpy as well, because the error messages I get are all over the numpy mailing list (I did not find one addressing my problem exactly). My MKL libs are installed at "/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64" . There are BLAS / LAPACK libraries here (I provided the library mkl_rt.so to SuiteSparse for instance, and it resolved all LAPACK and BLAS dependencies that way). But for some reason "/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64" does not work in the built process below, in what I think is a numpy installer. The output shows that the directory is searched, but that the result is "NOT AVAILABLE". Could someone give me a pointer for why my the MKL/BLAS/LAPACK dependencies cannot be resolved? It would be very appreciated sincerely, Bram --------------------------------------------------------------------------- PART OF THE OUTPUT OF PySparse SETUP.PY --------------------------------------------------------------------------- blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE openblas_info: libraries not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE blas_info: libraries blas not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE blas_src_info: NOT AVAILABLE NOT AVAILABLE No blas info found Sparse:: Using BLAS info: {} Using dflt_lib_dirs = /usr/local/lib:/wgdisk/hy3300/re15/lwillemsen/local_install/lib:/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64 Using dflt_libs = [] No blas info found Eigen:: Using BLAS info: {} lapack_opt_info: lapack_mkl_info: mkl_info: libraries mkl,vml,guide not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries ptf77blas,ptcblas,atlas not found in /wgdisk/hy3300/re15/lwillemsen/local_install/lib libraries lapack_atlas not found in /wgdisk/hy3300/re15/lwillemsen/local_install/lib libraries ptf77blas,ptcblas,atlas not found in /wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64 libraries lapack_atlas not found in /wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64 numpy.distutils.system_info.atlas_threads_info NOT AVAILABLE atlas_info: libraries f77blas,cblas,atlas not found in /usr/local/lib libraries lapack_atlas not found in /usr/local/lib libraries f77blas,cblas,atlas not found in /wgdisk/hy3300/re15/lwillemsen/local_install/lib libraries lapack_atlas not found in /wgdisk/hy3300/re15/lwillemsen/local_install/lib libraries f77blas,cblas,atlas not found in /wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64 libraries lapack_atlas not found in /wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64 numpy.distutils.system_info.atlas_info NOT AVAILABLE lapack_info: libraries lapack not found in ['/usr/local/lib', '/wgdisk/hy3300/re15/lwillemsen/local_install/lib', '/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64'] NOT AVAILABLE lapack_src_info: NOT AVAILABLE NOT AVAILABLE No lapack info found Eigen:: Using LAPACK info: {} non-existing path in 'pysparse/eigen': '/usr/local/lib:/wgdisk/hy3300/re15/lwillemsen/local_install/lib:/wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64' No blas info found Direct:: Using BLAS info: {}
Okay I figured out how to do it, in case someone finds this message later. You need to enter this specific section for the MKL implementation of BLAS and LAPACK, and it will find it! #https://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl [mkl] library_dirs = /wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/lib/intel64 include_dirs = /wgdisk/omega2dev2/env/EL5/intel/composer_xe_2013.0.079/mkl/include mkl_libs = mkl_rt lapack_libs = Note that no libs are given for lapack_libs. This is not a failed copy-paste :) Hopefully this will help someone!
participants (1)
-
Bram Willemsen