Reference the Annotations Definitions Directory
Reference
the Annotations Definitions DirectoryYou need to specify the directory containing the
definition file as an additional include directory when you compile your program.
installs its annotation definition files into a default directory on your system.
Intel® Advisor
Intel® Advisor
For example:
- With a Visual Studio project or solution for a C/C++or Fortranapplication, you need to specify the propertyAdditional Include path. You can use the environment variableADVISOR_<version>_DIRfollowed by theincludedirectory.
- With the C/C++ or Fortran command line, use the compiler option-Idir(Linux* OS) or/Idir(Windows* OS), wherediris the directory containing the annotation definition files. You can use the environment variableADVISOR_<version>_DIRfollowed by theincludedirectory.
- 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 specifyProperties>Add>Existing Itemand browse to and select the annotations definitions file.C# and .NET support is deprecated startingIntel® Advisor2021.1.
For the most current information on optimal C/C++ and Fortran build settings, see
Build Your Target Application.