make ARCH_FLAGS="-DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma" BUILD_DIR=build/bmi2 EXE=Minke-01CB3A47-522BF565 build
make[1]: Entering directory '/tmp/tmp1ggkms7j/Minke/Minke-tmp'
mkdir -p build/bmi2
Using network: /home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565
Compiling nnue pre-processor program
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -flto=auto -pthread tools/preprocess_nnue.cpp -o preprocess_nnue
Pre-processing /home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565
./preprocess_nnue /home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565 /home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/main.cpp -o build/bmi2/main.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/core/attacks.cpp -o build/bmi2/attacks.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/core/move.cpp -o build/bmi2/move.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/core/movegen.cpp -o build/bmi2/movegen.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/core/position.cpp -o build/bmi2/position.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/eval/nnue.cpp -o build/bmi2/nnue.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/eval/nnue/accumulator.cpp -o build/bmi2/accumulator.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/eval/nnue/finny_table.cpp -o build/bmi2/finny_table.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/eval/nnue/pov_accumulator.cpp -o build/bmi2/pov_accumulator.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/correction.cpp -o build/bmi2/correction.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/history.cpp -o build/bmi2/history.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/movepicker.cpp -o build/bmi2/movepicker.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/pv_list.cpp -o build/bmi2/pv_list.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/search.cpp -o build/bmi2/search.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/search_limiter.cpp -o build/bmi2/search_limiter.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/search/tt.cpp -o build/bmi2/tt.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/uci/init.cpp -o build/bmi2/init.o -MMD -MP
g++ -O3 -funroll-loops -flto=auto -I src -DNDEBUG -DEVALFILE=\"/home/enfmarinho/Code/Projects/openbench/Client/Networks/522BF565_processed_bmi2.nnue\" -std=c++20 -Wall -DUSE_AVX2 -DUSE_SIMD -mavx2 -mbmi -mbmi2 -mfma -c src/uci/uci.cpp -o build/bmi2/uci.o -MMD -MP
src/search/search_limiter.cpp: In member function ‘void SearchLimiter::init(const SearchLimits&)’:
src/search/search_limiter.cpp:61:36: error: no matching function for call to ‘max(const long unsigned int&, long long unsigned int)’
61 | const TimeType limit = std::max(std::max(time - overhead, time / 2),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | 1ull); // Decrease the overhead from total time and ensure limit its positive
| ~~~~~
src/search/search_limiter.cpp:61:36: note: there are 4 candidates
In file included from /usr/include/c++/15/string:53,
from /usr/include/c++/15/bits/locale_classes.h:42,
from /usr/include/c++/15/bits/ios_base.h:43,
from /usr/include/c++/15/ios:46,
from /usr/include/c++/15/istream:42,
from /usr/include/c++/15/sstream:42,
from /usr/include/c++/15/chrono:51,
from src/core/types.h:21,
from src/search/search_limiter.h:24,
from src/search/search_limiter.cpp:19:
/usr/include/c++/15/bits/stl_algobase.h:258:5: note: candidate 1: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
258 | max(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/15/bits/stl_algobase.h:258:5: note: template argument deduction/substitution failed:
src/search/search_limiter.cpp:61:36: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘long long unsigned int’)
61 | const TimeType limit = std::max(std::max(time - overhead, time / 2),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | 1ull); // Decrease the overhead from total time and ensure limit its positive
| ~~~~~
/usr/include/c++/15/bits/stl_algobase.h:304:5: note: candidate 2: ‘template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’
304 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/15/bits/stl_algobase.h:304:5: note: candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/15/chrono:54:
/usr/include/c++/15/bits/stl_algo.h:5784:5: note: candidate 3: ‘template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)’
5784 | max(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/15/bits/stl_algo.h:5784:5: note: candidate expects 1 argument, 2 provided
/usr/include/c++/15/bits/stl_algo.h:5794:5: note: candidate 4: ‘template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)’
5794 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/15/bits/stl_algo.h:5794:5: note: template argument deduction/substitution failed:
src/search/search_limiter.cpp:61:36: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
61 | const TimeType limit = std::max(std::max(time - overhead, time / 2),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62 | 1ull); // Decrease the overhead from total time and ensure limit its positive
| ~~~~~
src/search/search_limiter.cpp:63:19: error: no matching function for call to ‘max(uint64_t&, long long unsigned int)’
63 | inc = std::max(inc, 0ull); // Ensure inc is non negative
| ~~~~~~~~^~~~~~~~~~~
src/search/search_limiter.cpp:63:19: note: there are 4 candidates
/usr/include/c++/15/bits/stl_algobase.h:258:5: note: candidate 1: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
258 | max(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/15/bits/stl_algobase.h:258:5: note: template argument deduction/substitution failed:
src/search/search_limiter.cpp:63:19: note: deduced conflicting types for parameter ‘const _Tp’ (‘long unsigned int’ and ‘long long unsigned int’)
63 | inc = std::max(inc, 0ull); // Ensure inc is non negative
| ~~~~~~~~^~~~~~~~~~~
/usr/include/c++/15/bits/stl_algobase.h:304:5: note: candidate 2: ‘template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’
304 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/15/bits/stl_algobase.h:304:5: note: candidate expects 3 arguments, 2 provided
/usr/include/c++/15/bits/stl_algo.h:5784:5: note: candidate 3: ‘template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)’
5784 | max(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/15/bits/stl_algo.h:5784:5: note: candidate expects 1 argument, 2 provided
/usr/include/c++/15/bits/stl_algo.h:5794:5: note: candidate 4: ‘template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)’
5794 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/15/bits/stl_algo.h:5794:5: note: template argument deduction/substitution failed:
src/search/search_limiter.cpp:63:19: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long unsigned int’
63 | inc = std::max(inc, 0ull); // Ensure inc is non negative
| ~~~~~~~~^~~~~~~~~~~
make[1]: *** [makefile:172: build/bmi2/search_limiter.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/tmp1ggkms7j/Minke/Minke-tmp'
make: *** [makefile:158: bmi2] Error 2