| ... | ... | @@ -12,6 +12,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.
|
| ... | ... | @@ -93,6 +94,8 @@ Go to the `$CONDA_PREFIX/lib` folder and type: |
|
|
|
mv libbfd.a save-libbfd.a
|
|
|
|
```
|
|
|
|
|
|
|
|
**This trick allows to avoid the use of the Conda `BFD` library and will force the use of the Score-P BFD library**
|
|
|
|
|
|
|
|
Go the Score-P folder, activate the `profilers` environment and type:
|
|
|
|
|
|
|
|
```
|
| ... | ... | @@ -107,12 +110,14 @@ Go to the `$CONDA_PREFIX/lib` folder and type: |
|
|
|
mv save-libbfd.a libbfd.a
|
|
|
|
```
|
|
|
|
|
|
|
|
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/ -mpi -c++=g++ -cc=gcc -fortran=gfortran
|
|
|
|
./configure -prefix=$PROFILER_PATH/ -papi=$PROFILER_PATH/ -pdt=$PROFILER_PATH/ -scorep=$PROFILER_PATH -mpi -c++=g++ -cc=gcc -fortran=gfortran
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
| ... | ... | |
| ... | ... | |