Version 0.1, 09.01.2017
Please send feedback or questions to heinrich.bockhorst(at)intel.com
$ module load Intel $ module load Advisor
This tool analyses SIMD vectorisation of programs compiled with Intel compiler. Please add "-g" to the compile line.
The analysis is done in several steps. The results of each step are accumulated into the current display.
All steps can be done using the Advisor GUI:
$ advixe-gui
For analysis on clusters it may be good to do these steps using the command line interface because there might be no X connection.
$ advixe-cl --help > advisor_help.txt
$ advixe-cl --help collect > advisor_help_collect.txt
$ advixe-cl --collect survey --project-dir ADV -- $PRG $FLAGS
$ advixe-cl --report=survey -format=csv --project-dir ADV | cut -d "," -f 1,2,3,5,6 > survey_short.txt—> 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.
$ advixe-cl --collect tripcounts -flops-and-masks --project-dir ADV -- $PRG $FLAGS
$ advixe-cl --collect dependencies -mark-up-list=5 --project-dir ADV -- $PRG $FLAGS
$ advixe-cl --collect map -mark-up-list=5 --project-dir ADV -- $PRG $FLAGS—> view results with GUI or ASCII report
$ advixe-cl --snapshot --project-dir ADV --pack --cache-sources --cache-binaries -- snapshot_01—> Open snapshot by starting the GUI and select "open result".