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

fix mic

parent 956669df
No related branches found
No related tags found
6 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,!196Master,!174MIC
......@@ -2,6 +2,9 @@
Intel Xeon Phi accelerator can be programmed in several modes. The default mode on the cluster is offload mode, but all modes described in this document are supported.
!!! warning
Only Salomon cluster.
## Intel Utilities for Xeon Phi
To get access to a compute node with Intel Xeon Phi accelerator, use the PBS interactive session
......@@ -10,7 +13,7 @@ To get access to a compute node with Intel Xeon Phi accelerator, use the PBS int
$ qsub -I -q qprod -l select=1:ncpus=24:accelerator=True -A NONE-0-0
```
To set up the environment module "intel" has to be loaded, without specifying the version, default version is loadedi
To set up the environment module `intel` has to be loaded, without specifying the version, default version is loadedi
```console
$ ml intel/2017b
......@@ -22,7 +25,7 @@ Information about the hardware can be obtained by running the micinfo program on
$ /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)
```console
MicInfo Utility Log
......@@ -197,7 +200,7 @@ $ qsub -I -q qprod -l select=1:ncpus=24:accelerator=True -A NONE-0-0
$ ml intel/2017b
```
To produce a binary compatible with Intel Xeon Phi architecture user has to specify "-mmic" compiler flag. Two compilation examples are shown below. The first example shows how to compile OpenMP parallel code `vect-add.c` for host only
To produce a binary compatible with Intel Xeon Phi architecture user has to specify `-mmic` compiler flag. Two compilation examples are shown below. The first example shows how to compile OpenMP parallel code `vect-add.c` for host only
```c
#include <stdio.h>
......@@ -516,18 +519,18 @@ r21u01n577-mic0:~$ cat test.mat
## Native Build Software With Devel Environment
Compiler
**Compiler**
* gcc (GCC) 5.1.1 without gfortran support
* gcc (GCC) 5.1.1 **without** gfortran support
Architecture (depends on compiled software):
**Architecture** (depends on compiled software):
* k1om-unknown-linux-gnu
* k1om-mpss-linux-gnu
* x86_64-k1om-linux
* k1om-mpss-linux
Configure (for `configure`,`make` and `make install` software)
**Configure step** (for `configure`,`make` and `make install` software)
* specify architecture `--build=`
......@@ -535,6 +538,6 @@ Configure (for `configure`,`make` and `make install` software)
./configure --prefix=/apps/phi/software/ncurses/6.0 --build=k1om-mpss-linux
```
Modulefile and Lmod
**Modulefile and Lmod**
* Read [Lmod](../modules/lmod/)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment