Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrew_D_3
Beginner
71 Views

Intel Python seems to not run on Phi - miccheck etc pass

New install and config of  3120. 

Trying to run Anton's  python bench.py and although python -m TBB bench.py provides a slight speed (25/28 secs) improvement watching the micsmc there is no change in core utilization.  I presume that python is using the cores/threads on the CPU and not shifting anything to the Phi card.  

Is there a test suite available to stress test the Phi processor?  Is there any python code (other than Anton's) ?   

Htop does not show the expected 60+ cores either. 

Any help guidance would be greatly appreciated.

Diag data.

Python is intelpython27 2.7.11

miccheck 

Executing default tests for host

  Test 0: Check number of devices the OS sees in the system ... pass
  Test 1: Check mic driver is loaded ... pass
  Test 2: Check number of devices driver sees in the system ... pass
  Test 3: Check mpssd daemon is running ... pass
Executing default tests for device: 0
  Test 4 (mic0): Check device is in online state and its postcode is FF ... pass
  Test 5 (mic0): Check ras daemon is available in device ... pass
  Test 6 (mic0): Check running flash version is correct ... pass
  Test 7 (mic0): Check running SMC firmware version is correct ... pass

Status: OK

micinfo output (partial)

        Version
                Flash Version            : 2.1.02.0391
                SMC Firmware Version     : 1.17.6900
                SMC Boot Loader Version  : 1.8.4326
                Coprocessor OS Version   : 2.6.38.8+mpss3.7
                Device Serial Number     : ADKC51300027

        Board
                Vendor ID                : 0x8086
                Device ID                : 0x225d
                Subsystem ID             : 0x3608
                Coprocessor Stepping ID  : 2
                PCIe Width               : x16
                PCIe Speed               : 5 GT/s
                PCIe Max payload size    : 256 bytes
                PCIe Max read req size   : 512 bytes
                Coprocessor Model        : 0x01
                Coprocessor Model Ext    : 0x00
                Coprocessor Type         : 0x00
                Coprocessor Family       : 0x0b
                Coprocessor Family Ext   : 0x00
                Coprocessor Stepping     : C0
                Board SKU                : C0PRQ-3120/3140 P/A
                ECC Mode                 : Enabled
                SMC HW Revision          : Product 300W Active CS

        Cores
                Total No of Active Cores : 57
                Voltage                  : 920000 uV
                Frequency                : 1100000 kHz

0 Kudos
3 Replies
Gregg_S_Intel
Employee
71 Views

Is this software expected to offload work to a card?  I don't see any mention of offload  in the description.

If relying on MKL automatic offload, be sure to set MKL_MIC_ENABLE=1

For a stress test, use micperf included with Intel MPSS.

 

Andrew_D_3
Beginner
71 Views

Thank you for the pointers - Currently installing the C++ redistributables to get the micperf running

I had assumed that Anton's code with Intel Python would use the Phi cores if MIC_ENABLE was set (see ENV output) Note: OFFLOAD_report does not produce anything 

MIC_ENV_PREFIX=MIC
MIC_OMP_NUM_THREADS=120
MKL_MIC_ENABLE=1
OFFLOAD_REPORT=2

 

Sergey_M_Intel2
Employee
71 Views

Hi Andrew,

I believe you see no performance improvements because Intel(R) Xeon Phi(TM) support for Intel(R) Distribution for Python* was released just a few days ago. Please download 2017 Beta Update 1 https://software.intel.com/en-us/python-distribution to evaluate the MIC.

For faster response I also recommend to post your Python related issues on the corresponding forum https://software.intel.com/en-us/forums/intel-distribution-for-python because it is directly monitored by Intel Python engineers.

Sergey

Reply