|
|
# Loading the environment
|
|
|
## CoolMUC-2
|
|
|
module load itac
|
|
|
|
|
|
## Hamilton
|
|
|
There is currently no itac module for Hamilton (WIP) but you can source the setup script manually with:
|
|
|
`source /ddn/apps/Cluster-Apps/intel/xe_2017.2/itac/2017.2.028/bin/itacvars.sh`
|
|
|
|
|
|
# Configuration file
|
|
|
|
|
|
```
|
|
|
# Log file
|
|
|
LOGFILE-NAME traces/trace.stf
|
|
|
LOGFILE-FORMAT STFSINGLE # Collate into a single file
|
|
|
|
|
|
PROCESS 0:N OFF # Turn off tracing of all processes first
|
|
|
PROCESS 4:5 ON # Turn on only the processes you need to trace
|
|
|
|
|
|
# enable all MPI activity
|
|
|
ACTIVITY MPI ON
|
|
|
|
|
|
# enable all activities in the Application class
|
|
|
ACtIVITY APPLICATION ON
|
|
|
```
|
|
|
Let ITAC know where to find your configuration file with:
|
|
|
`export VT_CONFIG="trace.conf"`
|
|
|
|
|
|
# Generating the trace
|
|
|
|
|
|
mpi[exec|run] -np <num-ranks> **-trace** ./Exahype ./spec-file
|
|
|
|
|
|
# Analyzing the trace
|
|
|
|
|
|
`traceanalyzer <trace-file.stf>`
|
|
|
|
|
|
Recommendation: copy trace files to local machine for analysis
|
|
|
|
|
|
# Overview of GUI
|
|
|
|
|
|
Flat profile, load balance + pie chart, ungroup MPI
|
|
|
|
|
|
message profiles (attributes)
|
|
|
|
|
|
event trace - filter by tag and change function colours
|
|
|
|
|
|
# Useful links
|
|
|
http://www.nersc.gov/users/software/performance-and-debugging-tools/intel-trace-analyzer-and-collector/
|
|
|
|
|
|
|
|
|
|