Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

OneAPI 2021.1.1 Gold Vtune command line tool doesn't work for non-root users

Lin_L_Intel
Employee
2,917 Views

Command: vtune -collect hotspots -data-limit=0 -finalization-mode=none -result-dir="sample" -no-summary ls

When executing it under non-root user, it runs vtune but doesn't invoke ls command(no collect data). Run with root user, it works fine.

Non-root user is already in group " video render vtune". 

Are there any other settings?

0 Kudos
1 Solution
RaeesaM_Intel
Moderator
2,839 Views

Hi,


Thank you for your patience.

Looks like the known issue is with permissions for not-root users from VTune sw-based hotspots analysis on systems where installation was run by root/sudo.

To check exec permissions :

In the <vtune_install_dir>/bin64 directory , Run

$ ls -l | grep pinbin

To fix permissions:

$ sudo chmod o+rx <vtune_install_dir>/bin64/pinbin


Hope this helps.

Raeesa


View solution in original post

0 Kudos
6 Replies
RaeesaM_Intel
Moderator
2,891 Views

Hi,

Thank you for posting in Intel VTune Profiler Forum.

 

We couldn't reproduce the issue from our end.

Could you please run the self-checker script ,

./<vtune-installation-directory>/bin64/vtune-self-checker.sh

See whether its working fine and share the log.

Also, please attach the entire result folder after running the vtune command :

 vtune -collect hotspots -data-limit=0 -finalization-mode=none -result-dir="sample" -no-summary ls

 

Raeesa

 

0 Kudos
Lin_L_Intel
Employee
2,879 Views

vtune-self-checker.sh  shows failure for 

Instrumentation based analysis check
Example of analysis types: Hotspots with default knob sampling-mode=sw, Threading with default knob sampling-and-waits=sw
Collection: Fail

Log and entire result folder after running the vtune command are attached.

 

0 Kudos
RaeesaM_Intel
Moderator
2,859 Views

Hi,


We are discussing this issue with concerned team internally. We will get back to you on the updates.


Raeesa



0 Kudos
RaeesaM_Intel
Moderator
2,840 Views

Hi,


Thank you for your patience.

Looks like the known issue is with permissions for not-root users from VTune sw-based hotspots analysis on systems where installation was run by root/sudo.

To check exec permissions :

In the <vtune_install_dir>/bin64 directory , Run

$ ls -l | grep pinbin

To fix permissions:

$ sudo chmod o+rx <vtune_install_dir>/bin64/pinbin


Hope this helps.

Raeesa


0 Kudos
RaeesaM_Intel
Moderator
2,812 Views

Hi,


Thank you for accepting the solution. We are discontinuing monitoring this thread . Please raise a new thread incase of any further issues. We would be happy to help you out .


Regards,

Raeesa


0 Kudos
Ekaterina_L_Intel
2,743 Views
0 Kudos
Reply