Intel® Fortran Compiler

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.
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Fortran
  • Intel® C++ Compiler
  • Intel® Fortran Compiler
  • OpenMP*
  • KMP_AFFINITY
  • 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.
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • C/C++
  • Fortran
  • Compilers
  • Intel® C++ Compiler
  • Intel® Fortran Compiler
  • KMP_AFFINITY
  • Thread Affinity
  • thread mapping
  • thread bindings
  • OpenMP*
  • Threading
  • Superscalar programming 101 (Matrix Multiply) Part 5 of 5

    In part 4 we saw the effects of the QuickThread Parallel Tag Team Transpose method of Matrix Multiplication performed on a Dual Xeon 5570 systems with 2 sockets and two L3 caches, each shared by four cores (8 threads). and each processor with four L2 and four L1 caches each shared by one core and 2 threads, we find:

  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Server
  • Intermediate
  • Intel® C++ Compiler
  • Intel® Fortran Compiler
  • Intel® Parallel Composer
  • Intel® Parallel Studio
  • Intel® Parallel Studio XE
  • Intel® Cilk Plus Software Development Kit
  • Parallel Computing
  • Subscribe to Intel® Fortran Compiler