Open aepace opened 2 years ago
Check the definition of FFTW_CC in your config.h, it should be a string. It's possible the fact you have double-quotes inside your CFLAGS might confuse things. Try removing them, as they are likely not necessary (and not used in your LDFLAGS anyway).
Probably you want outer double quotes, not outer single quotes:
CFLAGS="-O3 -fPIC -fp-model strict -axCORE-AVX512,CORE-AVX2,AVX,SSE4.2 -I'${MKLROOT}/include'"
LDFLAGS="-L'${MKLROOT}/lib/intel64' -lmkl_rt -lpthread -ldl"
so that ${MKLROOT}
gets substituted into the definitions of CFLAGS
and LDFLAGS
. (If you use outer single quotes, then ${MKLROOT}
appears literally in the flags variable.)
But yes, the literal double quotes in string might be confusing C; this should be fixed by correcting the order of the quotes as I suggested above.
Maybe we need to do some escaping when the #define FFTW_CC
is constructed here: https://github.com/FFTW/fftw3/blob/80f5c5cf2a74835d101c38c54001a54de815c956/configure.ac#L747
Hi, I'm getting a compilation error using icc 2021.4.0 in a Centos 8 container.
The build fails when making all in
api
with following error:My configure line looks like:
Thanks!