User Guide

Contents

Before You Begin

Visit the for known issues and the most up-to-date information.

Prepare Your Application

The only strict requirement for compilation and linking is full debug information. However, the optimization level is critical for both code generation and interpretation.
Intel® Advisor Beta
functions at any optimization level, but the following settings are considered the optimal requirements:
To Do This
Optimal Compiler Settings
Request full debug information (compiler and linker).
Linux* OS option:
-g
Windows* OS option:
  • /ZI
  • /DEBUG
Request moderate optimization.
Linux* OS option:
-O2
or higher
Windows* OS option:
/O2
or higher
Disable interprocedural optimizations that may inhibit the ability of
Intel® Advisor Beta
to collect performance data. Use this with
Intel® C++ Compiler Classic
and
Intel® Fortran Compiler Classic
only.
Linux* OS option:
-no-ipo
Windows* OS option:
/Qipo-

Set Up the
Intel® Advisor Beta
Environment

On macOS*, you can only view results collected on a Linux* or Windows* OS.
To set up the
Intel® Advisor Beta
environment, run the
vars
script:
  • On Linux* OS:
    source <install-dir>/env/vars.sh
  • On Windows* OS:
    <install-dir>\env\vars.bat
  • On macOS*:
    source <install-dir>/env/vars.sh
This script sets all required environment variables, including
APM
, which points to
<install-dir>/perfmodels
. This is the location of the
Offload Advisor
scripts in the
Intel® Advisor Beta
installation directory.
<install-dir>
is the installation path for the
Intel® Advisor Beta
. By default, it can be found inside the following:
  • On Linux OS:
    • /opt/intel/oneapi
      for root users
    • $HOME/intel/oneapi
      for non-root users
  • On Windows OS:
    C:\Program Files (x86)\Intel\oneAPI\
  • On macOS*:
    /opt/intel/oneapi

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804