Your binutils is too old for avx2 instructions. See 
https://github.com/JuliaLang/julia#linux-build-troubleshooting - 
OPENBLAS_NO_AVX2=1 should fix it.

On Friday, February 12, 2016 at 1:35:14 AM UTC-8, Ben Ward wrote:
>
> Hi Julia community!
>
> I've got Julia compiled successfully on my workstation without issue, but 
> I'm trying to do it now in my cluster environment at work, which I believe 
> is RedHat or some similar linux.
>
> I have permissions to install and compile software in a given directory. 
> However during compilation I get some errors to do with OpenBLAS I've not 
> seen before when compiling on my workstation:
>
> ../kernel/x86_64/dgemm_kernel_4x8_haswell.S:2651: Error: no such 
> instruction: `vpermpd $ 0x1b,%ymm2,%ymm2'
> ../kernel/x86_64/dgemm_kernel_4x8_haswell.S:2651: Error: no such 
> instruction: `vpermpd $ 0x1b,%ymm3,%ymm3'
> ../kernel/x86_64/dgemm_kernel_4x8_haswell.S:2651: Error: no such 
> instruction: `vpermpd $ 0xb1,%ymm2,%ymm2'
> ../kernel/x86_64/dgemm_kernel_4x8_haswell.S:2651: Error: no such 
> instruction: `vpermpd $ 0xb1,%ymm3,%ymm3'
> make[3]: *** [dgemm_kernel_HASWELL.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [libs] Error 1
> \033[33;1m*** 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. ***\033[0m
> make[1]: *** [build/openblas/libopenblas64_.so] Error 1
> make: *** [julia-deps] Error 2
>
>
> I've tried make -C deps clean-openblas but I still get the error appear, 
> and I don't know if what I'm seeing is OpenBLAS having trouble linking with 
> libpthread.so, or if it's an error building sandybridge support - or if 
> it's an issue that's neither of those two and something else entirely.
> Any advice is greatly appreciated.
>
> Many Thanks,
> Ben.
>

Reply via email to