Install numpy on Mac OS X Mavericks with alternate LAPACK / BLAS

I am trying to parallelize some Python code that makes extensive use of NumPy with the Python multiprocessing package. Unfortunately, as noted here , the default linear algebra libraries provided by Apple (Accelerate / Veclib) cannot run in parallel. So I'm trying to bundle an alternate LAPACK / BLAS when installing NumPy in the hope that my code will then be parallelized without crashing!

I downloaded and compiled an alternative LAPACK / BLAS. Then, following the instructions here , I did:

export LAPACK=/usr/local/Cellar/lapack/3.4.2/lib/liblapack.dylib
export BLAS=/usr/local/Cellar/lapack/3.4.2/lib/libblas.dylib
export ATLAS=None
pip install numpy

which went great. However, if I run

numpy.show_config()

in python i get

atlas_threads_info:
  NOT AVAILABLE
blas_opt_info:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers']
    define_macros = [('NO_ATLAS_INFO', 3)]
atlas_blas_threads_info:
  NOT AVAILABLE
openblas_info:
  NOT AVAILABLE
lapack_opt_info:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    extra_compile_args = ['-msse3']
    define_macros = [('NO_ATLAS_INFO', 3)]
atlas_info:
  NOT AVAILABLE
lapack_mkl_info:
  NOT AVAILABLE
blas_mkl_info:
  NOT AVAILABLE
atlas_blas_info:
  NOT AVAILABLE
mkl_info:
  NOT AVAILABLE

, NumPy Apple LAPACK/BLAS! , . - ?

+3

All Articles