You are not logged in.

#1 2019-10-18 23:32:00

alleut
Member
Registered: 2016-04-29
Posts: 32

[SOLVED] NumPy with OpenBLAS

extra's package python-numpy says that openblas is an optional dependency.
How it should be configured to be used with numpy without repackaging or using AUR?

local/cblas 3.8.0-2
    C interface to BLAS
local/openblas 0.3.7-1
    An optimized BLAS library based on GotoBLAS2 1.13 BSD
import numpy as np
np.__config__.show()                                                    
blas_mkl_info:
  NOT AVAILABLE
blis_info:
  NOT AVAILABLE
openblas_info:
  NOT AVAILABLE
atlas_3_10_blas_threads_info:
  NOT AVAILABLE
atlas_3_10_blas_info:
  NOT AVAILABLE
atlas_blas_threads_info:
  NOT AVAILABLE
atlas_blas_info:
  NOT AVAILABLE
accelerate_info:
  NOT AVAILABLE
blas_info:
    libraries = ['cblas', 'blas', 'blas']
    library_dirs = ['/usr/lib64']
    include_dirs = ['/usr/local/include', '/usr/include']
    language = c
    define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
    define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
    libraries = ['cblas', 'blas', 'blas']
    library_dirs = ['/usr/lib64']
    include_dirs = ['/usr/local/include', '/usr/include']
    language = c
lapack_mkl_info:
  NOT AVAILABLE
openblas_lapack_info:
  NOT AVAILABLE
openblas_clapack_info:
  NOT AVAILABLE
flame_info:
  NOT AVAILABLE
atlas_3_10_threads_info:
  NOT AVAILABLE
atlas_3_10_info:
  NOT AVAILABLE
atlas_threads_info:
  NOT AVAILABLE
atlas_info:
  NOT AVAILABLE
lapack_info:
    libraries = ['lapack', 'lapack']
    library_dirs = ['/usr/lib64']
    language = f77
lapack_opt_info:
    libraries = ['lapack', 'lapack', 'cblas', 'blas', 'blas']
    library_dirs = ['/usr/lib64']
    language = c
    define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
    include_dirs = ['/usr/local/include', '/usr/include']

Last edited by alleut (2019-10-22 12:25:47)

Offline

#2 2019-10-19 08:36:42

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: [SOLVED] NumPy with OpenBLAS

Have you tried using pip instead?

Offline

#3 2019-10-19 08:42:56

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,309

Re: [SOLVED] NumPy with OpenBLAS

There is nothing to configure. openblas is a drop-in replacement for blas, if you have it installed it will be used.

Offline

Board footer

Powered by FluxBB