Versionen im Vergleich

Schlüssel

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

...

Run VTune-GUI remotely on your own browser (recommended interactive use)

Login First, login to the supercomputer with local port forwarding and start vtune server in the backgroundyour VTune server within an interactive job (1 hour):

Codeblock
languagebash
ssh -L 127.0.0.1:55055:127.0.0.1:55055 blogin.hlrn.de

salloc -p standard96:test -A zzz0002t 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 &

...

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

To quit the debug session press "Exit" in the VTune "Menu" (upper left symbol of "three horizontal bars"). Then close the browser page. Exit your compute node via CTRL+D and kill your interactive job:

Codeblock
languagebash
To quit press "Exit" in the "Menu" (upper left symbol of "three horizontal bars")
Close browser page
Exit compute node via CTRL+D
squeue -l -u $USER
scancel your-job-id
Exit login node via CTRL+D

...