I get a lot of Errors like this one:
In file included from /opt/rh/devtoolset-6/root/usr/lib/gcc/x86_64-redhat-linux/6.2.1/include/immintrin.h:79:0, from /home/thie_jo/essex/ghost/build/src_unrolled/sell_spmv_avx232_1.c:13: /opt/rh/devtoolset-6/root/usr/lib/gcc/x86_64-redhat-linux/6.2.1/include/fmaintrin.h:47:1: error: inlining failed in call to always_inline ‘_mm256_fmadd_pd’: target specific option mismatch _mm256_fmadd_pd (m256d A, m256d B, m256d __C)
I noticed that no flags like -mfma -mavx ... are set at all, and found a comment online that this may cause this Kind of Errors (you can't use intrinsics without These flags, it seems). I also noticed that on our Haswell System it compiles despite the missing flags.
Compiler: gcc-6.2.1, CentOS on KNL