I just got a Macbook and I'm attempting to build a chess engine, so I want to run the perft function on Stockfish to compare my perft results. When I was on PC, I was able to download the engine from the website and run the perft function fine, but I can't figure out how to do it on mac. I tried downloading Stockfish with Homebrew which apparently worked but when I tried the ./stockfish
command to run t it outputted this error: zsh: no such file or directory: ./stockfish
. Can anyone provide complete steps to do this? Or if there's any alternative that has a feature equivalent to what Stockfish's perft does that would be good too.
1 Answer
Solution: I downloaded stockfish through homebrew and was able to run it on the terminal with the command stockfish
. All other commands are the same.
Credit: @qwr in the comments
zsh: illegal hardware instruction
error in the terminal window that openedstockfish
without ./