| ... | ... | @@ -11,10 +11,8 @@ In this Wiki, we will provide a methodology to install and run some code profile |
|
|
|
|
|
|
|
- Score-P: https://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/scorep-8.4/scorep-8.4.tar.gz
|
|
|
|
- Tau: http://tau.uoregon.edu/tau.tgz
|
|
|
|
- PDT: http://tau.uoregon.edu/pdt.tgz
|
|
|
|
- PAPI: https://icl.utk.edu/projects/papi/downloads/papi-7.2.0b2.tar.gz
|
|
|
|
|
|
|
|
### Environment
|
|
|
|
### Conda Environment
|
|
|
|
|
|
|
|
Create the Conda environment as follows:
|
|
|
|
|
| ... | ... | @@ -28,6 +26,16 @@ Activate the environment: |
|
|
|
conda activate profilers
|
|
|
|
```
|
|
|
|
|
|
|
|
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**
|
|
|
|
|
|
|
|
### Environment variables
|
|
|
|
|
|
|
|
Next, create an environment variable that provides the install path where profiling libraries and binaries will be stored:
|
|
|
|
|
|
|
|
```
|
| ... | ... | @@ -50,43 +58,10 @@ export PATH=$PROFILER_PATH/bin:$PATH |
|
|
|
export PATH=$PROFILER_PATH/x86_64/bin/:$PATH
|
|
|
|
```
|
|
|
|
|
|
|
|
### Manual modification of the Conda library
|
|
|
|
|
|
|
|
Go to the `$CONDA_PREFIX/lib` folder and type:
|
|
|
|
|
|
|
|
```
|
|
|
|
mv libbfd.a save-libbfd.a
|
|
|
|
```
|
|
|
|
|
|
|
|
This will allow the compilation of Score-P and TAU with an automatic compile of the BFD library
|
|
|
|
|
|
|
|
### Compilation PDT
|
|
|
|
|
|
|
|
In the PDT folder, type:
|
|
|
|
|
|
|
|
```
|
|
|
|
./configure -prefix=$PROFILER_PATH -GNU
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
**Warning: there is only one `-` before prefix!**
|
|
|
|
|
|
|
|
### Compilation PAPI
|
|
|
|
|
|
|
|
In the PAPI folder, type:
|
|
|
|
|
|
|
|
```
|
|
|
|
cd src
|
|
|
|
./configure --prefix=$PROFILER_PATH
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
## Compilation
|
|
|
|
|
|
|
|
### Compilation Score-P
|
|
|
|
|
|
|
|
**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:
|
|
|
|
|
|
|
|
```
|
| ... | ... | |
| ... | ... | |