如何解释numpy的config show输出?

2024-09-22 20:36:40 发布

您现在位置:Python中文网/ 问答频道 /正文

理解Python2.7中numpy模块的__config__.show()的输出时出现问题。在

以下是执行上述命令的输出:

>>> numpy.__config__.show()
lapack_opt_info:
    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
    library_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/include']
blas_opt_info:
    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
    library_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/include']
lapack_mkl_info:
    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
    library_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/include']
blas_mkl_info:
    libraries = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'iomp5', 'pthread']
    library_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/r/ge.unx.xxx.com/vol/vol110/u11/jack/anaconda2/include']
>>>

从上面的输出,我想推断numpy是否正在使用“英特尔MKL库”。如果是,图书馆在哪里?在


Tags: comnoneincludexxxdirsjackmklge