Changes between Version 2 and Version 3 of Public/User_Guide/IA


Ignore:
Timestamp:
Jul 23, 2018, 2:15:53 PM (6 years ago)
Author:
Jacopo de Amicis
Comment:

Format change for terminal commands.

Legend:

Unmodified
Added
Removed
Modified
  • Public/User_Guide/IA

    v2 v3  
    44
    55=== Load the necessary modules ===
    6 $ module load Intel\\
    7 $ module load Advisor\\
     6{{{
     7$ module load Intel
     8$ module load Advisor
     9}}}
    810
    911=== Analysis ===
     
    1113The analysis is done in several steps. The results of each step are accumulated into the current display.\\
    1214All steps can be done using the Advisor GUI:\\
    13  $ advixe-gui \\
     15{{{
     16$ advixe-gui
     17}}}
    1418For analysis on clusters it may be good to do these steps using the command line interface because there might be no X connection.\\
    1519
    1620  * Getting help:\\
    17     $ advixe-cl -help > advisor_help.txt\\
     21   {{{
     22   $ advixe-cl --help > advisor_help.txt
     23   }}}
    1824
    1925  * Getting help on collection:\\
    20     $ advixe-cl -help collect > advisor_help_collect.txt\\
     26    {{{
     27    $ advixe-cl --help collect > advisor_help_collect.txt
     28    }}}
    2129
    2230  * Survey analysis (light weight profiling): \\
    23     $ advixe-cl --collect survey --project-dir ADV -- $PRG $FLAGS\\
     31    {{{
     32    $ advixe-cl --collect survey --project-dir ADV -- $PRG $FLAGS
     33    }}}
    2434
    2535  * Analyse survey results - subset of loops printed in csv format:\\
    26     $ advixe-cl -report=survey -format=csv   --project-dir ADV | cut -d "," -f 1,2,3,5,6 > survey_short.txt\\
     36    {{{
     37    $ advixe-cl --report=survey -format=csv --project-dir ADV | cut -d "," -f 1,2,3,5,6 > survey_short.txt
     38    }}}
    2739    --> Shows all loops. Loops that are not vectorised are marked with "SCALAR". Note the IDs (first column) of the top scalar loops for later use.\\
    2840    --> Can be also viewed by the GUI.\\
    2941
    3042  * Trip count and flops analysis:\\
    31     $ advixe-cl --collect tripcounts -flops-and-masks --project-dir ADV -- $PRG $FLAGS\\
     43    {{{
     44    $ advixe-cl --collect tripcounts -flops-and-masks --project-dir ADV -- $PRG $FLAGS
     45    }}}
    3246
    3347  * Dependency analysis for Loop ID=5 shows to be scalar in survey above (for example, you may have other IDs): \\
    34     $ advixe-cl --collect dependencies --mark-up-list=5 --project-dir ADV -- $PRG $FLAGS\\
     48    {{{
     49    $ advixe-cl --collect dependencies -mark-up-list=5 --project-dir ADV -- $PRG $FLAGS
     50    }}}
    3551
    3652  * Map (memory) analyis for the above loop showing stride:\\
    37     $ advixe-cl --collect map --mark-up-list=5 --project-dir ADV -- $PRG $FLAGS\\
     53    {{{
     54    $ advixe-cl --collect map -mark-up-list=5 --project-dir ADV -- $PRG $FLAGS
     55    }}}
    3856    --> view results with GUI or ASCII report\\
    3957
    4058  * Generate snapshot (compressed result file). Can be copied to another computer and analysed:\\
    41     $ advixe-cl --snapshot --project-dir ADV --pack --cache-sources --cache-binaries -- snapshot_01\\
     59    {{{
     60    $ advixe-cl --snapshot --project-dir ADV --pack --cache-sources --cache-binaries -- snapshot_01
     61    }}}
    4262    --> Open snapshot by starting the GUI and select "open result".