Intel® Trace Analyzer and Collector User and Reference Guide

ID 767272
Date 10/31/2024
Public
Document Table of Contents

Interoperability with Intel® VTune™ Profiler and Intel® Advisor

To simplify interoperability of Intel® Trace Analyzer and Collector with Intel® VTune™ Profiler and Intel® Advisor, Intel Trace Analyzer and Collector can generate a command line for mpirun / mpiexec.hydra targeted at analyzing specific processes with VTune Profiler or Intel Advisor. It takes your original command line and modifies it in a way that you can run the mentioned tools with it.

Both VTune Profiler and Intel Advisor serve to improve the node-level performance of your application. By default, Intel Trace Analyzer and Collector prepares command lines for the following types of analyses:

  • Intel® VTune™ Profiler: HPC Performance Characterization analysis – helps you identify how effectively your compute-intensive application uses CPU, memory, and floating-point operation hardware resources.

  • Intel® Advisor: Survey analysis – helps you choose possible places to add vectorization or threading parallelism.

 You can manually change the analysis type by adjusting the resulting command line. See documentation for the respective tool for the available analysis types.

NOTE:

This feature requires Intel MPI Library version 5.0.2 or newer installed on your system, and is currently unavailable on Windows* OS.

Intel Trace Analyzer and Collector can generate the command lines for:

  • A process identified by Intel Trace Analyzer and Collector as the most CPU-bound one. The command lines are generated automatically and displayed on the Summary Page. If the command lines are not available, links to the VTune Profiler and Intel Advisor documentation is displayed.
  • Manually selected processes. To generate the command lines open the Command line for Intel® VTune™ Profiler/Intel® Advisor dialog from one of the following menus:
    1. Advanced > Command line for VTune Profiler... or Advanced > Command line for Advisor...
    2. Advanced > Process Aggregation: context menu of the selected process or processes.
    3. Event Timeline chart: context menu of the selected process bar or process label. If your application is multithreaded, the command line will contain only process number rather than thread number.
    4. Function profile > Load Balance tab: context menu of the selected process.

For example, if your original command line is:

$ mpirun –trace –n 128 a.out

And you need to analyze processes 33 and 44, the generated command lines will look as shown below.

VTune Profiler:

$ mpirun –gtool “vtune –collect hpc-performance -r result:33,44” –n 128 a.out

Intel Advisor:

$ mpirun –gtool “advisor -collect survey:33,44” –n 128 a.out

Use the generated command line to analyze the specified processes with VTune Profiler, or Intel Advisor.