Getting Started with Intel® Trace Analyzer and Collector on Linux* OS

Intel® Trace Analyzer and Collector is a graphical tool for understanding MPI application behavior, quickly finding bottlenecks, improving correctness, and achieving high performance for parallel cluster applications based on Intel® architecture. Improve weak and strong scaling for small and large applications with Intel® Trace Analyzer and Collector.

Intel® Trace Collector enables you to collect statistics for your applications, while Intel® Trace Analyzer provides powerful capabilities for visualizing and analyzing the collected data.

Intel® Trace Collector is available on Linux* OS and Windows* OS. Intel® Trace Analyzer is available on Linux* OS and Windows* OS.

You can download and install Intel® Trace Analyzer and Collector as part of Intel® Parallel Studio XE Cluster Edition.

Select Your Operating System to Get Started

Get Started

Prerequisites

Complete these steps before you start using Intel® Trace Analyzer and Collector:

  1. Make sure you have the following software installed:

    • Intel® C++/Fortran Compiler
    • Intel® MPI Library
    • Intel® Trace Analyzer and Collector

    All of these products are available as part of Intel® Parallel Studio XE Cluster Edition.

  2. Set up the environment by sourcing the psxevars.[c]sh script available at <install_dir>/parallel_studio_xe_<version>.x.xxx/bin. By default, <install_dir> is opt/intel.

    $ source psxevars.sh
    

    This sets the required environment variables for compilers, Intel® MPI Library and Intel® Trace Analyzer and Collector, and you are ready to trace your applications.

For system requirements, see the product Release Notes.

Step 1. Trace Your Application

Run your MPI application using the mpirun command with the -trace option to generate a trace file. For example:

$ mpirun -trace -n 4 ./myApp

A trace file .stf is generated, for example myApp.stf. For more details on tracing, see Intel® Trace Collector Help.

Step 2. Analyze the Application Behavior

  1. Open the generated .stf file in Intel Trace Analyzer:

    $ traceanalyzer ./myApp.stf
    
  2. Start analyzing your application using various charts and timelines. As a starting point, use the Summary Page to get the following information:

    • General information about your application
    • Recommendations on where to start the analysis

For detailed description of the available charts and diagrams, see Intel® Trace Analyzer Help.

Graphical User Interface

Hover over a GUI element (or tap and hold) for short description, click or tap for more details.

Documentation and Resources

To learn more about the product, see the following resources:

Legal Information

Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
* Other names and brands may be claimed as the property of others.

Copyright 2015-2018 Intel Corporation.

This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you (License). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission.

This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License.

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