How to install the Stockfish NNUE engine into Hiarcs UCI
Moderators: Watchman, Mark Uniacke, mrudolf
Stockfish configuration settings?
Thanks for a great thread, especially Mr Rudolf.
I have got Stockfish 13 installed and working, but not sure I have configured it correctly in HCE.
I notice that the four cores of my iMac CPU are around 40% in analysis mode, but Deep HIARCS 24 engine pushes all four cores to 100%.
What should the Stockfish engine Configuration settings be?
Thanks very much
I have got Stockfish 13 installed and working, but not sure I have configured it correctly in HCE.
I notice that the four cores of my iMac CPU are around 40% in analysis mode, but Deep HIARCS 24 engine pushes all four cores to 100%.
What should the Stockfish engine Configuration settings be?
Thanks very much
Re: Stockfish configuration settings?
Did you check Treads value? As far as I remember, Stockfish defaults to using only 1 thread.mikebore wrote:I have got Stockfish 13 installed and working, but not sure I have configured it correctly in HCE.
I notice that the four cores of my iMac CPU are around 40% in analysis mode, but Deep HIARCS 24 engine pushes all four cores to 100%.
What should the Stockfish engine Configuration settings be?
Thanks very much
That was it! Thanks again.
I have just managed to repeat the process on my M1 MacBook Air, but there were some differences.
At the end of the Homebrew install it said:
==> Next steps:
- Add Homebrew to your PATH in /Users/michaelb/.zprofile:
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/michaelb/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
I ran those commands, and then brew install Stockfish
After that it gave:
==> Pouring stockfish-13.arm64_big_sur.bottle.tar.gz
/opt/homebrew/Library/Homebrew/download_strategy.rb:94: warning: conflicting chdir during another chdir block
🍺 /opt/homebrew/Cellar/stockfish/13: 6 files, 20.6MB
So in HCE I had to add it from /opt/homebrew/Cellar/
Thanks again
I have just managed to repeat the process on my M1 MacBook Air, but there were some differences.
At the end of the Homebrew install it said:
==> Next steps:
- Add Homebrew to your PATH in /Users/michaelb/.zprofile:
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/michaelb/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
I ran those commands, and then brew install Stockfish
After that it gave:
==> Pouring stockfish-13.arm64_big_sur.bottle.tar.gz
/opt/homebrew/Library/Homebrew/download_strategy.rb:94: warning: conflicting chdir during another chdir block
🍺 /opt/homebrew/Cellar/stockfish/13: 6 files, 20.6MB
So in HCE I had to add it from /opt/homebrew/Cellar/
Thanks again
Re: How to install the Stockfish NNUE engine into Hiarcs UCI
What if you don't have HCE downloaded? I just want to use Stockfish for testing, do I really need to download HCE? I already have it installed in Homebrew.
Re: How to install the Stockfish NNUE engine into Hiarcs UCI
I am trying to install Stockfish 15.1 into HIARCS CE Pro (1.1.2 Premium) on a MacBook Air (M2, 2022) running Ventura 13.2.1.
I have successfully installed Homebrew and executed the command: brew install stockfish.
Next, opened HCE, went to preferences/Engines, and selected Add (+)
I then typed Cmd+Shift+G, entered path: /usr/local/bin and pressed Return key but no luck.
I read below where mikebore wrote that we might need to do another step, namely:
==> Next steps:
- Add Homebrew to your PATH in /Users/michaelb/.zprofile:
My question is: What command do I use to add homebrew to my PATH? (I am completely unsure about how to use Terminal)
Thank you for anyone in the know about how to do this, or
I have successfully installed Homebrew and executed the command: brew install stockfish.
Next, opened HCE, went to preferences/Engines, and selected Add (+)
I then typed Cmd+Shift+G, entered path: /usr/local/bin and pressed Return key but no luck.
I read below where mikebore wrote that we might need to do another step, namely:
==> Next steps:
- Add Homebrew to your PATH in /Users/michaelb/.zprofile:
My question is: What command do I use to add homebrew to my PATH? (I am completely unsure about how to use Terminal)
Thank you for anyone in the know about how to do this, or
-
- Member
- Posts: 116
- Joined: Thu Nov 03, 2016 10:04 pm
Re: How to install the Stockfish NNUE engine into Hiarcs UCI
Hi gbsyr:
On my system (macOS Ventura) HomeBrew installed Stockfish 15.1 in the /opt/homebrew/Cellar/stockfish/15.1/bin directory.
You can navigate to that directory by pressing cmd-shift-G when the add engine open file dialog is active.
HTH.
On my system (macOS Ventura) HomeBrew installed Stockfish 15.1 in the /opt/homebrew/Cellar/stockfish/15.1/bin directory.
You can navigate to that directory by pressing cmd-shift-G when the add engine open file dialog is active.
HTH.
Re: How to install the Stockfish NNUE engine into Hiarcs UCI
/opt/homebrew/Cellar/stockfish/16.1/bin would be the location for Apple M1 silicon - brew changes install folder. The version you may have may vary too.
CMD / Shift / . can help too in showing hidden folders such as /opt or /usr off the root in Finder.
CMD / Shift / . can help too in showing hidden folders such as /opt or /usr off the root in Finder.
Re: How to install the Stockfish NNUE engine into Hiarcs UCI
The line below run in terminal should list your brew path:
Then, stockfish (and lc0 which you can install by brew install lc0) will be in the bin/ subfolder of the folder given above.
Once you are in the terminal, the fastest way may be (assuming brew is in /usr/local):
1. This will open your brew programs folder in Finder.
2. Now open HCE Pro, go to Preferences/Engines.
3. Switch back to Finder, find the executable (stockfish, lc0 etc.) and drag the file to engine list in HCE Pro.
Code: Select all
brew config | grep HOMEBREW_PREFIX
Once you are in the terminal, the fastest way may be (assuming brew is in /usr/local):
1. This will open your brew programs folder in Finder.
Code: Select all
open /usr/local/bin
3. Switch back to Finder, find the executable (stockfish, lc0 etc.) and drag the file to engine list in HCE Pro.