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:tau [2016/04/12 13:23] – admin | outils_analyse:tau [2016/04/22 09:04] (Version actuelle) – admin |
|---|
| ===== TAU usage and displaying tools ===== | ===== TAU usage and displaying tools ===== |
| |
| * **Dynamic Instrumentation**: No change to your application's source or binary code is necessary. Using the tau_exec command before your executable generates both profile and trace data. | - **Dynamic Instrumentation**: No change to your application's source or binary code is necessary. Using the tau_exec command before your executable generates both profile and trace data. |
| * **Compiler-Based Instrumentation**: TAU can also be used to compile your application using wrapper scripts for ''mpicc'', ''mpicxx'', and ''mpif90''. Tau instruments the binary code without changing the source. Using the ''tau_exec'' command before the TAU-compiled executable generates profile and trace data. Data is collected on both ''MPI'' calls and your application's function calls. | - **Compiler-Based Instrumentation**: TAU can also be used to compile your application using wrapper scripts for ''mpicc'', ''mpicxx'', and ''mpif90''. Tau instruments the binary code without changing the source. Using the ''tau_exec'' command before the TAU-compiled executable generates profile and trace data. Data is collected on both ''MPI'' calls and your application's function calls. |
| |
| ==== Dynamic Instrumentation ==== | ==== Dynamic Instrumentation ==== |
| |
| |
| <note tip>To display trace files we need to enable it first:<code> export TAU_TRACE=1</code></note> | <note tip> |
| | Usefull env variables: |
| | * TAU_TRACE=1 (defaul 0) to view traces |
| | * TAU_PROFILE=1 (default) |
| | * TAU_COMM_MATRIX=1 default 0) to view 3D communication matrix |
| | |
| | </note> |
| |
| - Load the needed tau <code bash>$ module load perf/tau/icc</code> | - Load the needed tau <code bash>$ module load perf/tau/icc</code> |