Getting Started with Intel® Trace Analyzer and Collector on Windows* 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:

    • Microsoft* Visual Studio*
    • Intel® C++/Fortran Compiler
    • Intel® MPI Library
    • Intel® Trace Analyzer and Collector

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

  2. Set up the environment by running the compiler command prompt. Go to Start > Apps > Intel Parallel Studio XE <version> and select the batch file appropriate for your architecture and Visual Studio* version.

    Alternatively, run the psxevars.bat script available at <install_dir>\parallel_studio_xe_<version>.x.xxx\bin. By default, <install_dir> is: C:\Program Files (x86)\IntelSWTools.

    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

  1. Compile your application with the -trace option. For example:

    > mpiicc -trace myApp.c
    
  2. Run your MPI application, using the mpiexec command to generate a trace file. For example:

    > mpiexec -n 4 myApp.exe
    

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.