|
|
|
---
|
|
|
|
title: Profilage de code (C/C++/Fortran)
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
| ... | ... | @@ -193,9 +190,7 @@ export MPICH_CC=gcc |
|
|
|
export MPICH_FC=gfortran
|
|
|
|
export MPICH_F77=gfortran
|
|
|
|
|
|
|
|
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:
|
| ... | ... | |
| ... | ... | |