User and Reference Guide

  • 2021
  • 03/26/2021
  • Public Content
Contents

Interoperability with Intel® VTune™ Profiler and Intel® Advisor

To simplify interoperability of Intel® Trace Analyzer with Intel® VTune™ Profiler and Intel® Advisor, Intel Trace Analyzer can generate a command line for
mpirun
/
mpiexec.hydra
targeted at analyzing specific processes with Intel 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 Intel VTune Profiler and Intel Advisor serve to improve the node-level performance of your application. By default, Intel Trace Analyzer prepares command lines for the following types of analyses:
  • Intel® VTune™ Profiler:
    HPC performance 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.
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 can generate the command lines for:
  • A process identified by Intel Trace Analyzer 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 Intel 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.
Intel® VTune™ Profiler:
$ mpirun –gtool “amplxe-cl –collect hpc-performance -r result:33,44” –n 128 a.out
Intel® Advisor:
$ mpirun –gtool “advixe-cl -collect survey:33,44” –n 128 a.out
Use the generated command line to analyze the specified processes with Intel VTune Profiler, or Intel Advisor.

Product and Performance Information

1

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