Skip to content
Snippets Groups Projects
intel-trace-analyzer-and-collector.md 1.54 KiB
Newer Older
  • Learn to ignore specific revisions
  • Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    # Intel Trace Analyzer and Collector
    
    
    Lubomir Prda's avatar
    Lubomir Prda committed
    Intel Trace Analyzer and Collector (ITAC) is a tool to collect and graphically analyze behavior of MPI applications. It helps you to analyze communication patterns of your application, identify hotspots, perform correctness checking (identify deadlocks, data corruption etc), simulate how your application would run on a different interconnect.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    ITAC is a offline analysis tool - first you run your application to collect a trace file, then you can open the trace in a GUI analyzer to view it.
    
    ## Installed Version
    
    Currently on Salomon is version 9.1.2.024 available as module itac/9.1.2.024
    
    ## Collecting Traces
    
    ITAC can collect traces from applications that are using Intel MPI. To generate a trace, simply add -trace option to your mpirun command :
    
    ```console
    $ ml itac/9.1.2.024
    $ mpirun -trace myapp
    ```
    
    The trace will be saved in file myapp.stf in the current directory.
    
    ## Viewing Traces
    
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    To view and analyze the trace, open ITAC GUI in a [graphical environment](general/accessing-the-clusters/graphical-user-interface/x-window-system/):
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    ```console
    $ ml itac/9.1.2.024
    $ traceanalyzer
    ```
    
    The GUI will launch and you can open the produced `*`.stf file.
    
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ![](../../img/Snmekobrazovky20151204v15.35.12.png)
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    Please refer to Intel documenation about usage of the GUI tool.
    
    ## References
    
    1. [Getting Started with Intel® Trace Analyzer and Collector](https://software.intel.com/en-us/get-started-with-itac-for-linux)
    1. [Intel® Trace Analyzer and Collector - Documentation](https://software.intel.com/en-us/intel-trace-analyzer)