| ... | ... | @@ -11,6 +11,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.
|
| ... | ... | @@ -86,14 +87,26 @@ make install |
|
|
|
|
|
|
|
### Compilation Score-P
|
|
|
|
|
|
|
|
In the Score-P folder, activate the `profilers` environment and type:
|
|
|
|
Go to the `$CONDA_PREFIX/lib` folder and type:
|
|
|
|
|
|
|
|
```
|
|
|
|
mv libbfd.a save-libbfd.a
|
|
|
|
```
|
|
|
|
|
|
|
|
Go the Score-P folder, activate the `profilers` environment and type:
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure --prefix=$PROFILER_PATH --with-mpi=mpich4 --without-shmem --with-libbfd=download --with-libunwind=download
|
|
|
|
./configure --prefix=$PROFILER_PATH --with-mpi=mpich4 --without-shmem --with-libbfd=download --with-libunwind=download --enable-shared
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
Go to the `$CONDA_PREFIX/lib` folder and type:
|
|
|
|
|
|
|
|
```
|
|
|
|
mv save-libbfd.a libbfd.a
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compilation TAU
|
|
|
|
|
|
|
|
In the TAU folder, activate the `profilers` environment and type
|
| ... | ... | |
| ... | ... | |