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

Why do I get unable to access /dev/vtune_d error?

Judith_W_Intel
Employee
769 Views

What does this mean?

nht6011-72> vtl activity -d 20 -c sampling -app mcpcom,-p,--bool,-mP1OPT_version=800,timing.cpp
VTune Performance Analyzer 1.0 for Linux*
Copyright (C) 2000-2002 Intel Corporation. All rights reserved.

[ERROR] unable to access /dev/vtune_d (error = -1)
nht6011-73>
0 Kudos
4 Replies
vadib
Beginner
769 Views
Did you get through this ? If so can you please share me the fix ?

Thanks
Vadi
0 Kudos
Daniel_B_Intel2
Employee
769 Views
Looks like incorrect syntax for passing parameters. See my responce to your question:
"problem with exe controller?"

Does it solve the problem with
access /dev/vtune_d?
0 Kudos
Daniel_B_Intel2
Employee
769 Views
before you start fixing the parametrs syntax, looks like you are not a member of "vtune" group.

the problem may be that the "user" have not enough permissions.

to run vtl smoothly "user" has to be the member of "vtune" group.
("vtune" is the default name for the group. another name can be chosen during the installation).

to check this run
> groups

you'll get the list of the groups the "user" belongs to.
if "vtune" is not listed - this may be the problem.

try to add the "user" to the group "vtune". there are several ways to do this. one (if root password is available) is to edit the /etc/group file.

after joining to the vtune group a user should login again. check that "vtune" appears in the list of groups:
>groups

and then run VTune again.

by the way, one of the indication of missing permission (as a result of not being "vtune" group member)
run
>vtl
you should get the error message like:
The global data directory specified by your environment:
/opt/intel/vtune/global_data
is not writable. Please correct this problem and try again.



Does it help?

-Daniel
0 Kudos
Juan_V_Intel1
Employee
769 Views
Check the group ownership and file permissions on /dev/vtune* :

ls -ld /dev/vtune*

The file permissions on /dev/vtune* should be "rw-rw-r".
The user who runs vtl should be a member of the group that owns the /dev/vtune* devices (can check by running "groups" command).
0 Kudos
Reply