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.
KMP_AFFINITY
Bogus OpenMP KMP_AFFINITY warnings on non-Intel processor hosts
An application compiled with -Qopenmp (Windows*)/-openmp (Linux*) and run on a host not containing a genuine Intel® processor may generate bogus OMP: Warning #71 and Warning #72.
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.
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*)”.
