• 9.1
  • 08/07/2015
  • Public Content


This section describes the steps you need to do before you start using the Intel® Trace Analyzer and Collector and Intel® VTune™ Amplifier XE.
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
  • Intel® VTune™ Amplifier XE
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
script available at
, where
is the Intel® Parallel Studio XE Cluster Edition installation directory. For example:
$ source psxevars.sh
Windows* OS:
Open the command prompt from
Start > Intel Parallel Studio XE
> Compiler and Performance Libraries > Intel 64 Visual Studio
. This will set all required environment variables and you will be ready to trace your applications.
Creating Trace Files
To trace the
application, go to
and copy its contents into your working directory, then trace the application:
Linux* OS:
  1. Compile the application running the
    command. Adjust the
    , if necessary.
  2. Run the application with the
    $ mpirun -n 4 -trace ./poisson
Windows* OS:
  1. Compile all components of the
    application from the compiler command prompt with the
    option. Use the
    option to compile the application in debug mode. The basic command line for Fortran programs is:
    > mpiifort -trace -Zi 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
OS X*:
On OS X* Intel® Trace Collector is unavailable, therefore you cannot trace applications on this OS. Generate a tracefile on a Linux* or Windows* machine, or use the generated tracefiles from
Once you have the trace data available for the
application, you are ready to start the analysis.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.