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 will need the following software installed on your system:

  • Intel® compilers
  • Intel® MPI Library
  • Intel® Trace Analyzer and Collector

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

Setting Up the Environment Variables

Linux* OS:

Set the required environment variables by sourcing the psxevars.c[sh] script available at <install-dir>/parallel_studio_xe_<version>, where <install-dir> is the Intel® Parallel Studio XE Cluster Edition installation directory. For example:

$ source

Windows* OS:

Open the command prompt from Start > Intel Parallel Studio XE version > Compiler and Performance Libraries > Intel 64 Visual Studio version environment. This will set all required environment variables and you will be ready to trace your applications.

Creating Trace Files

To trace the poisson application, go to <install-dir>/examples/poisson and copy its contents into your working directory, then trace the application:

Linux* OS:

  1. Compile the application running the make command. Adjust the Makefile, if necessary.

  2. Run the application with the -trace option of mpirun:

    $ mpirun -n 4 -trace ./poisson

Windows* OS:

  1. Compile all components of the poisson application from the compiler command prompt with the -trace option. The basic command line for Fortran programs is:

    > mpiifort -trace myApp.f90

  2. Run the application to generate a tracefile:

    > mpiexec -n 4 myApp.exe

For your convenience, this tutorial comes with a set of trace files available at <install-dir>/examples/traces.

Once you have the trace data available for the poisson application, you are ready to start the analysis.

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