Intel Trace Analyzer / Collector

Version System A System B System C
Trace Analyzer 2021 (default) + +
Trace Analyzer 2020 + +
Trace Analyzer 2019 + +
Trace Analyzer 2018 + +

Key: + = Available for use, ― = Not available for use.

Version Modulefile Name
2021 iutils/xe2021
2020 iutils/xe2020
2019 iutils/xe2019
2018 iutils/xe2018

In the Intel compiler environment, execute the module command as shown below.

$ module load iutils

For details on the module command, see Modules.

By executing a program with using Intel Trace Analyzer/Collector, a data generated by Intel Trace Analyzer/Collector will be output to a temporary area (/tmp) of a computing node. Since the temporary area of a computing node has a limit on capacity, the data can exceed the limitation. In such a case, this may cause incorrect results in program execution. The output destination can be changed to a directory specified by an environment variable TMPDIR, you are recommended to set the LARGE disk space as the output destination.

Example of Setting

(In the case of tcsh)
$ setenv TMPDIR /LARGE0/gr19999/b59999/output
(In the case of bash)
$ export TMPDIR=/LARGE0/gr19999/b59999/output 

Command Purpose
traceanalyzer Starts up Trace Analyzer.

When using Intel Trace Analyzer / Collector, compile with the -trace option.

$ mpiicc  test.c -trace

Execute the compiled program with -trace option to generate a stf file containing trace information. In the example below, a program is executed in interactive mode with the tssrun command.

$ tssrun -A p=4 mpiexec.hydra ./a.out
Job <582271> is submitted to queue <tb>.
<<Waiting for dispatch ...>>
<<Starting on gb-0004>>
[0] Intel(R) Trace Collector INFO: Writing tracefile a.out.stf in /home/b/b59999/

In the X-Windows(GUI) environment(e.g., Exceed onDemand), execute the traceanalyzer command with the stf file specified to start up Intel Trace Analyzer.

$ traceanalyzer a.out.stf 

In the example figure below, Event Timeline is displayed from “Charts” > “Event Timeline.”

Compile by usual procedures.

$ mpiicc  test.c

Execute the program with -trace option to generate a stf file containing trace information. In the example below, a program is executed in interactive mode with the tssrun command.

$ tssrun -A p=4 mpiexec.hydra -trace ./a.out
Job <582271> is submitted to queue <tb>.
<<Waiting for dispatch ...>>
<<Starting on gb-0004>>
[0] Intel(R) Trace Collector INFO: Writing tracefile a.out.stf in /home/b/b59999/

In the X-Windows(GUI) environment(e.g., Exceed onDemand), execute the traceanalyzer command with the stf file specified to start up Intel Trace Analyzer.

$ traceanalyzer a.out.stf 


Copyright © Academic Center for Computing and Media Studies, Kyoto University, All Rights Reserved.