- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -
VTune
From HLRS Platforms
Jump to navigationJump to search
Intel® VTune™ Profiler is a performance analysis tool for serial and multithreaded applications. Use VTune Profiler:
|
|
Using Intel VTune
To perform the performance analyse of your application with VTune you don’t need special compiler wrapper or libraries. Just recompile and relink your code with extra –g option in order to include debug information. VTune works well for dynamically linked binaries. Here you can find some tips for statically linked binaries Example:
module load compiler/intel module load performance/vtune # set up VTune environment module load mpi/impi # if MPI needed
Compilation example:
ifort -g -O2 prog.f90
Analyzing MPI applications:
mpirun –n4 amplxe-cl -c hotspots –r my_result -- path_to_my_app
Using Intel VTune on Cray machines
Load the necessary module. For example:
module swap PrgEnv-cray PrgEnv-intel # set up MPI environment too module load performance/vtune # set up VTune environment
Compilation example:
ftn -dynamic -g -O2 prog.f90
Analyzing MPI applications:
aprun –n4 amplxe-cl -c hotspots –r myResult-@@@{at} -- path_to_my_app