From 08d5cf8f45ab96c64ca72c406c1f0f3db93c00fd Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Wed, 20 May 2020 13:37:20 +0200 Subject: [PATCH] Update intel-xeon-phi-salomon.md --- .../software/intel/intel-xeon-phi-salomon.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs.it4i/software/intel/intel-xeon-phi-salomon.md b/docs.it4i/software/intel/intel-xeon-phi-salomon.md index 16e2490d3..dcf2d3140 100644 --- a/docs.it4i/software/intel/intel-xeon-phi-salomon.md +++ b/docs.it4i/software/intel/intel-xeon-phi-salomon.md @@ -375,7 +375,7 @@ int main(int argc, char **argv) ``` !!! 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: @@ -512,19 +512,23 @@ mic0 $ export LD_LIBRARY_PATH=/apps/all/icc/2015.3.187-GNU-5.1.0-2.25/composer_x !!! 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. -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 /apps/all/icc/2015.3.187-GNU-5.1.0-2.25/composer_xe_2015.3.187/compiler/lib/mic - libiomp5.so - libimf.so - libsvml.so - libirng.so - libintlc.so.5 + - libiomp5.so + - libimf.so + - libsvml.so + - libirng.so + - libintlc.so.5 Finally, to run the compiled code, use: +```console +$ ~/path_to_binary/vect-add-mic +``` + ## 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. -- GitLab