Versionen im Vergleich

Schlüssel

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

...

Codeblock
languagebash
ssh -L 127.0.0.1:55055:127.0.0.1:55055 blogin.hlrn.de
salloc -p standard96:test -t 01:00:00
ssh -L 127.0.0.1:55055:127.0.0.1:55055 $SLURM_NODELIST
module load vtune/2022
vtune-backend --web-port=55055 --enable-server-profiling &

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

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"

...