diff --git a/docs.it4i/software/mic/mic_environment.md b/docs.it4i/software/mic/mic_environment.md index f5f9246814f7d1e8b5010029c85105eec617d615..1eb2ecad1a5a907f3693f4427b7a8791324fd477 100644 --- a/docs.it4i/software/mic/mic_environment.md +++ b/docs.it4i/software/mic/mic_environment.md @@ -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/)