Are you using the double precision version (“i8”)?
and add: set MKL_INTERFACE_LAYER=ILP64
set MKL_INTERFACE_LAYER=ILP64