I am trying to compile code that uses the magma_dgesv_mic routine.
1. The compilation however fails with:
icc -mkl -O3 -qopenmp -DADD_ -Wall -DHAVE_MIC -I/opt/intel/mic/coi/include -I/usr/include/intel-coi -I/home/dslavchev/install/magmamic-1.4.0/include -I/home/dslavchev/install/magmamic-1.4.0/contol -c -o direct.o direct.c
In file included from /home/dslavchev/install/magmamic-1.4.0/include/magma_types.h(134),
/opt/intel/compilers_and_libraries_2017.2.174/linux/compiler/include/complex(30): catastrophic error: cannot open source file "complex"
compilation aborted for direct.c (code 4)
make: *** [direct.o] Error 4
2. The includes at the beginning of the file are:
// MAGMA headers
3. The system is a Red Hat cluster with Intel Xeon Phi coprocessors.
4. MAGMAmic installed correctly and I am able to run testing_dgesv_mic test and see results. When I try to compile my code however it fails with the above error.
Any idea what might cause this?