Open ZigRazor opened 1 month ago
Hi, I would like to take this issue on. Looking at the API, I can see that there is a partitionGraph member function under the Partitioner class here
Perhaps the object from where this member function is called needs to be a Partitioner and not a Graph
Fwiw, The partition test calls the function from the Partitioner class. I am inclined towards doing it that way here too, let me know if I am missing something here though
I Think your analysis is good, you can go on!
Thank you! The build is working on my end, but I am running into a segmentation fault with the BFS benchmark when I run the benchmark_exe executable.
2024-05-30T11:23:52-05:00
Running ./benchmark_exe
Run on (12 X 2688 MHz CPU s)
CPU Caches:
L1 Data 48 KiB (x6)
L1 Instruction 32 KiB (x6)
L2 Unified 1280 KiB (x6)
L3 Unified 12288 KiB (x1)
Load Average: 0.16, 0.18, 0.13
***WARNING*** Library was built as DEBUG. Timings may be affected.
----------------------------------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------------------------------
BFS_X/1 1538 ns 1538 ns 443783
BFS_X/18 6943 ns 6943 ns 98367
BFS_X/324 102805 ns 102806 ns 6685
BFS_X/5832 2254945 ns 2254951 ns 312
BFS_X/104976 88080320 ns 88080662 ns 8
BFS_X/262144 86550929 ns 86549850 ns 8
Segmentation fault
Haven't begun debugging as to why the Segmentation fault is happening, will take a look in some time. Is this to be raised as a new issue ?
look at Memory consumption, it's possibile that you ram is full
Thank you for the suggestion. I think I found why it was happening - I was running the benchmark executable from the wrong directory, so the cit_graph_ptr was nullptr. When I run it from the build directory, it works fine. I can make a PR for the original issue in some time :)
good!
We have the following problem with benchmark compilation, and the CI/CD fails: