| ... | ... | @@ -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.
|
| ... | ... | @@ -103,6 +104,16 @@ make install |
|
|
|
> **CAUTION**
|
|
|
|
> In TAU, each set of compile options generate a specific Makefile that will be used for the profiling. In the above, the generated Makefile will include PDT, Score-P and MPI. To compile a non-MPI program, re-compile TAU without the `-mpi` option
|
|
|
|
|
|
|
|
### Compilation Scalasca
|
|
|
|
|
|
|
|
Go to your Scalasca folder and type:
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure --prefix=$PROFILER_PATH
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
### Restoring the Conda library
|
|
|
|
|
|
|
|
Go to the `$CONDA_PREFIX/lib` folder and type:
|
| ... | ... | |
| ... | ... | |