| ... | @@ -20,6 +20,7 @@ title: Profilage de Code |
... | @@ -20,6 +20,7 @@ title: Profilage de Code |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
| ... | @@ -81,6 +82,16 @@ mv libbfd.a save-libbfd.a |
... | @@ -81,6 +82,16 @@ mv libbfd.a save-libbfd.a |
|
|
|
|
|
|
|
This will allow the compilation of Score-P and TAU with an automatic compile of the BFD library
|
|
This will allow the compilation of Score-P and TAU with an automatic compile of the BFD library
|
|
|
|
|
|
|
|
|
### Compilation BFD
|
|
|
|
|
|
|
|
Go in the BFD folder and type:
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure -prefix=$PROFILER_PATH
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
### Compilation PDT
|
|
### Compilation PDT
|
|
|
|
|
|
|
|
In the PDT folder, type:
|
|
In the PDT folder, type:
|
| ... | @@ -111,7 +122,7 @@ make install |
... | @@ -111,7 +122,7 @@ make install |
|
|
Go the Score-P folder, activate the `profilers` environment and type:
|
|
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 --enable-shared
|
|
./configure --prefix=$PROFILER_PATH --with-mpi=mpich4 --without-shmem --with-libbfd=$PROFILER_PATH --with-libunwind=download --enable-shared
|
|
|
make
|
|
make
|
|
|
make install
|
|
make install
|
|
|
```
|
|
```
|
| ... | @@ -123,7 +134,7 @@ This will restore the Conda environment |
... | @@ -123,7 +134,7 @@ This will restore the Conda environment |
|
|
In the TAU folder, activate the `profilers` environment and type
|
|
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=download -unwind=download
|
|
./configure -prefix=$PROFILER_PATH/ -papi=$PROFILER_PATH/ -pdt=$PROFILER_PATH/ -scorep=$PROFILER_PATH -mpi -c++=g++ -cc=gcc -fortran=gfortran -bfd=$PROFILER_PATH -unwind=download
|
|
|
make install
|
|
make install
|
|
|
```
|
|
```
|
|
|
|
|
|
| ... | |
... | |
| ... | | ... | |