Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4640 Discussions

Can vtune profiling HPC application with openmpi?

oleotiger
Novice
553 Views

vtune is a useful tool to collect  system metrics and analysis system performance.

There is how to use vtune ( fom oneapi) to analysis mpi application in document.  But here  mpi means intel mpi toolkit.

 

Can vtune profiling hpc application running with openmpi? I mean not tracing the process or pid of one rank of the application, but the whole distributed application on all nodes.

0 Kudos
7 Replies
JananiC_Intel
Moderator
519 Views

Hi,


Thanks for posting in Intel forums.


We will check on this and will get back to you soon.


Regards,

Janani Chandran


Dmitry_P_Intel1
Employee
518 Views

Hello,

It makes sense to check Application Performance Snapshot (that is a part of VTune) that designed to profile distributed MPI applications including large scale runs (tested up to 96K ranks). It provides a variety of MPI related metrics based on tracing and memory access and vectorization efficiency metrics based on HW counters. It supports OpenMPI.

Thanks & Regards, Dmitry

 

JananiC_Intel
Moderator
471 Views

Hi,


Have you tried Dmitry_P_Intel1 's suggestion .Is your issue resolved?


Regards,

Janani Chandran


oleotiger
Novice
461 Views

There is a away to use vtune to collect data and make top-down analysis.

With command ( intel mpi library

mpiexec.hydra -ppn 12 -hostfile ${hostfile}  -l vtune -quiet  -trace-mpi  -collect uarch-exploration -result-dir vtune_uarch-exploration ./wrf.exe

we can get detailed uarch data and analysis SoC behavior.

 

Aps does do the same but not as detailed as what vtune do.

Vinutha_SV
Moderator
400 Views

Hi,

Yes, you can use VTune to profile MPI applications.

I suppose this is the command you are looking for:

mpirun -n 1 vtune -collect uarch-exploration -result-dir test -trace-mpi -- test.exe : -n 39 test.exe

this command will profile rank 1 out of 40 ranks I am running.

You can get this command line from GUI by selecting "Arbitrary Host" from Where pane and then selecting the MPI launcher of your interest, provide selective ranks that you want to profile and then click on "get command line" Icon to get the command line.

 

JananiC_Intel
Moderator
377 Views

Hi,


Is your issue resolved? Please let us know if the issue still persists.


Regards,

Janani Chandran


JananiC_Intel
Moderator
342 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Regards,

Janani Chandran


Reply