... | ... | @@ -36,7 +36,7 @@ To enable using the access daemon, configure in `config.mk`: |
|
|
2. Configure the path to the access daemon binary at `ACCESSDAEMON`
|
|
|
3. Set the `ACCESSMODE` to `accessdaemon`
|
|
|
|
|
|
`ACCESSMODE` can be `direct`, `accessdaemon` and `sysdaemon` (not yet officially supported).
|
|
|
`ACCESSMODE` can be `direct`, `accessdaemon`, `perf_event` and `sysdaemon` (not yet officially supported).
|
|
|
You can overwrite the default setting on the command line with the `-M` commandline option.
|
|
|
|
|
|
If you want to access Uncore performance counters that are located in the PCI memory range, like they are implemented in Intel SandyBridge EP and IvyBridge EP and newer architectures, you have to use the access daemon or have root privileges because access to the PCI space is only permitted for high privileged users.
|
... | ... | @@ -133,6 +133,7 @@ sudo setcap cap_sys_rawio+ep EXECUTABLE |
|
|
|
|
|
This is only possible on local file systems. A feasible way is to use the [[likwid-accessD|likwid-accessD]] for all accesses and just enable the capabilities for this one binary. This will enable the usage for all LIKWID tools and also for all instrumented binaries. If the [[likwid-perfctr|likwid-perfctr]] utility should only be used in wrapper mode, it is suitable to set the capabilities for [[likwid-perfctr|likwid-perfctr]] only. Please remember to set the file permission of the MSR device file to read/write for all users, even if capabilites are configured correctly.
|
|
|
|
|
|
If you are using cgroups and access is not allowed although you tried all the steps above, check whether access to the `msr` device files is denied by cgroup's `devices.deny` or not explicitly allowed in `devices.allow`.
|
|
|
|
|
|
# Installation on Intel Xeon Phi (KNC)
|
|
|
In order to build LIKWID for the Xeon Phi, set the `COMPILER` option in config.mk to `MIC` and build it on a host that has a MIC-aware Intel compiler and the MPSS installed. Moreover, there might be the problem that the required Intel libraries are not present on the Xeon Phi and you need to copy them. Commonly the libraries are `libimf.so`, `libsvml.so`, `libirng.so` and `libintlc.so.5`. LIKWID assumes that they are copied in the same path as the LIKWID library `liblikwid.so` (`$INSTALLED_PREFIX/lib`). If you install them somewhere different, please set the `RPATHS` variable in config.mk or make/include_MIC.mk to point to the location.
|
... | ... | |