Closed ekg closed 5 years ago
Check if the CPU you are using supports AVX512 or AVX2 or none... you'll need to compile accordingly (see the cmake option -DSIMD_SUPPORT in README).
Assuming you are using linux, flags in /proc/cpuinfo will tell you the available SIMD support.
It looks like I have only avx and avx2:
-> % lscpu | grep Flags | tr ' ' '\n' | grep avx
avx
avx2
I'll try to set the flags accordingly.
Building with cmake -H. -Bbuild -DSIMD_SUPPORT=avx2 && cmake --build build -- -j 4
solves my problem!
I'm compiling on a system that has AVX, with gcc version 7.4.0-1ubuntu1~18.04.
I ran into this error:
Any suggestions about how to resolve it?