|
|
|
---
|
|
|
|
title: Profilage de Code
|
|
|
|
---
|
|
|
|
|
|
|
|
# Code profilers
|
|
|
|
|
|
|
|
In this Wiki, we will provide a methodology to install and run some code profilers. This has been tested on a specific
|
| ... | ... | @@ -143,13 +144,13 @@ paraprof profile.0.0.0 & |
|
|
|
|
|
|
|
To allow profiling with Score-P, replace the standard compile commands as follows:
|
|
|
|
|
|
|
|
`g++` -> `scorep-g++`
|
|
|
|
`gfortran` -> `scorep gfortran`
|
|
|
|
`mpicxx` -> `scorep mpicxx`
|
|
|
|
`mpif90` -> `scorep mpif90`
|
|
|
|
`gcc` -> `scorep gcc`
|
|
|
|
`mpicc` -> `scorep mpicc`
|
|
|
|
`mpif77` -> `scorep mpif77`
|
|
|
|
- `g++` -> `scorep-g++`
|
|
|
|
- `gfortran` -> `scorep gfortran`
|
|
|
|
- `mpicxx` -> `scorep mpicxx`
|
|
|
|
- `mpif90` -> `scorep mpif90`
|
|
|
|
- `gcc` -> `scorep gcc`
|
|
|
|
- `mpicc` -> `scorep mpicc`
|
|
|
|
- `mpif77` -> `scorep mpif77`
|
|
|
|
|
|
|
|
For example
|
|
|
|
|
| ... | ... | |
| ... | ... | |