| ... | ... | @@ -3,6 +3,7 @@ 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 Conda environment.
|
| ... | ... | @@ -194,14 +195,17 @@ Next, execute your code as follows: |
|
|
|
./test.exe
|
|
|
|
```
|
|
|
|
|
|
|
|
A `profile.0.0.0` file containing the profile informations will appear.
|
|
|
|
|
|
|
|
The profile file can be opened by using the `paraprof` function:
|
|
|
|
A `scorep-` folder will appear containing all the profiling informations. It can be opened by using the `paraprof` tool as follows:
|
|
|
|
|
|
|
|
```
|
|
|
|
paraprof profile.0.0.0 &
|
|
|
|
paraprof scorep-20250310_1624_81500554863145/profile.cubex &
|
|
|
|
```
|
|
|
|
|
|
|
|
> **Note**:
|
|
|
|
> `.cubex` files can also be analysed using the Cube software, available as an App Image [here](https://apps.fz-juelich.de/scalasca/releases/cube/4.8/dist/CubeGUI-4.8.2.AppImage):
|
|
|
|
> `CubeGUI-4.8.2.AppImage scorep-20250310_1624_81500554863145/profile.cubex &`
|
|
|
|
|
|
|
|
|
|
|
|
### Profile with Score-P
|
|
|
|
|
|
|
|
To allow profiling with Score-P, replace the standard compile commands as follows:
|
| ... | ... | |
| ... | ... | |