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