Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4825 Discussions

USE Vtune to Analysis of the MPI ,but it always pop up error

guorui
Employee
487 Views

I use Vtune to analyze MPI issue, I have install it at openstack instance,but it pop up can run

at Virtual machine,How can I fix it ?

 

1. I_MPI_DEBUG=5.

I tried two things,

1) export I_MPI_DEBUG = 5

mpirun -np 4 aps ~/binary/vasp_std_2022

2) mpirun -genv I_MPI_DEBUG=5 -np 4 aps ~/binary/vasp_std_2022

They all get the same error:

vtune: Warning: Memory bandwidth collection is not supported inside a virtual machine since uncore events cannot be collected. For full functionality, consider using a bare-metal environment.

vtune: Warning: CPU frequency data collection is not supported on this platform.

vtune: Error: amplxe-perf:

Using CPUID GenuineIntel-6-6A-6

both cgroup and no-aggregation modes only available in system-wide mode

Usage: perf stat [] []

-G, --cgroup monitor event in cgroup name only

-A, --no-aggr disable CPU count aggregation

-a, --all-cpus system-wide collection from all CPUs

--for-each-cgroup expand events for each cgroup

vtune: Error: Preliminary validation of the requested events failed.

aps Error: Cannot run the collection.

aps Error: Cannot process configs directory.

aps Error: Cannot process configs directory.

aps Error: Cannot process configs directory.

0 Kudos
3 Replies
ShyamS_Intel
Moderator
442 Views

Hi,

 

Thank you for posting in Intel communities.

 

From the commands you provided, we could observe that you are using 'aps' while profiling. While using aps command you need to use some parameters like collection-mode, please refer the below screenshot.

MicrosoftTeams-image (1).png

We tried reproducing your issue and below command works fine. Please try the below commands and let us know if the issue still persists.

MicrosoftTeams-image.png

If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue. Thank you!

 

Regards,

Shyam Sundar

 

guorui
Employee
405 Views

Dear Shyam Sundar

 

       Thank you very much for your help. Now use mpirun -genV I_MPI_DEBUG= 5-NP 4 APS -- collect-mode = OMp./ OBj

I'm ready to grab the log, If there are any more questions, I will keep in touch with you. Thank you.

ShyamS_Intel
Moderator
385 Views

Hi,


Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel


Thanks,

Shyam Sundar


Reply