Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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:55] – [Analyze measurements] adminoutils_analyse:hpctoolkit [2016/04/20 14:18] (Version actuelle) – [Links] admin
Ligne 48: Ligne 48:
 </code> </code>
  
-Events are passed as arguments of the form --event E_I@P_I, where:+Events are passed as arguments of the form ''--event E_I@P_I'', where:
  
-  * E_I: event identifier (WALLCLOCK, MEMLEAK, etc); +  * ''E_I'': event identifier (''WALLCLOCK'', ''MEMLEAK'', etc); 
-  * P_1: period in units meaningful to the event: microseconds for WALLCLOCK, cycles for PAPI_TOT_CYC, cache misses for PAPI_L2_DCA, etc. +  * ''P_1'': period in units meaningful to the event: microseconds for ''WALLCLOCK'', cycles for ''PAPI_TOT_CYC'', cache misses for ''PAPI_L2_DCA'', etc. 
  
  
-Now we pick a random metric to use, such as the performance of single precision division:+For example:
  
 <code bash> <code bash>
-$ mpirun -np 16 hpcrun --event WALLCLOCK@400000 --event PAPI_FDV_INS@10000 ./cpi+$ mpirun -np 16 hpcrun --event PAPI_L2_TCM@10000 --event PAPI_L2_DCA@10000  ./cpi
 </code> </code>
  
Ligne 66: Ligne 66:
 ==== Analyze measurements ==== ==== Analyze measurements ====
  
-Finally, we combine the measurements with the program structure, obtaining the final profiling database, using the command hpcprof:+Finally, we combine the measurements with the program structure, obtaining the final profiling database, using the command ''hpcprof'':
  
 <code bash> <code bash>
Ligne 73: Ligne 73:
  
 </code> </code>
 +
 +The parameter ''-I'' should point to the folder containing the program's source code
 ==== Display results ==== ==== Display results ====
 +Display results using hpcviewer:
 +
 +<code bash>
 +$ hpcviewer hpctoolkit-cpi-database
 +</code>
 +
 +{{ :outils_analyse:hpctoolkit.png?600 |}}
 +
 +=== Tracing ===
 +
 +
 +To get tracing information, the flag ''-t'' should be passed to ''hpcrun''. 
 +
 +We now point hpctraceviewer to the database folder:
 +
 +<code bash>
 +$ hpctraceviewer hpctoolkit-cpi-database
 +
 +</code>
 +
 +====== Links ======
 +
 +  * http://hpctoolkit.org/
  • outils_analyse/hpctoolkit.1461160545.txt.gz
  • Dernière modification : 2016/04/20 13:55
  • de admin