centos6.7安装openblas错误


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!


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM