‘_mm256_fmadd_ps’: target specific option mismatch in building BLIS-0.8.1 using GCC-11.2.0
bowentan opened this issue · comments
System
Ubuntu 20.04
GCC: 11.2.0
Python: 3.9.6
BLIS: 0.8.1
Description
I am building BLIS using GCC-11.2.0 but I always got the following error:
/data1/apps/software/GCCcore/11.2.0/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/fmaintrin.h:63:1: error: inlining failed in call to ‘always_inline’ ‘_mm256_fmadd_ps’: target specific option mismatch
I googled much and tried to add the following flags to gcc compiler, but none worked.
-march=haswell
-march=native
-mavx
-mavx2
-mfma
-msse3
-msse4.1
Could anyone help me about this error?