小编the*_*moo的帖子

ARM Cpu上的多核Numpy

我希望在我的Raspberry Pi 3 B +上使用NumPy进行一些工作,该产品使用ARM 4核Cortex-A53(ARMv8)64位(请参见底部),我不确定这笔交易是什么并行优化,blas等。在安装NumPy(python 3)之前,我使用以下命令安装了lapack和atlas

sudo apt-get install liblapack-dev
sudo apt-get install libatlas-base-dev
Run Code Online (Sandbox Code Playgroud)

接下来,我安装了Numpy(使用pip3)。使用以下代码检查如何设置NumPy:

import numpy as np
print (np.__config__.show())
Run Code Online (Sandbox Code Playgroud)

输出:

openblas_info:
  NOT AVAILABLE
lapack_opt_info:
    library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base']
    language = f77
    define_macros = [('ATLAS_INFO', '"\\"3.10.3\\""')]
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas', 'f77blas', 'cblas']
    include_dirs = ['/usr/include/atlas']
openblas_lapack_info:
  NOT AVAILABLE
blis_info:
  NOT AVAILABLE
atlas_3_10_threads_info:
  NOT AVAILABLE
blas_mkl_info:
  NOT AVAILABLE
atlas_info:
    library_dirs = ['/usr/lib/atlas-base/atlas', '/usr/lib/atlas-base']
    language = f77
    define_macros = [('ATLAS_INFO', '"\\"3.10.3\\""')]
    libraries = ['lapack', 'f77blas', 'cblas', 'atlas', 'f77blas', …
Run Code Online (Sandbox Code Playgroud)

python arm numpy scipy raspberry-pi

6
推荐指数
0
解决办法
465
查看次数

标签 统计

arm ×1

numpy ×1

python ×1

raspberry-pi ×1

scipy ×1