Closed ntippman closed 10 months ago
Please compile LIKWID with DEBUG=true
in config.mk
(make distclean && make
) and run:
$ gdb $LIKWID_BINDIR/likwid-lua
> r likwid-perfctr -C 0 -g MEM1 hostname
<wait for segfault>
> bt
From the output it seems that the DataFabric counters are not available on the system. Or I made a major mistake when adding them as they work neither in accessdaemon
nor direct
mode. Can you check what perf
shows? There should be amd_df
device(s) in /sys/devices/
.
My test system also does not provide the DataFabric counters but the error was caused in the general code by a strcmp
.
Describe the bug Likwid-perfctr segfaults when trying to measure MEM1 or MEM2 group on Zen4. Tested on AMD EPYC 9654. This happens with likwid-perfctr and also with the LIKWID C-API.
To Reproduce
LIKWID version and download source (Github, FTP, package manger, ...)
For likwid-perfctr I used the current master taken directly from GitHub.
For the C-API the release v5.2.2 was used with a cherry-picked Zen4 support from
a3bd1d103d0f71a59a8d470a008bf2e7abbc8d02
.Operating system AlmaLinux 9.2
To Reproduce with a LIKWID command
When running with the C-API it segfaults when trying to perform
perfmon_addEventSet
withMEM1
orMEM2
: