- 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: Difference between revisions
From HLRS Platforms
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
** C/C++/C#, Fortran, Python and others | ** C/C++/C#, Fortran, Python and others | ||
| logo = [[Image:intel-logo.png]] | | logo = [[Image:intel-logo.png]] | ||
| developer = Intel | | developer = Intel | ||
| available on = | | available on = Hawk, Vulcan | ||
| category = [[:Category:Performance Analyzer | Performance Analyzer]] | | category = [[:Category:Performance Analyzer | Performance Analyzer]] | ||
| license = Commercial | | license = Commercial | ||
| website = [ | | website = [https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/vtune-profiler.html Intel® VTune™ Profiler homepage] | ||
}} | }} | ||
=== Using Intel VTune | === 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. [https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/analyzing-statically-linked-binaries-on-linux-targets.html Here] you can find some tips for statically linked binaries | |||
Example: | |||
<pre> | <pre> | ||
module load compiler/intel | module load compiler/intel |
Revision as of 16:11, 4 June 2021
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