| 1 | = Intel Advisor XE (Vectorisation analysis) = |
| 2 | Version 0.1, 09.01.2017\\ |
| 3 | Please send feedback or questions to heinrich.bockhorst@intel.com\\ |
| 4 | |
| 5 | === Load the necessary modules === |
| 6 | $ module load Intel\\ |
| 7 | $ module load Advisor\\ |
| 8 | |
| 9 | === Analysis === |
| 10 | This tool analyses SIMD vectorisation of programs compiled with Intel compiler. Please add "-g" to the compile line.\\ |
| 11 | The analysis is done in several steps. The results of each step are accumulated into the current display.\\ |
| 12 | All steps can be done using the Advisor GUI:\\ |
| 13 | $ advixe-gui \\ |
| 14 | For analysis on clusters it may be good to do these steps using the command line interface because there might be no X connection.\\ |
| 15 | |
| 16 | * Getting help:\\ |
| 17 | $ advixe-cl -help > advisor_help.txt\\ |
| 18 | |
| 19 | * Getting help on collection:\\ |
| 20 | $ advixe-cl -help collect > advisor_help_collect.txt\\ |
| 21 | |
| 22 | * Survey analysis (light weight profiling): \\ |
| 23 | $ advixe-cl --collect survey --project-dir ADV -- $PRG $FLAGS\\ |
| 24 | |
| 25 | * 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\\ |
| 27 | --> 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.\\ |
| 28 | --> Can be also viewed by the GUI.\\ |
| 29 | |
| 30 | * Trip count and flops analysis:\\ |
| 31 | $ advixe-cl --collect tripcounts -flops-and-masks --project-dir ADV -- $PRG $FLAGS\\ |
| 32 | |
| 33 | * 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\\ |
| 35 | |
| 36 | * Map (memory) analyis for the above loop showing stride:\\ |
| 37 | $ advixe-cl --collect map --mark-up-list=5 --project-dir ADV -- $PRG $FLAGS\\ |
| 38 | --> view results with GUI or ASCII report\\ |
| 39 | |
| 40 | * 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\\ |
| 42 | --> Open snapshot by starting the GUI and select "open result". |