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:
\

### 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`.