Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5041 Discussions

Can vtune profiling HPC application with openmpi?

oleotiger
Novice
1,427 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
1,393 Views

Hi,


Thanks for posting in Intel forums.


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


Regards,

Janani Chandran


0 Kudos
Dmitry_P_Intel1
Employee
1,392 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

 

0 Kudos
JananiC_Intel
Moderator
1,345 Views

Hi,


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


Regards,

Janani Chandran


0 Kudos
oleotiger
Novice
1,335 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.

0 Kudos
Vinutha_SV
Employee
1,274 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.

 

0 Kudos
JananiC_Intel
Moderator
1,251 Views

Hi,


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


Regards,

Janani Chandran


0 Kudos
JananiC_Intel
Moderator
1,216 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


0 Kudos
Reply