I used make.inc.mkl-icc to compile Magma. No issues there.
In the example directory, I changed the Makefile to use icc and ifort, and commented out the openblas parts. It all works for the C examples, but the Fortran example doesn't even compile:
Code: Select all
ifort -I../include -Dmagma_devptr_t="integer(kind=8)" -c -o example_f.o example_f.F90
example_f.F90(35): error #6404: This name does not have a type, and must have an explicit type. [COMPLEX]
A(i,j) = complex( re, im )
---------------------------------^
example_f.F90(172): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [EXAMPLE_F]
use example_f
------------^
compilation aborted for example_f.F90 (code 1)