Intel® Advisor User Guide

ID 766448
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Error Message: No Annotations Found

Symptoms

  • A message appears when you click the Annotation Report button and you have not yet added Intel® Advisor annotations to your program, or you have not yet run the Suitability and Dependencies tools after adding the annotations.

  • When using the Intel® Advisor GUI while viewing the Summary window, you see a message No annotations detected in your project sources when your sources do contain annotations.

Cause

The Suitability and Dependencies tools use the annotations you added to your program to analyze your running program and populate the Annotation Report window with data. However, before you run these tools to collect data about your running program, you need to add annotations and perform related actions.

When using the Intel® Advisor GUI, make sure that the appropriate project properties have been specified so the Intel® Advisor tools can find the correct source location(s).

Also, if your sources contain huge source files that contain annotations, be aware that only the first 8 MB of each file will be parsed for annotations (for performance reasons). This could possibly cause mismatched or no annotations found messages.

Possible Solution

  • Do the following:

    1. Use the Survey analysis to find where your program spends its time. Choose at least one possible parallel code region (site) and identify code that might execute independently as a task.

    2. Use the code editor to add at least one pair of parallel site annotations that contain task annotation(s) into your program. You can copy annotation code using the bottom of the Survey Report or Survey Source windows.

    3. Make sure that these annotations are executed by the selected project or the selected startup project (Windows* OS).

    4. Make sure that you reference the annotations definitions file in the source modules where you added the annotations.

    5. Reference the annotations definition directory and provide other build settings.

    6. If you are using the Intel® Advisor GUI, check the Project Properties dialog to make sure that source locations are specified in the Source Search tab.

    7. If your sources include huge source files that contain annotations (more than 8 MB per file), consider breaking each huge source file into several source files.

  • Windows OS only: If you selected the wrong startup project, select and build the correct startup project, run either the Suitability or Dependencies tool, and click the Annotation Report button.

TIP:

For the most current information on optimal C/C++ and Fortran build settings, see Build Your Target ApplicationBuild Your Target Application.