| ... | ... | @@ -4,6 +4,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
|
| ... | ... | @@ -31,10 +32,15 @@ Activate the environment: |
|
|
|
conda activate profilers
|
|
|
|
```
|
|
|
|
|
|
|
|
Next, create some environment variables that will be used all along the compilation process:
|
|
|
|
Next, create an environment variable that provides the install path where profiling libraries and binaries will be stored:
|
|
|
|
|
|
|
|
```
|
|
|
|
export PROFILER_PATH=/home/BARRIER/Softwares/profilers/install
|
|
|
|
```
|
|
|
|
|
|
|
|
Next, create some environment variables that will be used all along the compilation process:
|
|
|
|
|
|
|
|
```
|
|
|
|
export CC=gcc
|
|
|
|
export FC=gfortran
|
|
|
|
export CXX=g++
|
| ... | ... | |
| ... | ... | |