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

fix

parent 6d5edf6f
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
......@@ -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>
......
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