| ... | ... | @@ -114,6 +114,18 @@ export PATH=$PROFILER_PATH/bin:$PATH |
|
|
|
export PATH=$PROFILER_PATH/x86_64/bin/:$PATH
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Compilation Salt
|
|
|
|
|
|
|
|
In order to install the Salt source instrumentation tool, go to the Salt folder and type the following:
|
|
|
|
|
|
|
|
```
|
|
|
|
# configure SALT and generate build system
|
|
|
|
cmake -Wdev -Wdeprecated -S . -B $PROFILER_PATH -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++
|
|
|
|
cmake --build $PROFILER_PATH --parallel # Add --verbose to debug something going wrong
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Compilation Tau
|
|
|
|
|
|
|
|
When the variables are defined, go to the Tau folder and type:
|
|
|
|
|
|
|
|
```
|
| ... | ... | @@ -126,15 +138,7 @@ 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 Salt
|
|
|
|
|
|
|
|
In order to install the Salt source instrumentation tool, go to the Salt folder and type the following:
|
|
|
|
|
|
|
|
```
|
|
|
|
# configure SALT and generate build system
|
|
|
|
cmake -Wdev -Wdeprecated -S . -B $PROFILER_PATH -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++
|
|
|
|
cmake --build $PROFILER_PATH --parallel # Add --verbose to debug something going wrong
|
|
|
|
```
|
|
|
|
|
|
|
|
### Compilation Scalasca
|
|
|
|
|
| ... | ... | @@ -163,7 +167,7 @@ export PATH=$PROFILER_PATH/x86_64/bin/:$PATH |
|
|
|
To profile with TAU, first define the proper Makefile to use and eventually additional tau options:
|
|
|
|
|
|
|
|
```
|
|
|
|
export TAU_MAKEFILE=$PROFILER_PATH/x86_64/lib/Makefile.tau-mpi-pdt-scorep
|
|
|
|
export TAU_MAKEFILE=$PROFILER_PATH/x86_64/lib/Makefile.tau-clang-mpi
|
|
|
|
export TAU_OPTIONS='-optKeepFiles -optVerbose -optTauSelectFile="select.tau"'
|
|
|
|
```
|
|
|
|
|
| ... | ... | |
| ... | ... | |