From 618f8abccebda74c574f08d2be91d1d3435597d0 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: Thu, 7 Dec 2017 11:54:40 +0100 Subject: [PATCH] fix --- docs.it4i/software/mic/mic_environment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs.it4i/software/mic/mic_environment.md b/docs.it4i/software/mic/mic_environment.md index 1edb5e3fd..016b7c80f 100644 --- a/docs.it4i/software/mic/mic_environment.md +++ b/docs.it4i/software/mic/mic_environment.md @@ -76,7 +76,7 @@ int main(int argc, char* argv[]) To compile a code using Intel compiler run. -* Create source-offload.cpp +* Create `source-offload.cpp` ```console $ vim source-offload.cpp @@ -136,7 +136,7 @@ double reduce(double* values) } ``` -* A create main.c +* A create `main.c` ```console vim main.c @@ -197,7 +197,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> -- GitLab