Using Threaded Intel® MKL in Multi-Thread Application

Authored by Ying H. (Intel) Last updated on 03/31/2016 - 21:38

Using KMP_AFFINITY to create OpenMP* thread mapping to OS proc IDs

This article explains how to create your own OpenMP* thread mapping to OS proc IDs with Intel® C/C++ and Fortran compiler, by setting environment variable KMP_AFFINITY. It also provides some thread affinity demo results on when use different settings.
Authored by Last updated on 02/14/2016 - 10:19

Intel thread affinity environment variable for OpenMP*

Intel thread affinity environment variable KMP_AFFINITY for openMP is explained in Compiler Intel® compiler user guide topic “Thread Affinity Interface (Linux* and Windows*)”.
Authored by om-sachan (Intel) Last updated on 10/18/2012 - 22:14

Setting thread affinity on SMT or HT enabled systems for better performance

For SMT (Simultaneou Mutli Threading) or HT (Hyper Threading) enabled systems, for. e.g: "Nehalem" based machines to get best MKL performance we recommend you to set thread affinity.
Authored by Vipin Kumar E K (Intel) Last updated on 08/14/2012 - 02:22
For more complete information about compiler optimizations, see our Optimization Notice.