Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1641 Discussions

Vtune fails to run on ICX, too weak profiling settings on the system

r2
Beginner
984 Views

Hi all, 

I am trying to profile code on the ICX nodes in the DevCloud (s002-n005, Intel(R) Xeon(R) Platinum 8358 CPU @ 2.60GHz).

Although I could load the oneAPI module, I can not get vtune to run because of missing profiling settings in the system, which I could only change as root.

Here is a message when running `vtune -collect hotspot -knob sampling-mode=hw`:

 

 

vtune -collect hotspot -knob sampling-mode=hw -- ./a.out
vtune: Error: This analysis requires one of these actions: a) Install Intel Sampling Drivers. b) Configure driverless collection with Perf system-wide profiling. To enable Perf system-wide profiling, set /proc/sys/kernel/perf_event_paranoid to 1 or set up Perf tool capabilities.
vtune: Warning: Access to /proc/kallsyms file is limited. Consider changing /proc/sys/kernel/kptr_restrict to 0 to enable resolution of OS kernel and kernel module symbols.

 

 

 Using only hotspot analysis also doesn't help.

 

 

vtune -collect hotspot -- ./a.out
vtune: Error: Cannot start data collection because the scope of ptrace system call is limited. To enable profiling, please set /proc/sys/kernel/yama/ptrace_scope to 0. To make this change permanent, set kernel.yama.ptrace_scope to 0 in /etc/sysctl.d/10-ptrace.conf and reboot the machine.
vtune: Warning: Microarchitecture performance insights will not be available. Make sure the sampling driver is installed and enabled on your system.

 

 

 Any suggestions would be really appreciated.

Many Thanks,
RR

Labels (1)
0 Kudos
5 Replies
JyothisV_Intel
Moderator
912 Views

Hi,


Good day to you.


Thanks for posting in Intel Communities.


Apologies for the inconvenience caused.


We were able to reproduce the issue from our side. We are working with the internal team to get these VTune issues resolved on Intel DevCloud for oneAPI. Thanks for reporting the same. We will get back to you with an update soon.


Regards,

Jyothis V James


0 Kudos
r2
Beginner
870 Views

Hi Jyothis,

 

many thanks for the quick response and support.

 

Best regards,

RR

0 Kudos
JyothisV_Intel
Moderator
535 Views

Hi,

 

Good day to you.

 

Sorry for the delay in getting back to you.

 

With the latest Intel oneAPI 2024.0 release, we have fixed issues with Intel VTune Profiler on ICX nodes. We have tested and confirmed that Intel VTune Profiler works successfully for both hardware and software mode sampling on all the available ICX nodes.

JyothisV_Intel_0-1700626203592.png

 

Kindly verify from your side if you are still facing any issues.

 

Thanks and Regards,

Jyothis V James

 

 

0 Kudos
JyothisV_Intel
Moderator
486 Views

Hi,


Good day to you.


We have not received any response from you.


Kindly let us know if you are still facing issues performing VTune analysis on Intel DevCloud for oneAPI ICX nodes.


Thanks and Regards,

Jyothis V James


0 Kudos
JyothisV_Intel
Moderator
410 Views

Hi,


Good day to you.


We have not received any response from you. We assume that your issue is resolved.


Intel will no longer monitor this thread. If you face any issues while using Intel products or services, kindly post a new question.


Thanks and Regards,

Jyothis V James


0 Kudos
Reply