| ... | ... | @@ -242,6 +242,14 @@ paraprof scorep-20250310_1624_81500554863145/profile.cubex & |
|
|
|
|
|
|
|
### Profile with Score-P
|
|
|
|
|
|
|
|
To profile a code with Score-P, you first need to define some environment variables:
|
|
|
|
|
|
|
|
```
|
|
|
|
export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$PROFILER_PATH_SCOREP/lib
|
|
|
|
export PATH=$PROFILER_PATH_SCOREP/bin:$PATH
|
|
|
|
export PATH=$PROFILER_PATH_SCOREP/x86_64/bin/:$PATH
|
|
|
|
```
|
|
|
|
|
|
|
|
To allow profiling with Score-P, replace the standard compile commands as follows:
|
|
|
|
|
|
|
|
- `g++` -\> `scorep g++`
|
| ... | ... | |
| ... | ... | |