Indice

SPM Xeon PHI access 2014

Machine name

The machine is not registered on the DNS, you should use the IP address

Account

You should request the account to the SPM teacher sending an email with

Once you have the account (will be an “spm14XX”) you may access the host with the Xeon PHI board by

Environment settings

In order to be able to use the tools, you have to run the script in

Compiling and running code on the PHI

IN order to run a program on PHI:

  1. compile it on the host using icc with the additional flag -mmic
  2. copy the executable to the mic0 or mic1 with a scp a.out mic0:
  3. execute it on the mic: **ssh mic0 ./a.out

Please take into account that a minimal set of libraries is available on the mic.

FastFLow

Please take into account that you need to inlcude the flag -DNO_DEFAULT_MAPPING when compiling FastFlow programs, as the default mapping at the moment assumes a core numbering such as the one used for Sandy/Ivy Bridge (0 first context of the first core, 1 first context of the second core …) processors, which is different from the one used on PHI (0 first context of the first core, 1 second context of the first core …).

MIC0 and MIC1

You can use both the accelerators available on the machine (namely MIC0 and MIC1), despite the fact the examples in this page alway use mic0 …

Documentation

Available documentation on the Xeon PHI and the relative programming tools may be accessed at the Intel Xeon PHI Developer Zone