- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel forums.
We will check on this and will get back to you soon.
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have you tried Dmitry_P_Intel1 's suggestion .Is your issue resolved?
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is your issue resolved? Please let us know if the issue still persists.
Regards,
Janani Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page