Learn how to use Intel® Advisor with prewritten sample code projects.
The samples are designed only to illustrate software features and do not represent best practices for tuning any particular code. Results may vary depending on the nature of the analysis and the code to which it is applied.
Default Installation Locations
Windows*: C:\Program Files (x86)\IntelSWTools\Advisor
Intel Advisor Beta
Windows: C:\Program Files (x86)\inteloneapi\advisor\<version>
Default Subdirectory Paths (by Programming Language)
Each subdirectory contains compressed files for each sample (.tgz for Linux*, .zip for Windows*). After you copy the compressed file to a writable directory, use a suitable tool to uncompress the sample files, which creates a subdirectory (for example, stats). On Linux systems, this subdirectory contains a makefile.
The parallel versions of some C and C++ samples require support for the parallel framework (provided with most editions of Intel® Parallel Studio XE). Fortran samples require the Intel® Fortran Compiler (also provided with most editions of Intel Parallel Studio XE).
The subdirectory contains the following resources for your project:
|Type of Sample Program
|Original serial program
|Serial program with parallel site and task annotations (lock annotations and restructuring advice appear as comment lines)
Parallel version that uses parallel framework in Intel® Threading Building Blocks, 3.0 or later.
To work with this project, do one of the following:
Use the Intel® C++ Compiler and its Select Build Components method.
Parallel version using the Intel® Cilk™ Plus parallel framework
To use this project, you must use the Intel C++ Compiler or another compiler that supports Intel Cilk Plus keywords. For more information, see the online Help:
|Parallel version using OpenMP* parallel framework for C, C++, and Fortran
Note The nqueens_Advisor, nqueens (Fortran), and the tachyon Advisor samples use a numeric digit as a prefix to the project name, as shown in the C, C++, or Fortran Intel Advisor tutorials. For example, you need to uncomment annotations for the serial sample 1_queens_serial that the Survey tool uses.
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