[ 2%] Building CXX object tests/CMakeFiles/unit_tests.dir/unit_tests.cpp.o [ 5%] Linking CXX executable unit_tests [ 5%] Built target unit_tests [ 8%] Building CXX object benchmark/CMakeFiles/timeOps.dir/timeOps.cpp.o [ 11%] Linking CXX executable timeOps [ 11%] Built target timeOps [ 14%] Building CXX object examples/index/CMakeFiles/index.dir/index.cpp.o [ 17%] Linking CXX executable index [ 17%] Built target index [ 20%] Building CXX object examples/interval/CMakeFiles/interval.dir/intervalTree.cpp.o /Users/xdbwk/Desktop/yyyy/PAM/examples/interval/intervalTree.cpp: In function 'void test_all(size_t, size_t, size_t)': /Users/xdbwk/Desktop/yyyy/PAM/examples/interval/intervalTree.cpp:103:30: warning: ignoring return value of 'auto parlay::sort(R&&, Compare&&) [with R = sequence&; Compare = test_all(size_t, size_t, size_t)::&]', declared with attribute 'nodiscard' [-Wunused-result] 103 | parlay::sort(build_tm,less); | ^ In file included from /Users/xdbwk/Desktop/yyyy/PAM/include/pam/map_ops.h:3, from /Users/xdbwk/Desktop/yyyy/PAM/include/pam/pam.h:13, from /Users/xdbwk/Desktop/yyyy/PAM/examples/interval/intervalTree.cpp:1: /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/primitives.h:327:20: note: declared here 327 | [[nodiscard]] auto sort(R&& in, Compare&& comp) { | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/interval/intervalTree.cpp:104:30: warning: ignoring return value of 'auto parlay::sort(R&&, Compare&&) [with R = sequence&; Compare = test_all(size_t, size_t, size_t)::&]', declared with attribute 'nodiscard' [-Wunused-result] 104 | parlay::sort(query_tm,less); | ^ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/primitives.h:327:20: note: declared here 327 | [[nodiscard]] auto sort(R&& in, Compare&& comp) { | ^~~~ [ 23%] Linking CXX executable interval [ 23%] Built target interval [ 26%] Building CXX object examples/range_query/CMakeFiles/range_test.dir/rt_test.cpp.o [ 29%] Linking CXX executable range_test [ 29%] Built target range_test [ 32%] Building CXX object examples/range_query/CMakeFiles/range_sweep.dir/rs_test.cpp.o [ 35%] Linking CXX executable range_sweep [ 35%] Built target range_sweep [ 38%] Building CXX object examples/segment/CMakeFiles/seg_sweep.dir/seg_sweep.cpp.o [ 41%] Linking CXX executable seg_sweep [ 41%] Built target seg_sweep [ 44%] Building CXX object examples/segment/CMakeFiles/seg_test.dir/seg_test.cpp.o [ 47%] Linking CXX executable seg_test [ 47%] Built target seg_test [ 50%] Building CXX object examples/segment/CMakeFiles/seg_sweep2.dir/seg_sweep2.cpp.o In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/segment/seg_sweep2.cpp:16: /Users/xdbwk/Desktop/yyyy/PAM/examples/segment/seg_sweep2.h: In constructor 'segment_map_2d::segment_map_2d(parlay::sequence > >&)': /Users/xdbwk/Desktop/yyyy/PAM/examples/segment/seg_sweep2.h:99:27: warning: ignoring return value of 'auto parlay::sort(R&&, Compare&&) [with R = sequence > >&; Compare = segment_map_2d::segment_map_2d(parlay::sequence > >&)::&]', declared with attribute 'nodiscard' [-Wunused-result] 99 | parlay::sort(ev, less); | ^ In file included from /Users/xdbwk/Desktop/yyyy/PAM/include/pam/map_ops.h:3, from /Users/xdbwk/Desktop/yyyy/PAM/include/pam/pam.h:13, from /Users/xdbwk/Desktop/yyyy/PAM/examples/segment/seg_sweep2.cpp:9: /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/primitives.h:327:20: note: declared here 327 | [[nodiscard]] auto sort(R&& in, Compare&& comp) { | ^~~~ [ 52%] Linking CXX executable seg_sweep2 [ 52%] Built target seg_sweep2 [ 55%] Building CXX object examples/segment/CMakeFiles/seg_test2.dir/seg_test2.cpp.o [ 58%] Linking CXX executable seg_test2 [ 58%] Built target seg_test2 [ 61%] Building CXX object examples/segment/CMakeFiles/seg_sweep_g.dir/seg_sweep_g.cpp.o [ 64%] Linking CXX executable seg_sweep_g [ 64%] Built target seg_sweep_g [ 67%] Building CXX object examples/segment/CMakeFiles/seg_test_g.dir/seg_test_g.cpp.o [ 70%] Linking CXX executable seg_test_g [ 70%] Built target seg_test_g [ 73%] Building CXX object examples/rectangle/CMakeFiles/rec_sweep.dir/rec_sweep.cpp.o [ 76%] Linking CXX executable rec_sweep [ 76%] Built target rec_sweep [ 79%] Building CXX object examples/rectangle/CMakeFiles/rec_test.dir/rec_test.cpp.o [ 82%] Linking CXX executable rec_test [ 82%] Built target rec_test [ 85%] Building CXX object examples/rectangle/CMakeFiles/rec_sweep2.dir/rec_sweep2.cpp.o [ 88%] Linking CXX executable rec_sweep2 [ 88%] Built target rec_sweep2 [ 91%] Building CXX object examples/rectangle/CMakeFiles/rec_test2.dir/rec_test2.cpp.o [ 94%] Linking CXX executable rec_test2 [ 94%] Built target rec_test2 [ 97%] Building CXX object examples/tpch/CMakeFiles/tpch_test.dir/test.cpp.o In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/test.cpp:5: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:239:9: error: 'block_allocator' in namespace 'parlay' does not name a type; did you mean 'type_allocator'? 239 | parlay::block_allocator order_str_pool(128); //96); | ^~~~~~~~~~~~~~~ | type_allocator /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: In constructor 'Orders::Orders(const Line&)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:261:23: error: 'order_str_pool' was not declared in this scope 261 | strings = (char*) order_str_pool.alloc(); | ^~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: At global scope: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:270:9: error: 'block_allocator' in namespace 'parlay' does not name a type; did you mean 'type_allocator'? 270 | parlay::block_allocator customer_str_pool(192); | ^~~~~~~~~~~~~~~ | type_allocator /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: In constructor 'Customer::Customer(const Line&)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:285:23: error: 'customer_str_pool' was not declared in this scope 285 | strings = (char*) customer_str_pool.alloc(); | ^~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: At global scope: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:300:9: error: 'block_allocator' in namespace 'parlay' does not name a type; did you mean 'type_allocator'? 300 | parlay::block_allocator supp_str_pool(185); | ^~~~~~~~~~~~~~~ | type_allocator /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: In constructor 'Supplier::Supplier(const Line&)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:315:23: error: 'supp_str_pool' was not declared in this scope 315 | strings = (char*) supp_str_pool.alloc(); | ^~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: At global scope: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:350:9: error: 'block_allocator' in namespace 'parlay' does not name a type; did you mean 'type_allocator'? 350 | parlay::block_allocator part_str_pool(144); | ^~~~~~~~~~~~~~~ | type_allocator /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h: In constructor 'Part::Part(const Line&)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:365:23: error: 'part_str_pool' was not declared in this scope 365 | strings = (char*) part_str_pool.alloc(); | ^~~~~~~~~~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:11, from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/test.cpp:26: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q1.h: In function 'Q1_rtype Q1(maps, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q1.h:10:15: error: 'Add_Nested_Array' does not name a type 10 | using Add = Add_Nested_Array; | ^~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q1.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q1.h:27:52: error: 'Add' was not declared in this scope 27 | return li_map::semi_map_reduce(e.second, li_f, Add(), 2000); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q1.h: In function 'Q1_rtype Q1(maps, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q1.h:30:51: error: 'Add' was not declared in this scope 30 | return ship_map::map_reduce(ship_range, date_f, Add(), 1); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:12: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q2.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q2.h:33:58: error: 'Min' was not declared in this scope; did you mean 'sin'? 33 | float min_cost = s_map::map_reduce(sim, supp_cost, Min()); | ^~~ | sin /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q2.h:33:62: error: expected primary-expression before 'float' 33 | float min_cost = s_map::map_reduce(sim, supp_cost, Min()); | ^~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:13: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q3.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q3.h:33:62: error: 'Add' was not declared in this scope 33 | float revenue = li_map::map_reduce(lm, lineitem_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q3.h:33:66: error: expected primary-expression before 'float' 33 | float revenue = li_map::map_reduce(lm, lineitem_f, Add()); | ^~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:14: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h: In function 'Q4_rtype Q4(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h:8:13: error: 'Add_Array' does not name a type 8 | using H = Add_Array; | ^~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h:14:59: error: 'Add' was not declared in this scope 14 | int n = li_map::map_reduce(o.second.second, line_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h:14:63: error: expected primary-expression before 'int' 14 | int n = li_map::map_reduce(o.second.second, line_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h:17:58: error: 'H' was not declared in this scope 17 | return order_map::semi_map_reduce(d.second, order_f, H()); | ^ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h: In function 'Q4_rtype Q4(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q4.h:19:55: error: 'H' was not declared in this scope 19 | return o_order_map::map_reduce(order_range, date_f, H(), 1); | ^ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:15: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:25:45: error: 'Add' was not declared in this scope 25 | return li_map::map_reduce(li, li_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:25:49: error: expected primary-expression before 'double' 25 | return li_map::map_reduce(li, li_f, Add()); | ^~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:28:57: error: 'Add' was not declared in this scope 28 | a[nationid] += order_map::map_reduce(om, order_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:28:61: error: expected primary-expression before 'double' 28 | a[nationid] += order_map::map_reduce(om, order_f, Add()); | ^~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h: In function 'Q5_rtype Q5(maps, char*, char*, uint)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:33:51: error: 'Add_Array' was not declared in this scope 33 | customer_map::semi_map_reduce(cm, customer_f, Add_Array()); | ^~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:33:62: error: expected primary-expression before '>' token 33 | customer_map::semi_map_reduce(cm, customer_f, Add_Array()); | ^ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q5.h:33:64: error: expected primary-expression before ')' token 33 | customer_map::semi_map_reduce(cm, customer_f, Add_Array()); | ^ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:16: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q6.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q6.h:16:47: error: 'Add' was not declared in this scope 16 | return li_map::map_reduce(e.second, li_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q6.h:16:51: error: expected primary-expression before 'double' 16 | return li_map::map_reduce(e.second, li_f, Add()); | ^~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q6.h: In function 'double Q6(maps, const char*, const char*, float, int)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q6.h:19:49: error: 'Add' was not declared in this scope 19 | return ship_map::map_reduce(ship_range, sh_f, Add(), 1); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q6.h:19:53: error: expected primary-expression before 'double' 19 | return ship_map::map_reduce(ship_range, sh_f, Add(), 1); | ^~~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:17: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h: In function 'Q7_rtype Q7(maps, size_t, size_t)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:16:16: error: 'Add' does not name a type 16 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:17:16: error: 'Add_Pair' does not name a type 17 | using AddP = Add_Pair; // adds pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:18:17: error: 'Add_Pair' does not name a type 18 | using AddPP = Add_Pair; // adds pairs of pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:19:15: error: 'AddP' has not been declared 19 | pfloat id = AddP::identity(); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:38:47: error: 'AddP' was not declared in this scope 38 | return li_map::map_reduce(li, li_f, AddP()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:40:53: error: 'AddP' was not declared in this scope 40 | return order_map::map_reduce(omap, order_f, AddP()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h: In function 'Q7_rtype Q7(maps, size_t, size_t)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q7.h:48:53: error: 'AddPP' was not declared in this scope 48 | return customer_map::map_reduce(m.cm, customer_f, AddPP()); | ^~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:18: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:8:16: error: 'Add' does not name a type 8 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:9:16: error: 'Add_Pair' does not name a type 9 | using AddP = Add_Pair; // adds pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:10:17: error: 'Add_Pair' does not name a type 10 | using AddPP = Add_Pair; // adds pairs of pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:11:19: error: 'AddPP' has not been declared 11 | sums identity = AddPP::identity(); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:56:40: error: 'AddP' has not been declared 56 | if (oy == 1995) pp.first = AddP::add(pp.first, p); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:57:30: error: 'AddP' has not been declared 57 | else pp.second = AddP::add(pp.second, p); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:60:55: error: 'AddPP' was not declared in this scope 60 | return li_map::semi_map_reduce(items, item_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:62:64: error: 'AddPP' was not declared in this scope 62 | return part_supp_and_item_map::map_reduce(supps, supp_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:66:57: error: 'AddPP' was not declared in this scope 66 | sums r = part_to_supp_map::map_reduce(m.psm2, part_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8_(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:97:16: error: 'Add' does not name a type 97 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:98:16: error: 'Add_Pair' does not name a type 98 | using AddP = Add_Pair; // adds pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:99:17: error: 'Add_Pair' does not name a type 99 | using AddPP = Add_Pair; // adds pairs of pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:100:19: error: 'AddPP' has not been declared 100 | sums identity = AddPP::identity(); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:128:66: error: 'AddPP' was not declared in this scope 128 | return li_map::map_reduce(items, item_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:131:53: error: 'AddPP' was not declared in this scope 131 | return order_map::map_reduce(om, order_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8_(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:135:51: error: 'AddPP' was not declared in this scope 135 | sums r = customer_map::map_reduce(m.cm, cust_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8__(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:148:16: error: 'Add' does not name a type 148 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:149:16: error: 'Add_Pair' does not name a type 149 | using AddP = Add_Pair; // adds pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:150:17: error: 'Add_Pair' does not name a type 150 | using AddPP = Add_Pair; // adds pairs of pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:151:19: error: 'AddPP' has not been declared 151 | sums identity = AddPP::identity(); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:185:66: error: 'AddPP' was not declared in this scope 185 | return li_map::map_reduce(items, item_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:188:53: error: 'AddPP' was not declared in this scope 188 | return order_map::map_reduce(om, order_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8__(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:191:53: error: 'AddPP' was not declared in this scope 191 | sums r = o_order_map::map_reduce(orange, odate_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8___(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:202:16: error: 'Add' does not name a type 202 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:203:16: error: 'Add_Pair' does not name a type 203 | using AddP = Add_Pair; // adds pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:204:17: error: 'Add_Pair' does not name a type 204 | using AddPP = Add_Pair; // adds pairs of pairs of doubles | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:205:19: error: 'AddPP' has not been declared 205 | sums identity = AddPP::identity(); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:264:44: error: 'AddP' has not been declared 264 | if (year == 1995) pp.first = AddP::add(pp.first, p); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:265:32: error: 'AddP' has not been declared 265 | else pp.second = AddP::add(pp.second, p); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:269:55: error: 'AddPP' was not declared in this scope 269 | return li_map::semi_map_reduce(items, item_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:271:64: error: 'AddPP' was not declared in this scope 271 | return part_supp_and_item_map::map_reduce(supps, supp_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h: In function 'Q8_rtype Q8___(maps, size_t, size_t, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q8.h:275:57: error: 'AddPP' was not declared in this scope 275 | sums r = part_to_supp_map::map_reduce(m.psm2, part_f, AddPP()); | ^~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:19: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q9.h: In function 'Q9_rtype Q9(maps, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q9.h:60:15: error: 'Add_Nested_Array' does not name a type 60 | using Add = Add_Nested_Array; | ^~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q9.h:61:54: error: 'Add' was not declared in this scope 61 | nat_years a = ps_map::semi_map_reduce(psm, part_f, Add(), 4000); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:20: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:19:57: error: 'Add' was not declared in this scope 19 | float v = li_map::map_reduce(e.second.second, li_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:19:61: error: expected primary-expression before 'float' 19 | float v = li_map::map_reduce(e.second.second, li_f, Add()); | ^~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:22: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h: In function 'Q12_rtype Q12(maps, char*, char*, char*, char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h:15:16: error: 'Add' does not name a type 15 | using AddI = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h:16:16: error: 'Add_Pair' does not name a type 16 | using AddP = Add_Pair; // adds pairs of ints | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h:17:17: error: 'Add_Pair' does not name a type 17 | using AddPP = Add_Pair; // adds pairs of pairs of ints | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h:18:14: error: 'AddPP' has not been declared 18 | ret_t id = AddPP::identity(); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h:36:42: error: 'AddPP' was not declared in this scope 36 | return li_map::map_reduce(lim, li_f, AddPP()); | ^~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h: In function 'Q12_rtype Q12(maps, char*, char*, char*, char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q12.h:38:52: error: 'AddPP' was not declared in this scope 38 | return receipt_map::map_reduce(rm_range, date_f, AddPP(), 1); | ^~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:23: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h:15:50: error: 'Add' was not declared in this scope 15 | int t = order_map::map_reduce(omap, order_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h:15:54: error: expected primary-expression before 'int' 15 | int t = order_map::map_reduce(omap, order_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h: In function 'Q13_rtype Q13(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h:20:53: error: 'Add_Array' was not declared in this scope 20 | customer_map::semi_map_reduce(m.cm, customer_f, Add_Array(), 20); | ^~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h:20:64: error: expected primary-expression before '>' token 20 | customer_map::semi_map_reduce(m.cm, customer_f, Add_Array(), 20); | ^ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q13.h:20:66: error: expected primary-expression before ')' token 20 | customer_map::semi_map_reduce(m.cm, customer_f, Add_Array(), 20); | ^ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:24: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q14.h: In function 'double Q14(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q14.h:10:15: error: 'Add_Pair' does not name a type 10 | using Add = Add_Pair,Add>; | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q14.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q14.h:19:47: error: 'Add' was not declared in this scope 19 | return li_map::map_reduce(e.second, li_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q14.h: In function 'double Q14(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q14.h:22:56: error: 'Add' was not declared in this scope 22 | sum revenues = ship_map::map_reduce(s_range, date_f, Add(), 1); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:26: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q16.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q16.h:91:79: error: 'Add' was not declared in this scope 91 | int count = part_supp_and_item_map::map_reduce(e.second.second, map_supp, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q16.h:91:83: error: expected primary-expression before 'int' 91 | int count = part_supp_and_item_map::map_reduce(e.second.second, map_supp, Add()); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:27: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h: In function 'Q17_rtype Q17(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:5:16: error: 'Add' does not name a type 5 | using AddI = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:6:16: error: 'Add' does not name a type 6 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:7:16: error: 'Add_Pair' does not name a type 7 | using AddP = Add_Pair; | ^~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:21:47: error: 'AddI' was not declared in this scope 21 | int v = li_map::map_reduce(lm, li_f1, AddI()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:25:71: error: 'AddP' was not declared in this scope 25 | int_pair x = part_supp_and_item_map::map_reduce(simap, supp_f1, AddP()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:33:46: error: 'AddD' was not declared in this scope 33 | return li_map::map_reduce(lm, li_f2, AddD()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:35:65: error: 'AddD' was not declared in this scope 35 | return part_supp_and_item_map::map_reduce(simap, supp_f2, AddD()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h: In function 'Q17_rtype Q17(maps, const char*, const char*)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q17.h:39:63: error: 'AddD' was not declared in this scope 39 | double total = part_to_supp_map::map_reduce(m.psm2, part_f, AddD()); | ^~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:28: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q18.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q18.h:22:48: error: 'Add' was not declared in this scope 22 | int v = li_map::map_reduce(lmap, line_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q18.h:22:52: error: expected primary-expression before 'int' 22 | int v = li_map::map_reduce(lmap, line_f, Add()); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:29: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h: In function 'Q19_rtype Q19(maps, bool, const int*, const char**)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h:4:16: error: 'Add' does not name a type 4 | using AddD = Add; | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h:40:44: error: 'AddD' was not declared in this scope 40 | return li_map::map_reduce(li, h, AddD()); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h:42:58: error: 'AddD' was not declared in this scope 42 | return part_supp_and_item_map::map_reduce(si, g, AddD(), 10); | ^~~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h: In function 'Q19_rtype Q19(maps, bool, const int*, const char**)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q19.h:52:59: error: 'AddD' was not declared in this scope 52 | double result = part_to_supp_map::map_reduce(m.psm2, f, AddD(), 1); | ^~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:30: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q20.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q20.h:23:53: error: 'Add' was not declared in this scope 23 | int th = li_map::map_reduce(lm, map_lineitem, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q20.h:23:57: error: expected primary-expression before 'int' 23 | int th = li_map::map_reduce(lm, map_lineitem, Add()); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:31: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q21.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q21.h:40:54: error: 'Add' was not declared in this scope 40 | int v = li_map::map_reduce(inner_map, i_map_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q21.h:40:58: error: expected primary-expression before 'int' 40 | int v = li_map::map_reduce(inner_map, i_map_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q21.h: In lambda function: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q21.h:43:66: error: 'Add' was not declared in this scope 43 | int v = part_supp_and_item_map::map_reduce(med_map, m_map_f, Add()); | ^~~ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q21.h:43:70: error: expected primary-expression before 'int' 43 | int v = part_supp_and_item_map::map_reduce(med_map, m_map_f, Add()); | ^~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/queries.h:32: /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q22.h: In static member function 'static void Q22_helper::update(val_type&, val_type)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q22.h:19:25: error: 'struct parlay::monoid, addm >(addm, addm)::, std::pair, void>' has no member named 'f' 19 | d = mon.f(d,d2);} | ^ /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/test.cpp: In function 'double exe_txns2(transaction*, int, txn_info&, bool)': /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/test.cpp:427:1: warning: no return statement in function returning non-void [-Wreturn-type] 427 | } | ^ In file included from /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/primitives.h:19, from /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/lineitem.h:1: /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h: In instantiation of 'void parlay::reduce_by_key_helper::update(result_type&, const in_type&) const [with arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair; in_type = std::pair]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:251:20: required from 'auto parlay::internal::seq_collect_reduce_sparse(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:287:66: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:104:28: error: no match for call to '(const parlay::addm) (std::tuple_element<1, std::pair >::type&, const std::tuple_element<1, std::pair >::type&)' 104 | std::get<1>(p) = monoid(std::get<1>(p), std::get<1>(kv)); } | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/counting_sort.h:15, from /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/primitives.h:17: /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h: In instantiation of 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&; parlay::flags = unsigned int]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:109:32: required from 'parlay::reduce_by_key_helper::result_type parlay::reduce_by_key_helper::reduce(Range&) const [with Range = parlay::slice*, std::pair*>; arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:320:40: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:192:17: error: static assertion failed 192 | static_assert(is_monoid_for_v>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:192:17: note: 'parlay::is_monoid_for_v&, float>' evaluates to false /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h: In instantiation of 'auto parlay::internal::reduce_serial(const Seq&, Monoid&&) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:199:25: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:109:32: required from 'parlay::reduce_by_key_helper::result_type parlay::reduce_by_key_helper::reduce(Range&) const [with Range = parlay::slice*, std::pair*>; arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:320:40: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: error: static assertion failed 179 | static_assert(is_monoid_for_v>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: note: 'parlay::is_monoid_for_v&, float>' evaluates to false /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:184:10: error: no match for call to '(const parlay::addm) (std::remove_reference::type, float)' 184 | r = m(std::move(r), A[j]); | ~^~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h: In instantiation of 'auto parlay::internal::reduce_serial(const Seq&, Monoid&&) [with Seq = parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >::iterator, parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >::iterator>; Monoid = const parlay::addm&]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:203:48: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:109:32: required from 'parlay::reduce_by_key_helper::result_type parlay::reduce_by_key_helper::reduce(Range&) const [with Range = parlay::slice*, std::pair*>; arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:320:40: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: error: static assertion failed 179 | static_assert(is_monoid_for_v>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: note: 'parlay::is_monoid_for_v&, float>' evaluates to false /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:184:10: error: no match for call to '(const parlay::addm) (std::remove_reference::type, parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >::iterator, parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >::iterator>::reference)' 184 | r = m(std::move(r), A[j]); | ~^~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h: In instantiation of 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::sequence, false>; Monoid = const parlay::addm&; parlay::flags = unsigned int]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:205:25: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:109:32: required from 'parlay::reduce_by_key_helper::result_type parlay::reduce_by_key_helper::reduce(Range&) const [with Range = parlay::slice*, std::pair*>; arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:320:40: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:192:17: error: static assertion failed 192 | static_assert(is_monoid_for_v>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:192:17: note: 'parlay::is_monoid_for_v&, float&>' evaluates to false /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h: In instantiation of 'auto parlay::internal::reduce_serial(const Seq&, Monoid&&) [with Seq = parlay::sequence, false>; Monoid = const parlay::addm&]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:199:25: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::sequence, false>; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:205:25: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:109:32: required from 'parlay::reduce_by_key_helper::result_type parlay::reduce_by_key_helper::reduce(Range&) const [with Range = parlay::slice*, std::pair*>; arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:320:40: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: error: static assertion failed 179 | static_assert(is_monoid_for_v>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: note: 'parlay::is_monoid_for_v&, float&>' evaluates to false /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:184:10: error: no match for call to '(const parlay::addm) (std::remove_reference::type, const parlay::sequence, false>::value_type&)' 184 | r = m(std::move(r), A[j]); | ~^~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h: In instantiation of 'auto parlay::internal::reduce_serial(const Seq&, Monoid&&) [with Seq = parlay::slice; Monoid = const parlay::addm&]': /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:203:48: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::sequence, false>; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:205:25: required from 'auto parlay::internal::reduce(const Seq&, Monoid&&, parlay::flags) [with Seq = parlay::delayed_sequence*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)> >(parlay::slice*, std::pair*>&, parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >::reduce*, std::pair*> >(parlay::slice*, std::pair*>&) const::, parlay::addm, parlay::hash, std::equal_to >::in_type&)>):: >; Monoid = const parlay::addm&; parlay::flags = unsigned int]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:109:32: required from 'parlay::reduce_by_key_helper::result_type parlay::reduce_by_key_helper::reduce(Range&) const [with Range = parlay::slice*, std::pair*>; arg_type = std::pair; Monoid = parlay::addm; Hash = parlay::hash; Equal = std::equal_to; result_type = std::pair]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:320:40: required from 'auto parlay::internal::collect_reduce_sparse_(Slice, const Helper&) [with assignment_tag = parlay::uninitialized_copy_tag; Slice = parlay::slice*, const std::pair*>; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/collect_reduce.h:341:56: required from 'auto parlay::internal::collect_reduce_sparse(const Range&, const Helper&) [with Range = parlay::sequence >; Helper = parlay::reduce_by_key_helper, parlay::addm, parlay::hash, std::equal_to >]' /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/group_by.h:125:41: required from 'auto parlay::reduce_by_key(R&&, Monoid&&, Hash&&, Equal&&) [with R = sequence >&; Monoid = addm; Hash = hash; Equal = std::equal_to]' /Users/xdbwk/Desktop/yyyy/PAM/examples/tpch/queries/Q10.h:25:46: required from here /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: error: static assertion failed 179 | static_assert(is_monoid_for_v>); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:179:17: note: 'parlay::is_monoid_for_v&, const float&>' evaluates to false /Users/xdbwk/Desktop/yyyy/PAM/build/_deps/parlaylib-src/include/parlay/internal/sequence_ops.h:184:10: error: no match for call to '(const parlay::addm) (std::remove_reference::type, const float&)' 184 | r = m(std::move(r), A[j]); | ~^~~~~~~~~~~~~~~~~~~~ make[2]: *** [examples/tpch/CMakeFiles/tpch_test.dir/test.cpp.o] Error 1 make[1]: *** [examples/tpch/CMakeFiles/tpch_test.dir/all] Error 2 make: *** [all] Error 2