Skip to content
Snippets Groups Projects
Commit 2524684f authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

docs.it4i/salomon/software/intel-xeon-phi.md

parent c913ab8d
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!117Resolve "Ukázky z konzoly nemají být bash"
Pipeline #
...@@ -15,13 +15,13 @@ $ qsub -I -q qprod -l select=1:ncpus=24:accelerator=True:naccelerators=2:acceler ...@@ -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) 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 ```console
$ ml intel $ ml intel
``` ```
Information about the hardware can be obtained by running the micinfo program on the host. Information about the hardware can be obtained by running the micinfo program on the host.
```console ```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) 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 ...@@ -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. 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 ```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. 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 ...@@ -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: The Automatic Offload may be enabled by either an MKL function call within the code:
```cpp ```cpp
mkl_mic_enable(); mkl_mic_enable();
``` ```
or by setting environment variable or by setting environment variable
```console ```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). 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).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment