Closed diegopaiva1 closed 3 years ago
Hi, this doesn't appear to be a problem with your script, this is an issue with Stockfish.
Do you have it installed and runnable as the command stockfish
? What does it output when you run it and provide this as input?
position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
go perft 3
You are right. The problem was with Stockfish. I did have Stockfish installed and available from the command line. However, it probably had some very minor changes in its code base while I was testing its perft
procedure.
By cloning Stockfish repo and recompiling it from scratch solved the issue. Now perftree is working just fine. Thanks!
Hello, thank you for developing this tool. However, I am struggling to make it work.
My perft program, e.g,
my_perft.out
, receives two args (depth and FEN) and outputs the nodes in the expected format according to theREADME.md
file.When running
perftree my_perft.out
:I tried removing the
\n
character after the total node count but the error persists. What can I do? Thank you in advance.