Before Running the Correctness Tool

The Correctness tool runs your annotated serial program's executable and watches its memory access operations in great detail to predict possible parallel data sharing problems within the parallel sites. After you change annotations or fix data sharing problems, run the Correctness tool again to check the modified program's predicted data sharing problems. Repeat this until no data sharing problems remain.

Before you run the Correctness tool, do the following:

  • Insert Intel Advisor annotations into your sources to mark at least one parallel site and its associated task(s). This tool uses the executed annotations to predict your program's parallel behavior. If it already contains some parallel code, consider marking those code regions with site and task annotations.

  • Choose a reduced data set that allows this tool to predict data sharing problems, as described in Choosing a Small, Representative Data Set.

  • Build a target executable using a Debug configuration build, as described in About Choosing and Building a Target. For best results, the target must include debug information.

To run the Correctness tool, do one of the following:

  • In the Advisor XE Workflow tab or the Correctness Report side command toolbar, click the Collect Correctness Data button. To hide or show the command toolbar, click the Hide side command toolbar or Show side command toolbar button in the upper-right of the Correctness Report.

  • Click the icon in the Intel Advisor toolbar or the Tools > Intel Advisor XE 2013 menu.

Einzelheiten zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.