码迷,mamicode.com
首页 > 其他好文 > 详细

centos6.7安装openblas错误

时间:2017-03-24 19:14:54      阅读:952      评论:0      收藏:0      [点我收藏+]

标签:str   ror   final   git   nbsp   uid   https   kernel   blank   

centos系统:CentOS release 6.7 (Final)

安装OpenBLAS
# Install OpenBLAS at /usr/local/openblas
    git clone https://github.com/xianyi/OpenBLAS
    cd OpenBLAS
    make -j $(($(nproc) + 1))
    sudo make PREFIX=/usr/local install
    cd ..
执行命令:make -j $(($(nproc) + 1))
出现下面类似错误:

../kernel/x86_64/dgemm_kernel_4x8_haswell.S:1759: Error: no such instruction: `vpermpd $ 0xb1,%ymm0,%ymm0‘

 

https://github.com/JuliaLang/julia/issues/7653#event-143521038

解决方法:

Add "#define NO_AVX2 1024" to the file cpuid.h as the last second line. Good day!

centos6.7安装openblas错误

标签:str   ror   final   git   nbsp   uid   https   kernel   blank   

原文地址:http://www.cnblogs.com/data2value/p/6612775.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!