Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Second, open 127.0.0.1:55055 in your browser (allow security exception, if first time set initial password).

In 1st "Welcome" tab:

Under WHAT click: Configure Analysis
> Set application:  /path-to-your-application/program.exe
> Check: Use app. dir. as work dir.
> In case of MPI parallelism, expand "Advanced": keep defaults but paste the following wrapper script and check "Trace MPI":

Codeblock
languagebash
Under WHAT (in 1st "Welcome" tab)
-> Click: Configure Analysis
--> Application: /path-to-your-application/program.exe
--> Check: Use app. dir. as work dir.
--> Expand "Advanced": keep defaults but paste "Wrapper script:"
	#!/bin/bash
	# Prefix script
	echo "Target process PID: ${VTUNE_TARGET_PID}"
	# Run VTune collector
	mpirun -np 2 "$@"
--> Expand "Advanced"
---> keep defaults but paste "Wrapper script:"
---> Check: Trace MPI
Under HOW (in 1st "Welcome" tab)
-> Run "Performance Snapshot"
When complete (in 2nd tab r0...)
-> for overview expand: "HPC Perf. Characterization"
-> for results & to select next analysis expand: "Performance Snapshot" 
--> Click: "Hotspots"

Under HOW run: Performance Snapshot.
(When complete 2nd tab opens automatically.)

In 2nd "r0..." tab:

Codeblock
languagebash
Under HOW (in 3rd tab r0...)
-> Run "Hotspots"
When complete (after finalizing results)
--> Expand sub-tab "Top-down Tree"
---> In "Function Stack" expand "_start" fct. and expand further down to "main" fct. (first with entry under "Source File") 
---> Double click on: source_file_name.c
--> In new sub-tab "source_file_name.c" scroll down to line with max. "CPU Time: Total" to find hotspot

...