Skip to content

Commit

Permalink
VLTC tuning
Browse files Browse the repository at this point in the history
Tuning some parameters that scale well with longer time control:

Failed STC:
https://tests.stockfishchess.org/tests/view/6313424d8202a039920e130a
LLR: -2.94 (-2.94,2.94) <-1.75,0.25>
Total: 42680 W: 11231 L: 11540 D: 19909
Ptnml(0-2): 191, 5008, 11232, 4737, 172

Passed LTC:
https://tests.stockfishchess.org/tests/view/6311e2cd874169ca52ae7933
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 53448 W: 14782 L: 14437 D: 24229
Ptnml(0-2): 101, 5214, 15740, 5577, 92

Passed VLTC:
https://tests.stockfishchess.org/tests/view/6312530cfa99a92e3002c927
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 123336 W: 33465 L: 33007 D: 56864
Ptnml(0-2): 38, 11466, 38204, 11920, 40

closes #4154

Bench: 5609606
  • Loading branch information
FauziAkram authored and vondele committed Sep 7, 2022
1 parent a4d18d2 commit 5eeb96d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ namespace {

// Futility margin
Value futility_margin(Depth d, bool improving) {
return Value(168 * (d - improving));
return Value(174 * (d - improving));
}

// Reductions lookup table, initialized at startup
Expand Down Expand Up @@ -362,7 +362,7 @@ void Thread::search() {
trend = (us == WHITE ? make_score(tr, tr / 2)
: -make_score(tr, tr / 2));

int opt = sigmoid(prev, 8, 17, 144, 13966, 183);
int opt = sigmoid(prev, 8, 17, 144, 15012, 183);
optimism[ us] = Value(opt);
optimism[~us] = -optimism[us];
}
Expand Down Expand Up @@ -778,7 +778,7 @@ namespace {
// return a fail low.
if ( !PvNode
&& depth <= 7
&& eval < alpha - 348 - 258 * depth * depth)
&& eval < alpha - 341 - 267 * depth * depth)
{
value = qsearch<NonPV>(pos, ss, alpha - 1, alpha);
if (value < alpha)
Expand All @@ -797,7 +797,7 @@ namespace {
// Step 9. Null move search with verification search (~22 Elo)
if ( !PvNode
&& (ss-1)->currentMove != MOVE_NULL
&& (ss-1)->statScore < 14695
&& (ss-1)->statScore < 15344
&& eval >= beta
&& eval >= ss->staticEval
&& ss->staticEval >= beta - 15 * depth - improvement / 15 + 201 + complexity / 24
Expand All @@ -808,7 +808,7 @@ namespace {
assert(eval - beta >= 0);

// Null move dynamic reduction based on depth, eval and complexity of position
Depth R = std::min(int(eval - beta) / 147, 5) + depth / 3 + 4 - (complexity > 650);
Depth R = std::min(int(eval - beta) / 152, 5) + depth / 3 + 4 - (complexity > 650);

ss->currentMove = MOVE_NULL;
ss->continuationHistory = &thisThread->continuationHistory[0][0][NO_PIECE][0];
Expand Down Expand Up @@ -844,7 +844,7 @@ namespace {
}
}

probCutBeta = beta + 179 - 46 * improving;
probCutBeta = beta + 173 - 46 * improving;

// Step 10. ProbCut (~4 Elo)
// If we have a good enough capture and a reduced search returns a value
Expand Down Expand Up @@ -906,9 +906,9 @@ namespace {
return qsearch<PV>(pos, ss, alpha, beta);

if ( cutNode
&& depth >= 8
&& depth >= 9
&& !ttMove)
depth--;
depth -= 2;

moves_loop: // When in check, search starts here

Expand Down Expand Up @@ -1009,7 +1009,7 @@ namespace {
&& !PvNode
&& lmrDepth < 6
&& !ss->inCheck
&& ss->staticEval + 281 + 179 * lmrDepth + PieceValue[EG][pos.piece_on(to_sq(move))]
&& ss->staticEval + 277 + 187 * lmrDepth + PieceValue[EG][pos.piece_on(to_sq(move))]
+ captureHistory[movedPiece][to_sq(move)][type_of(pos.piece_on(to_sq(move)))] / 6 < alpha)
continue;

Expand Down Expand Up @@ -1173,7 +1173,7 @@ namespace {
+ (*contHist[0])[movedPiece][to_sq(move)]
+ (*contHist[1])[movedPiece][to_sq(move)]
+ (*contHist[3])[movedPiece][to_sq(move)]
- 4334;
- 4560;

// Decrease/increase reduction for moves with a good/bad history (~30 Elo)
r -= ss->statScore / 15914;
Expand All @@ -1188,7 +1188,7 @@ namespace {
// Do full depth search when reduced LMR search fails high
if (value > alpha && d < newDepth)
{
const bool doDeeperSearch = value > (alpha + 78 + 11 * (newDepth - d));
const bool doDeeperSearch = value > (alpha + 73 + 12 * (newDepth - d));
value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, newDepth + doDeeperSearch, !cutNode);

int bonus = value > alpha ? stat_bonus(newDepth)
Expand Down Expand Up @@ -1337,14 +1337,14 @@ namespace {
quietsSearched, quietCount, capturesSearched, captureCount, depth);

// Bonus for prior countermove that caused the fail low
else if ( (depth >= 4 || PvNode)
else if ( (depth >= 5 || PvNode)
&& !priorCapture)
{
//Assign extra bonus if current node is PvNode or cutNode
//or fail low was really bad
bool extraBonus = PvNode
|| cutNode
|| bestValue < alpha - 70 * depth;
|| bestValue < alpha - 66 * depth;

update_continuation_histories(ss-1, pos.piece_on(prevSq), prevSq, stat_bonus(depth) * (1 + extraBonus));
}
Expand Down

3 comments on commit 5eeb96d

@mymoso
Copy link

@mymoso mymoso commented on 5eeb96d Sep 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the "heaviness" of the message, but I couldn't compile it.

make profile-build ARCH=x86-64-bmi2 lto=yes extra=yes native=yes numa=yes embed=yes -j 30 COMP=mingw

Default net: nn-ad9b42354671.nnue
Downloading https://tests.stockfishchess.org/api/nn/nn-ad9b42354671.nnue
Network validated

Config:
debug: 'no'
sanitize: 'none'
optimize: 'yes'
arch: 'x86_64'
bits: '64'
kernel: 'MINGW64_NT-10.0-22000'
os: 'Windows_NT'
prefetch: 'yes'
popcnt: 'yes'
pext: 'yes'
sse: 'yes'
mmx: 'no'
sse2: 'yes'
ssse3: 'yes'
sse41: 'yes'
avx2: 'yes'
avxvnni: 'no'
avx512: 'no'
vnni256: 'no'
vnni512: 'no'
neon: 'no'
arm_version: '0'

Flags:
CXX: x86_64-w64-mingw32-c++
CXXFLAGS: -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto
LDFLAGS: -static -Wall -Wcast-qual -fno-exceptions -std=c++17 -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -save-temps

Testing config sanity. If this fails, try 'make help' ...

Step 1/4. Building instrumented executable ...
make ARCH=x86-64-bmi2 COMP=mingw gcc-profile-make
make[1]: Entering directory '/g/Chess/Compilações BYO/Stockfish/Oficial/src'
make ARCH=x86-64-bmi2 COMP=mingw
EXTRACXXFLAGS='-fprofile-generate=profdir'
EXTRACXXFLAGS+=
EXTRALDFLAGS='-lgcov'
all
make[2]: Entering directory '/g/Chess/Compilações BYO/Stockfish/Oficial/src'
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o benchmark.o benchmark.cpp
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o bitbase.o bitbase.cpp
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o bitboard.o bitboard.cpp
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o endgame.o endgame.cpp
benchmark.cpp:19:10: fatal error: fstream: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o evaluate.o evaluate.cpp
bitbase.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o main.o main.cpp
bitboard.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
endgame.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o material.o material.cpp
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o misc.o misc.cpp
evaluate.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o movegen.o movegen.cpp
main.cpp:19:10: fatal error: iostream: No such file or directory
19 | #include
| ^~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o movepick.o movepick.cpp
material.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o pawns.o pawns.cpp
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o position.o position.cpp
movegen.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o psqt.o psqt.cpp
In file included from C:/dev/msys64/mingw64/include/minwindef.h:163,
from C:/dev/msys64/mingw64/include/windef.h:9,
from C:/dev/msys64/mingw64/include/windows.h:69,
from misc.cpp:29:
C:/dev/msys64/mingw64/include/winnt.h:1658:11: fatal error: x86intrin.h: No such file or directory
1658 | # include <x86intrin.h>
| ^~~~~~~~~~~~~
compilation terminated.
movepick.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o search.o search.cpp
pawns.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o thread.o thread.cpp
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o timeman.o timeman.cpp
position.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
In file included from psqt.h:24,
from psqt.cpp:20:
types.h:39:10: fatal error: cassert: No such file or directory
39 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o tt.o tt.cpp
search.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o uci.o uci.cpp
thread.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o ucioption.o ucioption.cpp
timeman.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o tune.o tune.cpp
tt.cpp:19:10: fatal error: cstring: No such file or directory
19 | #include // For std::memset
| ^~~~~~~~~
compilation terminated.
uci.cpp:19:10: fatal error: cassert: No such file or directory
19 | #include
| ^~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o tbprobe.o syzygy/tbprobe.cpp
ucioption.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o evaluate_nnue.o nnue/evaluate_nnue.cpp
tune.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
x86_64-w64-mingw32-c++ -Wall -Wcast-qual -fno-exceptions -std=c++17 -fprofile-generate=profdir -pedantic -Wextra -Wshadow -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -flto -c -o half_ka_v2_hm.o nnue/features/half_ka_v2_hm.cpp
syzygy/tbprobe.cpp:19:10: fatal error: algorithm: No such file or directory
19 | #include
| ^~~~~~~~~~~
compilation terminated.
nnue/evaluate_nnue.cpp:21:10: fatal error: iostream: No such file or directory
21 | #include
| ^~~~~~~~~~
compilation terminated.
In file included from nnue/features/half_ka_v2_hm.h:24,
from nnue/features/half_ka_v2_hm.cpp:21:
nnue/features/../nnue_common.h:24:10: fatal error: cstring: No such file or directory
24 | #include
| ^~~~~~~~~
compilation terminated.
make[2]: *** [: movegen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [: tt.o] Error 1
make[2]: *** [: evaluate_nnue.o] Error 1
make[2]: *** [: position.o] Error 1
make[2]: *** [: benchmark.o] Error 1
make[2]: *** [: ucioption.o] Error 1
make[2]: *** [: uci.o] Error 1
make[2]: *** [: tbprobe.o] Error 1
make[2]: *** [: timeman.o] Error 1
make[2]: *** [: thread.o] Error 1
make[2]: *** [: search.o] Error 1
make[2]: *** [: psqt.o] Error 1
make[2]: *** [: tune.o] Error 1
make[2]: *** [: pawns.o] Error 1
make[2]: *** [: movepick.o] Error 1
make[2]: *** [: half_ka_v2_hm.o] Error 1
make[2]: *** [: misc.o] Error 1
make[2]: *** [: material.o] Error 1
make[2]: *** [: main.o] Error 1
make[2]: *** [: evaluate.o] Error 1
make[2]: *** [: endgame.o] Error 1
make[2]: *** [: bitboard.o] Error 1
make[2]: *** [: bitbase.o] Error 1
make[2]: Leaving directory '/g/Chess/Compilações BYO/Stockfish/Oficial/src'
make[1]: *** [Makefile:958: gcc-profile-make] Error 2
make[1]: Leaving directory '/g/Chess/Compilações BYO/Stockfish/Oficial/src'
make: *** [Makefile:803: profile-build] Error 2

@ddobbelaere
Copy link
Contributor

@ddobbelaere ddobbelaere commented on 5eeb96d Sep 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build errors are completely unrelated to this commit. I have no idea why your compiler cannot locate C++ standard library header files (which is what it appears we're seeing). Please join the Stockfish Discord server and ask your question there.

@RogerThiede
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also don't see how any of these errors would be caused by this commit. Please realize that by providing your error messages as a comment on a specific commit you are implying that you did not receive these error messages when compiling on the immediate prior commit. git bisect is your friend.

Please sign in to comment.