Intel® Thread Checker for Windows* - How to avoid false positives

Using Intel® Thread Checker on OpenMP* Applications Compiled with the Microsoft* Compiler To Avoid False Positives

  1. Acquire the dynamic version of the Intel® OpenMP* Compatibility Library ( >libiomp5md.lib/libiomp5md.dll) distributed with the Intel® Compilers at
  2. Compile the application using the following command:
    >cl file.c /openmp /MD /Od /Zi /link libiomp5md.lib /nodefaultlib:vcomp /fixed:no
  3. Launch the Intel® Thread Checker on the resulting binary.

Note: The Intel® Thread Checker uses thread count dependent (TCD) analysis mode to analyze your binary, as TCI mode requires the Intel Compiler.

If False Positives are not a Problem

Run the Intel® Thread Checker directly on a binary created with the default Microsoft* OpenMP* library ( >vomp.lib/vcomp.dll or >vcompd.lib/vcompd.dll).

Related Documentation

Confirmed On:

  • Microsoft* Visual Studio* 2005 development system
  • Intel® C/C++ Compiler 10.1 for Windows*
  • Intel® Fortran Compiler 10.1 for Windows*
  • Intel® Thread Checker 3.1 for Windows*

Operating System:

Windows* XP Professional x64 Edition, Windows Server* 2003 Standard x64 Edition, Windows Server* 2003 Enterprise x64 Edition, Longhorn Beta 1, Windows Vista* Beta 1, Windows* Storage Server, Windows Vista* 64, Windows Vista* Starter, 32-bit version, Windows Vista* Home Basic, 32-bit version, Windows Vista* Home Premium, 32-bit version, Windows Vista* Business, 32-bit version, Windows Vista* Enterprise, 32-bit version, Windows Vista* Ultimate, 32-bit version, Windows Vista* RC2, Windows Vista* Home Basic, 64-bit version, Windows Vista* Home Premium, 64-bit version, Windows Vista* Business, 64-bit version, Windows Vista* Enterprise, 64-bit version, Windows Vista* Ultimate, 64-bit version, Windows Vista*, Windows Vista* 32, Windows Server* 2003 for Itanium-based Systems, Windows* XP Starter Edition, Windows* Compute Cluster Server 2003, Windows* 2000, Windows* XP 64-Bit Edition, Windows* XP Professional, Windows* XP Home Edition, Window s* XP Tablet PC Edition, Windows Server* 2003, Windows* XP Media Center Edition, Windows* 2000 Server, Windows* 2000 Advanced Server, Windows Server* 2003 Standard Edition, Windows* XP 64-Bit Edition Version 2003
For more complete information about compiler optimizations, see our Optimization Notice.