Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| outils_analyse:hpctoolkit [2016/04/20 13:50] – [Recover static program structure] admin | outils_analyse:hpctoolkit [2016/04/20 14:18] (Version actuelle) – [Links] admin | ||
|---|---|---|---|
| Ligne 26: | Ligne 26: | ||
| </ | </ | ||
| ==== Recover static program structure ==== | ==== Recover static program structure ==== | ||
| + | |||
| Next, we must recover the static program structure from the linked binary, for which there is a tool named '' | Next, we must recover the static program structure from the linked binary, for which there is a tool named '' | ||
| Ligne 46: | Ligne 47: | ||
| </ | </ | ||
| + | |||
| + | Events are passed as arguments of the form '' | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | |||
| + | For example: | ||
| + | |||
| + | <code bash> | ||
| + | $ mpirun -np 16 hpcrun --event PAPI_L2_TCM@10000 --event PAPI_L2_DCA@10000 | ||
| + | </ | ||
| + | |||
| + | This will create a folder named '' | ||
| + | |||
| + | |||
| + | |||
| ==== Analyze measurements ==== | ==== Analyze measurements ==== | ||
| + | Finally, we combine the measurements with the program structure, obtaining the final profiling database, using the command '' | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | $ hpcprof -S cpi.hpcstruct -I ./' | ||
| + | |||
| + | </ | ||
| + | |||
| + | The parameter '' | ||
| ==== Display results ==== | ==== Display results ==== | ||
| + | Display results using hpcviewer: | ||
| + | |||
| + | <code bash> | ||
| + | $ hpcviewer hpctoolkit-cpi-database | ||
| + | </ | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | === Tracing === | ||
| + | |||
| + | |||
| + | To get tracing information, | ||
| + | |||
| + | We now point hpctraceviewer to the database folder: | ||
| + | |||
| + | <code bash> | ||
| + | $ hpctraceviewer hpctoolkit-cpi-database | ||
| + | |||
| + | </ | ||
| + | |||
| + | ====== Links ====== | ||
| + | |||
| + | * http:// | ||