I am trying to get the mic offload samples available at
https://software.intel.com/en-us/articles/offload-programming-fortran-an...
to run. Everything appears to build without error; here is the output of "make mic":
====
ifort -qopenmp -c leoF00_driver.F90 -o leoF00_driver.o ifort -qopenmp -c leoF01_scalar.F90 -o leoF01_scalar.o ifort -qopenmp -c leoF02_global.F90 -o leoF02_global.o ifort -qopenmp -c leoF03_various_clauses.F90 -o leoF03_various_clauses.o ifort -qopenmp -c leoF04_explicit_shape_array.F90 -o leoF04_explicit_shape_array.o ifort -qopenmp -c leoF05_assumed_shape_array.F90 -o leoF05_assumed_shape_array.o ifort -qopenmp -c leoF06_assumed_size_array.F90 -o leoF06_assumed_size_array.o ifort -qopenmp -c leoF07_deferred_shape_array.F90 -o leoF07_deferred_shape_array.o ifort -qopenmp -c leoF08_multi_target.F90 -o leoF08_multi_target.o ifort -qopenmp -c leoF09_subprograms_callees.F90 -o leoF09_subprograms_callees.o ifort -qopenmp -c leoF09_subprograms.F90 -o leoF09_subprograms.o ifort -qopenmp -c leoF10_alloc_into.F90 -o leoF10_alloc_into.o ifort -qopenmp -c leoF11_async.F90 -o leoF11_async.o ifort -V leoF00_driver.o leoF01_scalar.o leoF02_global.o leoF03_various_clauses.o leoF04_explicit_shape_array.o leoF05_assumed_shape_array.o leoF06_assumed_size_array.o leoF07_deferred_shape_array.o leoF08_multi_target.o leoF09_subprograms_callees.o leoF09_subprograms.o leoF10_alloc_into.o leoF11_async.o -qopenmp -o leoF_intro.out Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.0.090 Build 20140723 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. GNU ld (GNU Binutils) 2.22.52.20120302 GNU ld version 2.20.51.0.2-5.36.el6 20100205 .... Build complete Run : leoF_intro.out [--help]
===========
But this is what happens when I try to run it (here OFFLOAD_REPORT=3):
===========
System configuration pre-check Checking for Intel(R) Xeon Phi(TM) (Target CPU) devices... Number of Target devices installed: 2 [Offload] [HOST] [State] Initialize logical card 0 = physical card 0 offload error: cannot execute function on the device 0 (error code 13)
============
Some further information:
============ ifort -V Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.0.090 Build 20140723 Copyright (C) 1985-2014 Intel Corporation. All rights reserved. --------------- MicInfo Utility Log Created Thu Sep 11 14:40:42 2014 System Info HOST OS : Linux OS Version : 2.6.32-431.17.1.el6.x86_64 Driver Version : 3.1.4-1 MPSS Version : 3.1.4 Host Physical Memory : 66001 MB Device No: 0, Device Name: mic0 Version Flash Version : 2.1.03.0386 SMC Firmware Version : 1.15.4830 SMC Boot Loader Version : 1.8.4326 uOS Version : 2.6.38.8+mpss3.1.4 Device Serial Number : ADKC32400287 Board Vendor ID : 0x8086 Device ID : 0x2250 Subsystem ID : 0x2500 Coprocessor Stepping ID : 3 PCIe Width : Insufficient Privileges PCIe Speed : Insufficient Privileges PCIe Max payload size : Insufficient Privileges PCIe Max read req size : Insufficient Privileges Coprocessor Model : 0x01 Coprocessor Model Ext : 0x00 Coprocessor Type : 0x00 Coprocessor Family : 0x0b Coprocessor Family Ext : 0x00 Coprocessor Stepping : B1 Board SKU : B1PRQ-5110P/5120D ECC Mode : Enabled SMC HW Revision : Product 225W Passive CS Cores Total No of Active Cores : 60 Voltage : 971000 uV Frequency : 1052631 kHz Thermal Fan Speed Control : N/A Fan RPM : N/A Fan PWM : N/A Die Temp : 49 C GDDR GDDR Vendor : Elpida GDDR Version : 0x1 GDDR Density : 2048 Mb GDDR Size : 7936 MB GDDR Technology : GDDR5 GDDR Speed : 5.000000 GT/s GDDR Frequency : 2500000 kHz GDDR Voltage : 1501000 uV Device No: 1, Device Name: mic1 ...
==============
Any suggestions on what is wrong? I am able to ssh into the mics and run native code there, so they seem to be functioning normally. But offloading does not seem to be working at all.