ibogosavljevic / johnysswlab

121 stars 13 forks source link

something wrong with compile.sh #1

Open baiwfg2 opened 10 months ago

baiwfg2 commented 10 months ago

Hi. I see this article https://johnnysswlab.com/faster-hash-maps-binary-trees-etc-through-data-layout-modification/

and is eager to try the example. But I find that something wrong with https://github.com/ibogosavljevic/johnysswlab/blob/master/2023-09-datastucturelayout/compile.sh

clang++ -Werror -DLIKWID_PERFMON -O3 -std=c++17 -Werror -g array_of_pointers.cpp -I ../common/ -fopenmp works.

I wonder whether common/likwid.h can be used Or should I download likwid library by myself ?

ibogosavljevic commented 10 months ago

either sudo apt-get install liblikwid or use the replacement I provided if you don't have likwid or likwid doens't work for you.