mic0: online (mode: linux image: /lib/firmware/mic/uos.img)
mic1: online (mode: linux image: /lib/firmware/mic/uos.img)
ifort version 14.0.1
ifort -o dgemm-test.x -openmp dgemm-test.f90 -mkl -offload -offload-option,mic,ld,"--no-undefined"
Fortran code starts with:
num_devices = OFFLOAD_NUMBER_OF_DEVICES()
if (num_devices==0) then
call exit
endif
There are no errors, even if the variables like:
MKL_MIC_ENABLE=1
MIC_MKLPATH=/phi/intel/mkl/lib/mic/
MIC_LD_LIBRARY_PATH=/phi/intel/lib (I have copied the lib files here)
MIC_OMP_NUM_THREADS=240
MIC_MKL_ROOT=/phi/intel/lib
MIC_MKLROOT=/phi/intel/mkl (in addition I also copied the lib files here)
are set.
Running in native more works fine, ssh and running applications built on the host run fine. All deps are resolved nicely when I run in native mode.
Next step would be to run on the host and use offload to share work between host and co-processor. Bu so far the applications will no see any of the mics.
I am I missing something that links the host application with the mic co-processor ?