User Guide

  • 2021.2
  • 05/21/2021
  • Public Content
  • Download as PDF
Contents

Reference
the Annotations Definitions Directory

You need to specify the directory containing the
Intel® Advisor
definition file as an additional include directory when you compile your program.
Intel® Advisor
installs its annotation definition files into a default directory on your system.
For example:
  • With a Visual Studio project or solution for a C/C++
    or Fortran
    application, you need to specify the property
    Additional Include path
    . You can use the environment variable
    ADVISOR_<version>_DIR
    followed by the
    include
    directory.
  • With the C/C++ or Fortran command line, use the compiler option
    -I
    dir
    (Linux* OS) or
    /I
    dir
    (Windows* OS), where
    dir
    is the directory containing the annotation definition files. You can use the environment variable
    ADVISOR_<version>_DIR
    followed by the
    include
    directory.
  • With Fortran modules, you also need to specify the library name and directory of the annotations definitions to the linker.
  • With a Visual Studio project or solution for a C# program, you need to specify
    Properties
    >
    Add
    >
    Existing Item
    and browse to and select the annotations definitions file.
    C# and .NET support is deprecated starting
    Intel® Advisor
    2021.1.
For the most current information on optimal C/C++ and Fortran build settings, see Build Your Target Application.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.