Intel® Trace Analyzer and Collector

Prerequisites

This section describes the steps you need to do before you start using the Intel® Trace Analyzer and Collector.

Required Software

To perform all the steps described in this tutorial, you need the following software installed on your system:

Detecting and Resolving Errors

To demonstrate the process of correctness checking of MPI applications, this tutorial uses two sample applications that have errors in the source code. All the sample applications eligible for correctness checking are available at: <install-dir>/examples/checking. You can use these samples to manually experiment with the functionality using the workflow described here.

Summary

You have completed the Detecting and Resolving Errors with MPI Correctness Checker tutorial. The following is the summary of important things to remember when using this functionality to check your MPI application for errors.

Step

Tutorial Recap

Key Tutorial Take-aways

Configuration options overview

Overview

Intel® Trace Analyzer and Collector enables you to understand MPI application behavior and quickly find bottlenecks to achieve high performance for parallel cluster applications.  Intel® Trace Collector generates trace files for MPI applications, while Intel® Trace Analyzer visualizes the MPI application behavior using the generated trace file.

Besides the regular performance analysis, Intel® Trace Analyzer and Collector can perform correctness checking of MPI applications, which can help you:

Resolving the Deadlock

To avoid deadlock situations, you can use the following approaches:

  • Reorder MPI communication calls between processes.

  • Implement non-blocking calls.

  • Use MPI_Sendrecv or MPI_Sendrecv_replace.

  • Use the buffered mode.

The following code section leads to a deadlock in your original application:

Intel® Trace Analyzer and Collector 9.1 Update 2 Readme

The Intel® Trace Analyzer and Collector for Linux* and Windows* is a low-overhead scalable event-tracing library with graphical analysis that reduces the time it takes an application developer to enable maximum performance of cluster applications. This package is for users who develop on and build for Intel® 64 architectures on Linux* and Windows*, as well as customers running on the Intel® Xeon Phi™ coprocessor on Linux*. The package also includes an optional download on OS X* for analysis only. You must have a valid license to download, install and use this product.
  • Developers
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • C/C++
  • Fortran
  • Intel® Trace Analyzer and Collector
  • Message Passing Interface (MPI)
  • Cluster Computing
  • Parallel Computing
  • Subscribe to Intel® Trace Analyzer and Collector