Tutorial

Analyze MPI Applications with Intel® Trace Analyzer and Collector and Intel® VTune™ Profiler

ID 773180
Date 3/31/2023
Public

Analyzing an MPI Application

Use Intel Trace Analyzer to conduct a performance analysis and tune MPI communications between processes. Then switch to the VTune Profiler to carry out a new round of analysis and identify hotspots on specific processes.

This tutorial uses the poisson sample code as well as the sample trace files poisson_sendrecv.single.stf and poisson_icomm.single.stf to demonstrate the interoperability of the Intel Trace Analyzer and VTune Profiler that enables you to analyze and further tune the application.



Step 1: In Intel Trace Analyzer and Collector, Optimize MPI communications
  • Detect serialization in Function Profile and Message Profile.

  • Find imbalance on the inter-process level by comparing the original application with the idealized one.

  • Remove serialization.

Step 2: In VTune Profiler, Improve intra-process performance
  • Identify hotspots on the intra-process level.

  • Interpret the collected data to find MPI processes in the workload and find possible ways to resolve the issue.