如何解决“ OpenBlas-Numpy设置-Library_dirs路径问题-RHEL7.4”

时间:2019-05-13 03:36:37

标签: numpy openblas

使用以下链接尝试使用Openblas设置numpy

Compiling numpy with OpenBLAS integration

Numpy config shows as follows

import numpy as np;
np.config.show()
blas_mkl_info:
NOT AVAILABLE
blis_info:
NOT AVAILABLE
openblas_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
lapack_mkl_info:
NOT AVAILABLE
openblas_lapack_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
lapack_opt_info:
libraries = ['openblas', 'openblas']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]

我已将site.cfg和.numpy-site.cfg中的library_dirs路径更新为/ opt / OpenBlas / lib ...

但是library_dirs没有指向/ opt / OpenBlas / lib ...如何解决这个问题?

预先感谢

0 个答案:

没有答案