From 2524684fff490dd7ddcd81f3e00eb5961cb7edde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= <lukas.krupcik@vsb.cz> Date: Fri, 17 Feb 2017 11:53:14 +0100 Subject: [PATCH] docs.it4i/salomon/software/intel-xeon-phi.md --- docs.it4i/salomon/software/intel-xeon-phi.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs.it4i/salomon/software/intel-xeon-phi.md b/docs.it4i/salomon/software/intel-xeon-phi.md index 99c3c78be..147b3db78 100644 --- a/docs.it4i/salomon/software/intel-xeon-phi.md +++ b/docs.it4i/salomon/software/intel-xeon-phi.md @@ -15,13 +15,13 @@ $ qsub -I -q qprod -l select=1:ncpus=24:accelerator=True:naccelerators=2:acceler To set up the environment module "intel" has to be loaded, without specifying the version, default version is loaded (at time of writing this, it's 2015b) ```console - $ ml intel +$ ml intel ``` Information about the hardware can be obtained by running the micinfo program on the host. ```console - $ /usr/bin/micinfo +$ /usr/bin/micinfo ``` The output of the "micinfo" utility executed on one of the cluster node is as follows. (note: to get PCIe related details the command has to be run with root privileges) @@ -149,7 +149,7 @@ $ ml intel For debugging purposes it is also recommended to set environment variable "OFFLOAD_REPORT". Value can be set from 0 to 3, where higher number means more debugging information. ```console - export OFFLOAD_REPORT=3 +export OFFLOAD_REPORT=3 ``` A very basic example of code that employs offload programming technique is shown in the next listing. Please note that this code is sequential and utilizes only single core of the accelerator. @@ -295,13 +295,13 @@ Intel MKL includes an Automatic Offload (AO) feature that enables computationall The Automatic Offload may be enabled by either an MKL function call within the code: ```cpp - mkl_mic_enable(); +mkl_mic_enable(); ``` or by setting environment variable ```console - $ export MKL_MIC_ENABLE=1 +$ export MKL_MIC_ENABLE=1 ``` To get more information about automatic offload please refer to "[Using Intel® MKL Automatic Offload on Intel ® Xeon Phi™ Coprocessors](http://software.intel.com/sites/default/files/11MIC42_How_to_Use_MKL_Automatic_Offload_0.pdf)" white paper or [Intel MKL documentation](https://software.intel.com/en-us/articles/intel-math-kernel-library-documentation). -- GitLab