Skip to content
Snippets Groups Projects
Commit 08d5cf8f authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update intel-xeon-phi-salomon.md

parent 07261bcb
No related branches found
No related tags found
4 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
...@@ -375,7 +375,7 @@ int main(int argc, char **argv) ...@@ -375,7 +375,7 @@ int main(int argc, char **argv)
``` ```
!!! note !!! note
This example is a simplified version of an example from MKL. The expanded version can be found here: **$MKL_EXAMPLES/mic_ao/blasc/source/sgemm.c** This example is a simplified version of an example from MKL. The expanded version can be found here: `$MKL_EXAMPLES/mic_ao/blasc/source/sgemm.c`.
To compile the code using the Intel compiler, use: To compile the code using the Intel compiler, use:
...@@ -512,19 +512,23 @@ mic0 $ export LD_LIBRARY_PATH=/apps/all/icc/2015.3.187-GNU-5.1.0-2.25/composer_x ...@@ -512,19 +512,23 @@ mic0 $ export LD_LIBRARY_PATH=/apps/all/icc/2015.3.187-GNU-5.1.0-2.25/composer_x
!!! note !!! note
The path exported in the previous example contains the path to a specific compiler (here the version is `2015.3.187-GNU-5.1.0-2.25`). This version number has to match with the version number of the Intel compiler module that was used to compile the code on the host computer. The path exported in the previous example contains the path to a specific compiler (here the version is `2015.3.187-GNU-5.1.0-2.25`). This version number has to match with the version number of the Intel compiler module that was used to compile the code on the host computer.
For your information, the list of libraries and their location required for execution of an OpenMP parallel code on Intel Xeon Phi is: The list of libraries and their location required for execution of an OpenMP parallel code on Intel Xeon Phi is:
!!! note !!! note
/apps/all/icc/2015.3.187-GNU-5.1.0-2.25/composer_xe_2015.3.187/compiler/lib/mic /apps/all/icc/2015.3.187-GNU-5.1.0-2.25/composer_xe_2015.3.187/compiler/lib/mic
libiomp5.so - libiomp5.so
libimf.so - libimf.so
libsvml.so - libsvml.so
libirng.so - libirng.so
libintlc.so.5 - libintlc.so.5
Finally, to run the compiled code, use: Finally, to run the compiled code, use:
```console
$ ~/path_to_binary/vect-add-mic
```
## OpenCL ## OpenCL
OpenCL (Open Computing Language) is an open standard for general-purpose parallel programming for diverse mix of multi-core CPUs, GPU coprocessors, and other parallel processors. OpenCL provides a flexible execution model and uniform programming environment for software developers to write portable code for systems running on both the CPU and graphics processors or accelerators like the Intel® Xeon Phi. OpenCL (Open Computing Language) is an open standard for general-purpose parallel programming for diverse mix of multi-core CPUs, GPU coprocessors, and other parallel processors. OpenCL provides a flexible execution model and uniform programming environment for software developers to write portable code for systems running on both the CPU and graphics processors or accelerators like the Intel® Xeon Phi.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment