Check if a process is running on the Intel Phi

Hi everyone,

For energy measurement purposes I need to run a program "X" on the Intel phi, that detects when a program "Y" is running in the Intel phi.

Program X runs natively on the Intel Phi (I launch it directly from an ssh terminal logged in the Intel Phi) while program Y is offloaded from the host using micnativeloadex

Here is the code I use in program X, to find if a process is running is a function, that takes in parameter the name of the process:

How to use VTune with ssh public key?


My system forces users to use public key to access to not only the host system but also its coprocessors. I just want to collect some performance data from the Xeon Phi. (My application works in native mode.) So I ran the VTune tool with a command like the below.


 amplxe-cl -collect knc-lightweight-hotspots -result-dir ./analysis -target-system=mic-native -- ssh -i ~/.ssh/id_rsa_phi root@mic0 "application.out" 


But I just got the permission denied errors.


Distinguishing OFFLOAD_REPORT statements between multiple nodes

Hello all,

So I have three nodes, each with 2 Xeon Phi (5110P). I'm using OFFLOAD_REPORT to gather all of its wonderful information; however I'm unable to distinguish which Xeon Phi corresponds to a particular node. For each node, each MIC is numbered 0-N, where N is the number of Xeon Phi on that node (in my case, 2). So for a 3 node system, the offload report generates 3 offload reports with identical tags and MIC ID's. See below for some sample output.

different performance on nativ and offload modes


  • host: Xeon E5-2690, 2,9 GHz, 64 Gb
  • mic: Intel Xeon Phi 7110X, 1,1 GHz, 8 Gb
    • OS Version                      : 2.6.32-220.el6.x86_64
    • Driver Version                 : 5889-16
    • MPSS Version                 : 2.1.5889-16
    • Host Physical Memory    : 65868 MB
  • ICC: 14.0.1 (composer_xe_2013_sp1.1.106

I took the test from this subject (https://software.intel.com/en-us/forums/topic/531488) and modified it to run in offload mode.

OpenMP 4.0 Fortran -> $omp target map(to:x) Does not copy scalars

Hello. Ever since I tried switching over to openMP 4.0 from LEO my code was not working properly. Finally figured out that during the offload transfer the map clause copies arrays but DOES NOT COPY SCALARS. 

The only way to get scalars copied to the device is to call target update to(scalar)

Can someone please explain this behaviour?

Using icc 15.0.1

EDIT: Scalars created in the same file are copied, but scalars imported from a different file using USE do not get copied. Arrays get copied no matter where they originate from.

Using OpenCL™ 2.0 Read-Write Images

While Image convolution is not as effective with the new Read-Write images functionality, any image processing technique that needs be done in place may benefit from the Read-Write images. One example of a process that could be used effectively is image composition. In OpenCL 1.2 and earlier, images were qualified with the “__read_only” and __write_only” qualifiers. In the OpenCL 2.0, images can be qualified with a “__read_write” qualifier, and copy the output to the input buffer. This reduces the number of resources that are needed.
  • Developers
  • Partners
  • Professors
  • Students
  • Android*
  • Apple OS X*
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 10
  • Microsoft Windows* 8.x
  • Unix*
  • Android*
  • Game Development
  • Server
  • Windows*
  • C/C++
  • Beginner
  • Intermediate
  • OpenCL*
  • Coding OpenCL
  • Game Development
  • Graphics
  • Intel® Atom™ Processors
  • Intel® Core™ Processors
  • Microsoft Windows* 8 Desktop
  • Parallel Computing
  • running mpi program in mic


           I have compile OpenFOAM for mic architecture. I am able to run the program without any trouble. But I am having trouble with running openfoam in parallel. The way OpenFOAM works in parallel is you decompose the mesh in to sub domains and put the folders in to processor 1 2 etc folders 

    But when I issue the command to run the program in parallel, it is creating two seperate instances of the same program.

    export I_MPI_MIC=1

    mpiexec.hydra -np 2 ./pisoFoam

    I am adding some of the first lines of output

    Xeon Phi 5110P on Dell Precision T3600 Workstation installation


    has anybody successfully installed a Xeon Phi 5110P on a Dell Precision T3600 Workstation?

    My card is in a PCIe v3 x16 slot but it doesn’t show up in BIOS or “lspci”. Blue LEDs on the card are blinking irregularly, 6pin and 8pin PCIe power connectors are plugged in (my first error ;-). I flashed the BIOS to revision A14, so that I was able to set the “PCI MMIO Space Size” BIOS Parameter to "Large". I also removed my Nvidia Tesla C2075 from the board, because together they took more power than the system can provide (my second error ;-)

    Subscribe to Unix*