Skip to content
Snippets Groups Projects
intel-trace-analyzer-and-collector.md 1.62 KiB
Newer Older
  • Learn to ignore specific revisions
  • Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    # Intel Trace Analyzer and Collector
    
    
    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.), and simulate how your application would run on a different interconnect.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    ITAC is an 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.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    ## Installed Versions
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    For the current list of installed versions, use:
    
    ```console
    $ ml av itac
    ```
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    ## Collecting Traces
    
    
    ITAC can collect traces from applications that are using Intel MPI. To generate a trace, simply add the `-trace` option to your `mpirun` command:
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    ```console
    $ ml itac/9.1.2.024
    $ mpirun -trace myapp
    ```
    
    
    The trace will be saved in the myapp.stf file in the current directory.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    ## Viewing Traces
    
    
    To view and analyze the trace, open the ITAC GUI in a [graphical environment][1]:
    
    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
    
    
    Refer to the Intel documenation about usage of the GUI tool.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    ## References
    
    
    David Hrbáč's avatar
    David Hrbáč committed
    1. [Getting Started with Intel® Trace Analyzer and Collector][a]
    1. [Intel® Trace Analyzer and Collector - Documentation][b]
    
    [1]: ../../../general/accessing-the-clusters/graphical-user-interface/x-window-system.md
    
    [a]: https://software.intel.com/en-us/get-started-with-itac-for-linux
    [b]: https://software.intel.com/en-us/intel-trace-analyzer