Personal tools
You are here: Home UiT Stallo Documentation Stallo User Guide (old) Vtune
Document Actions

Vtune

Up to Table of Contents

Quick start vtune

Basic use of vtune


To use vtune tou need to belong to the vtune group (check with id -a) . If necessary, send an e-mail to support-uit@notur.no to update your group membership.


  • Login on stallo2

ssh -Y yourname@stallo-login2.uit.no

  •  define a workspace

    mkdir /global/work/yourname/vtune
    export VTUNE_GLOBAL_DIR=/global/work/yourname/vtune
  • start the vtune GUI

/opt/intel/vtune/bin/vtlec

  • click on the yellow cross
  • click on first use wizard
  • Under "Application to launch" write the name with full path of your script or executable
  • click finish
  • If you used a script, write the name with full path of your executable
  • click finish
  • In your timing overview, click on your executable under "Module"

Profiling an MPI job

  • start an interactive session
 qsub -I  -lnodes=12 -lwalltime=2:0:0 -A nn1123k
  • enable communication with vtune tools (on compute node)
 /opt/intel/vtune/bin/vtserver  --no-auth -d  /global/work/myname/perfdata

  • on stallo2 , launch the application (we assume the compute node is c38-5)
 /opt/intel/vtune/bin/vtl activity MyActivity -c sampling,,c38-5  -app /my/path/myjob,,,c38-5   -moi /my/path/myapp.exec run
The sampling results should now be collected in /global/work/myname/perfdata/vtserver_myname/sampling.tb5

  • start the vtune GUI
     /opt/intel/vtune/bin/vtlec

FILE->Open FIle

choose /global/work/myname/perfdata/vtserver_myname/sampling.tb5

In lower left part of GUI, right click on "Imported Sampling Results", choose "Open summary view"

then in the main GUI window click on your myapp.exec and profiling data should appear


 


by Roy Dragseth last modified Jul 22, 2008 02:22 PM Notur