Skip to content
Snippets Groups Projects
Commit 5b08da7e authored by Andreas Herten's avatar Andreas Herten
Browse files

Merge branch 'patch-3' into 'master'

Update Profiling-scorep-Vampir.md

See merge request !4
parents 7469e67a 814c9591
Branches
Tags
1 merge request!4Update Profiling-scorep-Vampir.md
...@@ -6,31 +6,24 @@ Score-P allows for detailed instrumentation of an application using CPU and/or G ...@@ -6,31 +6,24 @@ Score-P allows for detailed instrumentation of an application using CPU and/or G
### Modules ### Modules
Score-P is available both on JURECA and on JURON. But with different features and configurations. Score-P is available both on JUWELS and on JURON. But with different features and configurations.
* JURECA * JUWELS
- Score-P for CUDA (via `Stages/Devel`) - Score-P for GCC + CUDA
+ `module use /usr/local/software/jureca/OtherStages; module load Stages/Devel;` + `module use /p/scratch/share/GPU-Hackathon/mf`
+ `module load GCC/5.4.0 CUDA/8.0.44 MVAPICH2/2.2-GDR` + `module load Score-P/5.0-gnu-mvapich-cuda`
+ `module load Score-P/3.0-p1` + `module load CubeGUI`
- Score-P for PGI 16.10 - Score-P for PGI 18.4
+ *Currently unavailable; if needed, please talk to Andreas* + `module use /p/scratch/share/GPU-Hackathon/mf`
- Score-P for PGI 17.1 (via `Stages/Devel`) + `module load Score-P/5.0-pgi-mvapich-cuda`
+ `module use /usr/local/software/jureca/OtherStages; module load Stages/Devel;` + `module load CubeGUI`
+ *Note: `nvcc` is currently not working as a target compiler for `scorep`; the CUDA support is unavailable (OpenACC should work, though)* + *Note: `nvcc` is currently not tested as a target compiler for `scorep`; the CUDA support might be unavailable (OpenACC should work, though)*
- Score-P for GCC
+ `module load GCC/5.4.0 ParaStationMPI/5.1.5-1`
+ `module load Score-P/3.0-p1`
* JURON
- Score-P for CUDA
+ `module load gcc/5.4.0 nvidia/cuda/8.0`
+ `module load scorep/3.0-gcc5.4-ompi2.0.0-cuda8-papi5.5.0`
### How-to Score-P ### How-to Score-P
#### Compilation #### Compilation
Score-P works easiest by prefixing the compilation command with `scorep`. Instead of calling `nvcc ARGS`, call `scorep nvcc ARGS`; instead of `pgfortran ALL`, call `scorep pgfortran ARGS`. Score-P works easiest by prefixing the compilation and linking command with `scorep`. Instead of calling `nvcc ARGS`, call `scorep nvcc ARGS`; instead of `pgfortran ALL`, call `scorep pgfortran ARGS`.
Important flags to `scorep` for us: Important flags to `scorep` for us:
...@@ -89,18 +82,16 @@ flt type max_buf[B] visits time[s] time[%] time/visit[us] region ...@@ -89,18 +82,16 @@ flt type max_buf[B] visits time[s] time[%] time/visit[us] region
### Cube ### Cube
Cube is the *performance report explorer for Scalasca*, a GUI application which can be launched either on JURON or JURECA. It can also be downloaded as free software from [scalasca.org](http://www.scalasca.org/software/cube-4.x/download.html) and run locally to explore profiles. Cube is the *performance report explorer for Scalasca*, a GUI application which can be launched either on JURON or JUWELS. It can also be downloaded as free software from [scalasca.org](http://www.scalasca.org/software/cube-4.x/download.html) and run locally to explore profiles.
On JURON and JURECA, Cube comes with the respective Score-P module.
After importing a profile, Cube looks like this: After importing a profile, Cube looks like this:
![Cube](img/screenshot-cube--HQ.png)\ ![Cube](img/screenshot-cube--HQ.png)
### Vampir ### Vampir
Vampir is installed on JURECA, available through the `Vampir` module: `module load Vampir`. Vampir is installed on JUWELS, available through the `Vampir` module: `module load Vampir`.
Vampir is used to study trace files, generate them with Score-P by setting the environment variable `SCOREP_ENABLE_TRACING=true` prior to running your program. Vampir is used to study trace files, generate them with Score-P by setting the environment variable `SCOREP_ENABLE_TRACING=true` prior to running your program.
If the environment variable is set, a `.otf2` trace file is placed into the Score-P result directory. Open it with `vampir`. If the environment variable is set, a `.otf2` trace file is placed into the Score-P result directory. Open it with `vampir`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment