Tutorial: Reducing Trace File Size for Intel® Trace Analyzer and Collector
This section describes the steps you need to do before you start using the Intel® Trace Analyzer and Collector.
To perform all the steps described in this tutorial, you will need the following software installed on your system:
All of the Intel products above are installed as part of Intel® Parallel Studio XE Cluster Edition.
Linux* OS:
Set the required environment variables by sourcing the psxevars.c[sh] script available at <install-dir>/parallel_studio_xe_<version>.x.xxx/bin, where <install-dir> 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 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.
To get the poisson application source code, go to https://software.intel.com/en-us/product-code-samples, download and extract the Intel® Trace Analyzer and Collector Poisson Sample archive to your working directory. You are then ready to trace the application:
Linux* OS:
Compile the application by running the make command. Adjust the Makefile, if necessary.
Run the application:
$ make run
Windows* OS:
From the command prompt you opened in the previous step, do the following:
Compile the application by running the build.bat file:
> build.bat release
Run the application to generate a trace file:
> build.bat run
For your convenience, Intel® Trace Analyzer and Collector comes with a set of trace files available at <install-dir>/examples/traces.
OS X*:
On OS X* Intel® Trace Collector is unavailable, therefore you cannot trace applications on this OS. Generate a trace file on a Linux* or Windows* machine, or use the generated trace files from <install-dir>/examples/traces.
Once you have the trace data available for the poisson application, you are ready to start the analysis.