[Numpy-discussion] Building numpy with ATLAS

Shitikanth Kashyap shitikanth.kashyap at icloud.com
Mon Jul 18 12:14:00 EDT 2016


Hey Everyone,

I am trying to build numpy-1.11.1 with ATLAS libraries. The build completes successfully, and 
I am able to use numpy, but there seems to be some problem with my config because 
numpy only ever uses one core, even when multiplying 5000x5000 matrices with numpy.dot.

My site.cfg is:

[default]
library_dirs = /u3/s4kashya/.local/atlas3.11/lib:/u3/s4kashya/.local/lib:/usr/local/lib:/usr/lib
include_dirs = /u3/s4kashya/.local/atlas3.11/include:/u3/s4kashya/.local/include:/usr/local/include:/usr/include

[atlas]
libraries = ptlapack, ptf77blas, ptcblas, atlas
library_dirs = /u3/s4kashya/.local/atlas3.11/lib
include_dirs = /u3/s4kashya/.local/atlas3.11/include


Output from numpy.__config__.show():

atlas_3_10_blas_threads_info:
   libraries = ['tatlas', 'ptlapack', 'ptf77blas', 'ptcblas', 'atlas']
   library_dirs = ['/u3/s4kashya/.local/atlas3.11/lib']
   define_macros = [('HAVE_CBLAS', None), ('NO_ATLAS_INFO', -1)]
   language = c
   include_dirs = ['/u3/s4kashya/.local/atlas3.11/include']
lapack_opt_info:
   libraries = ['tatlas', 'tatlas', 'tatlas', 'ptlapack', 'ptf77blas', 'ptcblas', 'atlas']
   library_dirs = ['/u3/s4kashya/.local/atlas3.11/lib']
   define_macros = [('NO_ATLAS_INFO', -1)]
   language = f77
   include_dirs = ['/u3/s4kashya/.local/atlas3.11/include']
blas_opt_info:
   libraries = ['tatlas', 'ptlapack', 'ptf77blas', 'ptcblas', 'atlas']
   library_dirs = ['/u3/s4kashya/.local/atlas3.11/lib']
   define_macros = [('HAVE_CBLAS', None), ('NO_ATLAS_INFO', -1)]
   language = c
   include_dirs = ['/u3/s4kashya/.local/atlas3.11/include']
openblas_info:
 NOT AVAILABLE
openblas_lapack_info:
 NOT AVAILABLE
atlas_3_10_threads_info:
   libraries = ['tatlas', 'tatlas', 'tatlas', 'ptlapack', 'ptf77blas', 'ptcblas', 'atlas']
   library_dirs = ['/u3/s4kashya/.local/atlas3.11/lib']
   define_macros = [('NO_ATLAS_INFO', -1)]
   language = f77
   include_dirs = ['/u3/s4kashya/.local/atlas3.11/include']
lapack_mkl_info:
 NOT AVAILABLE
blas_mkl_info:
 NOT AVAILABLE
mkl_info:
 NOT AVAILABLE

Any ideas what could be going wrong?

Thanks,
Shitikanth



More information about the NumPy-Discussion mailing list