| ... | @@ -3,6 +3,7 @@ title: Profilage de code (C/C++/Fortran) |
... | @@ -3,6 +3,7 @@ title: Profilage de code (C/C++/Fortran) |
|
|
---
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Code profilers
|
|
# 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.
|
|
In this Wiki, we will provide a methodology to install and run some code profilers. This has been tested on a specific Conda environment.
|
| ... | @@ -79,11 +80,6 @@ export MPICC=mpicc |
... | @@ -79,11 +80,6 @@ export MPICC=mpicc |
|
|
export MPICXX=mpic++
|
|
export MPICXX=mpic++
|
|
|
export MPIFORT=mpifort
|
|
export MPIFORT=mpifort
|
|
|
export FCFLAGS="-ffree-form"
|
|
export FCFLAGS="-ffree-form"
|
|
|
|
|
|
|
|
# Define library path and path
|
|
|
|
|
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
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
When the variables are defined, go the Score-P folder, activate the `profilers` environment and type:
|
|
When the variables are defined, go the Score-P folder, activate the `profilers` environment and type:
|
| ... | |
... | |
| ... | | ... | |