... | ... | @@ -149,3 +149,6 @@ ARM support was added in January. The main switch is the `COMPILER` setting in ` |
|
|
|
|
|
# LIKWID and SecureBoot
|
|
|
LIKWID in direct or accessdaemon mode uses the common MSR and PCI interfaces from the Linux kernel. Unfortunately, some recent operating systems (e.g. Ubuntu 18.04) patches the Linux kernel so that these interfaces (at least MSR) are not allowed to use anymore. You probably just get read/write errors because LIKWID currently has no check of the SecureBoot state. **If you want to use LIKWID, you have to disable SecureBoot.**
|
|
|
|
|
|
# LIKWID as static library
|
|
|
If you want to compile LIKWID as static library, you have to set `SHARED_LIBRARY` in `config.mk` to false. You can integrate LIKWID in your application but you cannot use the command line tools (except likwid-bench). I havn't found a way to make the tools work because they are written in Lua and in order to load a C-library at runtime, Lua needs dlopen which only works with shared libraries. |
|
|
\ No newline at end of file |