tcheck, Qtcheck

Enables analysis of threaded applications.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux: -tcheck [mode]
Mac OS: None
Windows:  /Qtcheck[:mode]

Arguments

mode Indicates the method of analysis to be performed for threaded applications. Possible values are:
  tci Enables emulate-and-predicate analysis. It causes the Intel® Thread Checker to emulate OpenMP threads (without creating real OpenMP threads) and to predict errors that may occur if the program runs as a real OpenMP program. This mode only has an effect on OpenMP programs.
  tcd Enables run-and-detect analysis. It causes the Intel® Thread Checker to detect errors while the program is running. This mode has an effect on OpenMP and non-OpenMP programs. This is the default if mode is not specified.
  api Instruments system APIs for OpenMP and non-OpenMP programs.

Default

OFF Threaded applications are not instrumented by the compiler for analysis by Intel® Thread Checker.

Description

This option enables analysis of threaded applications.

If more than one -tcheck (Linux) or /Qtcheck (Windows) option is specified, the rightmost one is the one enabled by the compiler.

To use this option, you must have Intel® Thread Checker installed, which is one of the Intel® Threading Tools. If you do not have this tool installed, the compilation will fail. Remove the -tcheck or /Qtcheck option from the command line and recompile.

For more information about Intel® Thread Checker (including an evaluation copy), open the page associated with threading tools at Intel® Software Development Products.

Alternate Options

None