Interoperability with Intel® VTune™ Amplifier and Intel® Advisor

To simplify interoperability of Intel® Trace Analyzer with Intel® VTune™ Amplifier and Intel® Advisor, Intel Trace Analyzer can generate a command line for mpirun / mpiexec.hydra targeted at analyzing specific processes with Intel VTune Amplifier 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 Amplifier 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™ Amplifier: 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.

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 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 Amplifier and Intel Advisor documentation is displayed.
  • Manually selected processes. To generate the command lines open the Command line for Intel® VTune™ Amplifier/Intel® Advisor dialog from one of the following menus:
    1. Advanced > Command line for VTune Amplifier... 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™ Amplifier:

$ 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 Amplifier, or Intel Advisor.

See Also

Command line for Intel® VTune™ Amplifier and Intel® Advisor Dialog Box
Process Aggregation
Event Timeline
Load Balance

For more complete information about compiler optimizations, see our Optimization Notice.