| ... | ... | @@ -2,6 +2,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.
|
| ... | ... | @@ -12,6 +13,7 @@ In this Wiki, we will provide a methodology to install and run some code profile |
|
|
|
|
|
|
|
- Score-P: https://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-8.4/scorep-8.4.tar.gz
|
|
|
|
- Tau: http://tau.uoregon.edu/tau.tgz
|
|
|
|
- PDT: http://tau.uoregon.edu/pdt.tgz
|
|
|
|
|
|
|
|
### Conda Environment
|
|
|
|
|
| ... | ... | @@ -61,6 +63,16 @@ export PATH=$PROFILER_PATH/x86_64/bin/:$PATH |
|
|
|
|
|
|
|
## Compilation
|
|
|
|
|
|
|
|
### Compilation PDT
|
|
|
|
|
|
|
|
Go the PDT folder type:
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure -prefix=$PROFILER_PATH
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compilation Score-P
|
|
|
|
|
|
|
|
Go the Score-P folder, activate the `profilers` environment and type:
|
| ... | ... | @@ -71,14 +83,12 @@ make |
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
This will restore the Conda environment
|
|
|
|
|
|
|
|
### Compilation TAU
|
|
|
|
|
|
|
|
In the TAU folder, activate the `profilers` environment and type
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure -prefix=$PROFILER_PATH/ -papi=$PROFILER_PATH/ -pdt=$PROFILER_PATH/ -scorep=$PROFILER_PATH -mpi -c++=g++ -cc=gcc -fortran=gfortran -bfd=$PROFILER_PATH/vendor/libbfd -unwind=$PROFILER_PATH/vendor/libunwind
|
|
|
|
./configure -prefix=$PROFILER_PATH/ -pdt=$PROFILER_PATH/ -scorep=$PROFILER_PATH -mpi -c++=g++ -cc=gcc -fortran=gfortran -bfd=$PROFILER_PATH/vendor/libbfd -unwind=$PROFILER_PATH/vendor/libunwind
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
| ... | ... | |
| ... | ... | |