Closed GoogleCodeExporter closed 9 years ago
Hi Stephen,
The path /dev/cpu/*/msr is the standard path for the msr module and is checked
by LIKWID on host systems. For the Intel MIC we added a existance check to
determine the right path.
For root users, the default msr code is used, but for user privileges you have
to use the accessDaemon. The Daemon does not do the check and distinguish
between host and MIC.
Another problem could be that Intel has introduced capabilities on the MIC, a
POSIX extention that is really annoying for us because it restricts the access
to the msr module in the background.
Try to change the line 626 in src/access-daemon/accessDaemon.c to fit the msr
path on your MIC and recompile. If it does not work then either, you will have
capabilities problems or your accessDaemon has not the suid-root bit. Some
words about the last mentioned privilege problems are in the LIKWID blog.
Greetings,
Thomas
Original comment by Thomas.R...@googlemail.com
on 29 Jul 2014 at 9:13
Dear Thomas,
After accessDaemon is chosen in config.mk, Likwid works under user privileges.
Thanks.
BR,
Stephen
Original comment by wangyichao0122@gmail.com
on 29 Jul 2014 at 9:55
I'm glad to read this.
I will close this issue as done. I have added the path check for /dev/msr* and
/dev/cpu/*/msr to the accessDaemon, so in the future also people with older
MPSS can use the accessDaemon.
Greetings,
Thomas
Original comment by Thomas.R...@googlemail.com
on 29 Jul 2014 at 10:56
Thanks.
Original comment by wangyichao0122@gmail.com
on 29 Jul 2014 at 11:06
Original issue reported on code.google.com by
wangyichao0122@gmail.com
on 26 Jul 2014 at 7:52