Skip to content
Snippets Groups Projects
intel-trace-analyzer-and-collector.md 1.69 KiB
Newer Older
  • Learn to ignore specific revisions
  • Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    Intel Trace Analyzer and Collector
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ==================================
    
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    Intel Trace Analyzer and Collector (ITAC) is a tool to collect and graphicaly analyze behaviour of MPI applications. It helps you to analyze communication patterns of your application, identify hotspots, perform correctnes 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
    
    
    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.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    Installed version
    -----------------
    
    David Hrbáč's avatar
    David Hrbáč committed
    Currently on Salomon is version 9.1.2.024 available as module  itac/9.1.2.024
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    Collecting traces
    -----------------
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ITAC can collect traces from applications that are using Intel MPI. To generate a trace, simply add -trace option to your mpirun command :
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ```bash
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
        $ module load itac/9.1.2.024
        $ mpirun -trace myapp
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ```
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    The trace will be saved in file myapp.stf in the current directory.
    
    Viewing traces
    --------------
    
    To view and analyze the trace, open ITAC GUI in a [graphical environment](../../../get-started-with-it4innovations/accessing-the-clusters/graphical-user-interface/x-window-system/):
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ```bash
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
        $ module load itac/9.1.2.024
        $ traceanalyzer
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    ```
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    Pavel Jirásek's avatar
    Pavel Jirásek committed
    The GUI will launch and you can open the produced `*`.stf file.
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed
    
    
    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)
    
    Pavel Jirásek's avatar
    Pavel Jirásek committed
    2.  [Intel® Trace Analyzer and Collector - Documentation](https://software.intel.com/en-us/intel-trace-analyzer)
    
    Lukáš Krupčík's avatar
    Lukáš Krupčík committed