On Tuesday, June 24, 2014 3:18:46 PM UTC+6, Freddy Chua wrote:
>
> ../kernel/x86_64/dgemm_kernel_4x4_haswell.S:2548: Error: no such 
> instruction: `vpermpd $ 0xb1,%ymm3,%ymm3'
>
> make[4]: *** [dtrmm_kernel_RN_HASWELL.o] Error 1
>
> make[3]: *** [libs] Error 1
>
> *** Clean the OpenBLAS build with 'make -C deps clean-openblas'. Rebuild 
> with 'make OPENBLAS_USE_THREAD=0 if OpenBLAS had trouble linking 
> libpthread.so, and with 'make OPENBLAS_TARGET_ARCH=NEHALEM' if there were 
> errors building SandyBridge support. Both these options can also be used 
> simultaneously. ***
>
> make[2]: *** [openblas-v0.2.9/libopenblas.so] Error 1
>
> make[1]: *** [julia-release] Error 2
> make: *** [release] Error 2
>>
>>
> I have already included both of these options
> OPENBLAS_USE_THREAD=0
> OPENBLAS_TARGET_ARCH=NEHALEM
>
> CentOS it's a VM
>

If you check OpenBLAS's issue tracker you will see the answer - assembler 
provided by
binutils is too old.

You have to set  OPENBLAS_DYNAMIC_ARCH=0 to build only OPENBLAS_TARGET_ARCH

Another suggestion is to use rhel devtoolset, rebuilt by Scientific Linux, 
see
https://github.com/JuliaLang/julia/issues/7363#issuecomment-46927356

Reply via email to