Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

schlucke
Posts: 58
Joined: Thu Apr 09, 2009 1:38 pm

Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by schlucke »

32 and 64 Bit builds (GCC) are available here: http://www.leakyheap.de/macchess/.

Happy new year,
Holger
Kaj Soderberg

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by Kaj Soderberg »

Thanks again for the new versions,

The fact that SF does not run in analysis mode under the DS12 interface, encouraged me to try SCID as you mentioned everything was fine there. Looks nice and works nice so far, also in analysis mode.

Best regards,
Kaj
schlucke
Posts: 58
Joined: Thu Apr 09, 2009 1:38 pm

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by schlucke »

Kaj Soderberg wrote:Thanks again for the new versions,

The fact that SF does not run in analysis mode under the DS12 interface, encouraged me to try SCID as you mentioned everything was fine there. Looks nice and works nice so far, also in analysis mode.

Best regards,
Kaj
Yea, Scid is the chess database for Mac users ... and I like it more from day to day. Who needs Chessbase ;)

If you like to try a more lightweight GUI try the older Glaurung GUI from Tord: http://www.glaurungchess.com/

Perhaps someone can check if the Stockfish JA builds work under Shredder Windows GUI, so we narrow where the problem is!?

Marco and/or others: Is Stockfish showing PVs in Shredder Windows GUI during analysis mode?

Holger
User avatar
Eelco de Groot
Posts: 4567
Joined: Sun Mar 12, 2006 2:40 am
Full name:   

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by Eelco de Groot »

schlucke wrote:
Kaj Soderberg wrote:Thanks again for the new versions,

The fact that SF does not run in analysis mode under the DS12 interface, encouraged me to try SCID as you mentioned everything was fine there. Looks nice and works nice so far, also in analysis mode.

Best regards,
Kaj
Yea, Scid is the chess database for Mac users ... and I like it more from day to day. Who needs Chessbase ;)

If you like to try a more lightweight GUI try the older Glaurung GUI from Tord: http://www.glaurungchess.com/

Perhaps someone can check if the Stockfish JA builds work under Shredder Windows GUI, so we narrow where the problem is!?

Marco and/or others: Is Stockfish showing PVs in Shredder Windows GUI during analysis mode?

Holger
Sure, Shredder GUI is the only GUI that I use with UCI-engines, apart that for serious engine-engine testing I would probably still try the compact Lokasoft Engine Research Tool or try finding out more about Cutechess. But I only let Stockfish play a very limited number of games, just eight games recently against my new Rybka 2.3.2a, most of these in the new year :) after having built hundreds of versions of Stockfish and Glaurung code. But all analysis is without problems, as far as I know, the only problem some people reported problems installing Stockfish in the Deep Shredder 12 GUI. I am still using Shredder 11 GUI.

I would send an e-mail to Stefan Meyer-Kahlen and report any problems, I think he is still a Mac user, well I'm not sure but he used to be sponsored with Mac machines. The GUI is different on the Mac though, maybe I'm mistaken I thought it was Java based? Could be wrong.

Regards, Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by mcostalba »

schlucke wrote: Marco and/or others: Is Stockfish showing PVs in Shredder Windows GUI during analysis mode?
I don't have Shredder GUI so I cannot answer, sorry.
schlucke
Posts: 58
Joined: Thu Apr 09, 2009 1:38 pm

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by schlucke »

OK, got a mail from SMK and he told me how to launch the Shredder GUI in debug mode. So I take a look at the GUI <-> Stockfish communication ...

Startup in debug mode (maybe Shredder Linux GUI the same?)

Code: Select all

java -DShredder.ShowInfo=true -DShredder.ShowGuiToEngine=true -DShredder.ShowEngineToGui=true -jar JShredder.jar
Now the "normal" UCI startup process

Code: Select all

GUI to engine&#58; uci
GUI to engine&#58; isready
Engine to GUI&#58; Stockfish 1.6 64bit. By Tord Romstad, Marco Costalba, Joona Kiiski.
Engine to GUI&#58; id name Stockfish 1.6 64bit
Engine to GUI&#58; id author Tord Romstad, Marco Costalba, Joona Kiiski
Engine to GUI&#58; 
Engine to GUI&#58; option name Use Search Log type check default false
Engine to GUI&#58; option name Search Log Filename type string default SearchLog.txt
...
Engine to GUI&#58; option name UCI_AnalyseMode type check default false
Engine to GUI&#58; uciok
GUI to engine&#58; setoption name UCI_ShredderbasesPath value shredderbases/all34.tbe
GUI to engine&#58; setoption name Hash value 512
GUI to engine&#58; setoption name Ponder value false
GUI to engine&#58; setoption name MultiPV value 2
GUI to engine&#58; isready
Engine to GUI&#58; readyok
Engine to GUI&#58; No such option&#58; UCI_ShredderbasesPath
Engine to GUI&#58; readyok
Now I set up a position a go to analyze mode ...

Code: Select all

GUI to engine&#58; setoption name UCI_AnalyseMode value true
GUI to engine&#58; setoption name MultiPV value 2
GUI to engine&#58; position fen 3rr1k1/1b1q1p1p/p2b1npB/2pP4/1p6/4N1P1/PPQ1NnBP/R2R2K1 w - - 0 1 moves 
GUI to engine&#58; setoption name MultiPV value 2
GUI to engine&#58; go infinite
And Stockfish never responds :(

Seems more like a engine problem!? Marco? Tord?
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by zullil »

Seems to work from the command line:

Code: Select all

./stockfish-1.6 
Stockfish 1.6 64bit. By Tord Romstad, Marco Costalba, Joona Kiiski.
uci
id name Stockfish 1.6 64bit
id author Tord Romstad, Marco Costalba, Joona Kiiski

option name Use Search Log type check default false
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Mobility &#40;Middle Game&#41; type spin default 100 min 0 max 200
option name Mobility &#40;Endgame&#41; type spin default 100 min 0 max 200
option name Pawn Structure &#40;Middle Game&#41; type spin default 100 min 0 max 200
option name Pawn Structure &#40;Endgame&#41; type spin default 100 min 0 max 200
option name Passed Pawns &#40;Middle Game&#41; type spin default 100 min 0 max 200
option name Passed Pawns &#40;Endgame&#41; type spin default 100 min 0 max 200
option name Space type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name King Safety Curve type combo default Quadratic var Quadratic var Linear
option name King Safety Coefficient type spin default 40 min 1 max 100
option name King Safety X Intercept type spin default 0 min 0 max 20
option name King Safety Max Slope type spin default 30 min 10 max 100
option name King Safety Max Value type spin default 500 min 100 max 1000
option name Queen Contact Check Bonus type spin default 3 min 0 max 8
option name Queen Check Bonus type spin default 2 min 0 max 4
option name Rook Check Bonus type spin default 1 min 0 max 4
option name Bishop Check Bonus type spin default 1 min 0 max 4
option name Knight Check Bonus type spin default 1 min 0 max 4
option name Discovered Check Bonus type spin default 3 min 0 max 8
option name Mate Threat Bonus type spin default 3 min 0 max 8
option name Check Extension &#40;PV nodes&#41; type spin default 2 min 0 max 2
option name Check Extension &#40;non-PV nodes&#41; type spin default 1 min 0 max 2
option name Single Reply Extension &#40;PV nodes&#41; type spin default 2 min 0 max 2
option name Single Reply Extension &#40;non-PV nodes&#41; type spin default 2 min 0 max 2
option name Mate Threat Extension &#40;PV nodes&#41; type spin default 0 min 0 max 2
option name Mate Threat Extension &#40;non-PV nodes&#41; type spin default 0 min 0 max 2
option name Pawn Push to 7th Extension &#40;PV nodes&#41; type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension &#40;non-PV nodes&#41; type spin default 1 min 0 max 2
option name Passed Pawn Extension &#40;PV nodes&#41; type spin default 1 min 0 max 2
option name Passed Pawn Extension &#40;non-PV nodes&#41; type spin default 0 min 0 max 2
option name Pawn Endgame Extension &#40;PV nodes&#41; type spin default 2 min 0 max 2
option name Pawn Endgame Extension &#40;non-PV nodes&#41; type spin default 2 min 0 max 2
option name Full Depth Moves &#40;PV nodes&#41; type spin default 10 min 1 max 100
option name Full Depth Moves &#40;non-PV nodes&#41; type spin default 3 min 1 max 100
option name Threat Depth type spin default 5 min 0 max 100
option name Randomness type spin default 0 min 0 max 10
option name Minimum Split Depth type spin default 4 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 5 min 4 max 8
option name Threads type spin default 2 min 1 max 8
option name Hash type spin default 32 min 4 max 4096
option name Clear Hash type button
option name New Game type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
uciok
setoption name Ponder value false
setoption name MultiPV value 2
isready
readyok
setoption name UCI_AnalyseMode value true
setoption name MultiPV value 2
position fen 3rr1k1/1b1q1p1p/p2b1npB/2pP4/1p6/4N1P1/PPQ1NnBP/R2R2K1 w - - 0 1 moves
setoption name MultiPV value 2
go infinite 
info depth 1
info depth 1 score cp 36 time 48 nodes 742 nps 15458 pv g1f2
info depth 2
info multipv 1 score cp 12 depth 2 time 48 nodes 811 nps 16895 pv g1f2 d7b5 
info multipv 2 score cp -181 depth 1 time 48 nodes 811 nps 16895 pv d1c1 
info multipv 1 score cp 12 depth 2 time 48 nodes 972 nps 20250 pv g1f2 d7b5 
info multipv 2 score cp -298 depth 2 time 48 nodes 972 nps 20250 pv d1c1 f6e4 
info multipv 1 score cp 12 depth 2 time 49 nodes 1278 nps 26081 pv g1f2 d7b5 
info multipv 2 score cp -161 depth 2 time 49 nodes 1278 nps 26081 pv d1f1 f2e4 
info depth 3
info multipv 1 score cp 76 depth 3 time 50 nodes 2159 nps 43180 pv g1f2 e8e3 h6e3 f6g4 f2f3 
info multipv 2 score cp -161 depth 2 time 50 nodes 2159 nps 43180 pv d1f1 f2e4 
info multipv 1 score cp 76 depth 3 time 50 nodes 2400 nps 48000 pv g1f2 e8e3 h6e3 f6g4 f2f3 
info multipv 2 score cp -153 depth 3 time 50 nodes 2400 nps 48000 pv d1f1 f2e4 e2f4 
info depth 4
info multipv 1 score cp -32 depth 4 time 52 nodes 4124 nps 79307 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 
info multipv 2 score cp -153 depth 3 time 53 nodes 4124 nps 77811 pv d1f1 f2e4 e2f4 
info multipv 1 score cp -32 depth 4 time 54 nodes 5086 nps 94185 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 
info multipv 2 score cp -185 depth 4 time 54 nodes 5086 nps 94185 pv d1f1 f2e4 a1d1 b7c8 
info depth 5
info multipv 1 score cp -8 depth 5 time 55 nodes 6392 nps 116218 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 b2b3 
info multipv 2 score cp -185 depth 4 time 55 nodes 6392 nps 116218 pv d1f1 f2e4 a1d1 b7c8 
info multipv 1 score cp -8 depth 5 time 57 nodes 8709 nps 152789 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 b2b3 
info multipv 2 score cp -165 depth 5 time 57 nodes 8709 nps 152789 pv d1f1 f2e4 a1d1 e8e5 e2f4 
info depth 6
info multipv 1 score cp -40 depth 6 time 61 nodes 12648 nps 207344 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 a3b4 c5b4 
info multipv 2 score cp -165 depth 5 time 61 nodes 12648 nps 207344 pv d1f1 f2e4 a1d1 e8e5 e2f4 
info multipv 1 score cp -40 depth 6 time 67 nodes 20485 nps 305746 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 a3b4 c5b4 
info multipv 2 score cp -181 depth 6 time 67 nodes 20485 nps 305746 pv d1f1 f2g4 e3g4 f6g4 h6g5 g4e3 g5e3 e8e3 
info depth 7
info multipv 1 score cp -56 depth 7 time 92 nodes 34897 nps 379315 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 a3b4 c5b4 
info multipv 2 score cp -181 depth 6 time 93 nodes 34897 nps 375236 pv d1f1 f2g4 e3g4 f6g4 h6g5 g4e3 g5e3 e8e3 
info multipv 1 score cp -56 depth 7 time 96 nodes 38576 nps 401833 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 a3b4 c5b4 
info multipv 2 score cp -181 depth 7 time 96 nodes 38576 nps 401833 pv d1f1 f2g4 e3g4 f6g4 h6g5 g4e3 g5e3 e8e3 
info depth 8
info multipv 1 score cp -52 depth 8 time 120 nodes 61586 nps 513216 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 a3b4 c5b4 e2f4 h3f4 g3f4 
info multipv 2 score cp -181 depth 7 time 120 nodes 61586 nps 513216 pv d1f1 f2g4 e3g4 f6g4 h6g5 g4e3 g5e3 e8e3 
info multipv 1 score cp -52 depth 8 time 143 nodes 84652 nps 591972 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 a3b4 c5b4 e2f4 h3f4 g3f4 
info multipv 2 score cp -222 depth 8 time 143 nodes 84652 nps 591972 pv d1f1 f2g4 e3g4 f6g4 h6f4 d6f4 e2f4 g4e3 c2c5 e3f1 a1f1 g6g5 
info depth 9
info multipv 1 score cp -56 depth 9 time 200 nodes 150665 nps 753325 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 a3b4 c5b4 c2a4 d7a4 a1a4 h3g5 f1f6 d6e5 
info multipv 2 score cp -222 depth 8 time 200 nodes 150665 nps 753325 pv d1f1 f2g4 e3g4 f6g4 h6f4 d6f4 e2f4 g4e3 c2c5 e3f1 a1f1 g6g5 
info multipv 1 score cp -56 depth 9 time 271 nodes 264738 nps 976892 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 a3b4 c5b4 c2a4 d7a4 a1a4 h3g5 f1f6 d6e5 
info multipv 2 score cp -254 depth 9 time 271 nodes 264738 nps 976892 pv d1f1 f2g4 e3g4 f6g4 h6c1 d7e7 g2f3 g4e3 c1e3 e7e3 g1h1 d6e5 a1d1 
info depth 10
info multipv 1 score cp -48 depth 10 time 460 nodes 546729 nps 1188541 pv g1f2 e8e3 h6e3 f6g4 f2f3 g4h2 f3f2 h2g4 f2f3 d8e8 e3c5 d6c5 c2c5 d7f5 e2f4 b7c8 d1e1 g4e5 e1e5 f5e5 a1h1 e5b2 
info multipv 2 score cp -254 depth 9 time 460 nodes 546729 nps 1188541 pv d1f1 f2g4 e3g4 f6g4 h6c1 d7e7 g2f3 g4e3 c1e3 e7e3 g1h1 d6e5 a1d1 
info multipv 1 score cp -48 depth 10 time 545 nodes 678278 nps 1244546 pv g1f2 e8e3 h6e3 f6g4 f2f3 g4h2 f3f2 h2g4 f2f3 d8e8 e3c5 d6c5 c2c5 d7f5 e2f4 b7c8 d1e1 g4e5 e1e5 f5e5 a1h1 e5b2 
info multipv 2 score cp -282 depth 10 time 545 nodes 678278 nps 1244546 pv d1f1 f2g4 e3g4 f6g4 h6c1 d7b5 e2f4 c5c4 g1h1 d6f4 c1f4 b7d5 a1d1 d5g2 h1g2 
info depth 11
info nodes 1457652 nps 1426276 time 1022 hashfull 4
info multipv 1 score cp -84 depth 11 time 1455 nodes 2231304 nps 1533542 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 d2c1 d8e8 a3b4 c5b4 a1a2 e8e5 c1b1 
info multipv 2 score cp -282 depth 10 time 1456 nodes 2231304 nps 1532489 pv d1f1 f2g4 e3g4 f6g4 h6c1 d7b5 e2f4 c5c4 g1h1 d6f4 c1f4 b7d5 a1d1 d5g2 h1g2 
info currmove d1f1 currmovenumber 2
info multipv 1 score cp -84 depth 11 time 1562 nodes 2388318 nps 1529012 pv g1f2 e8e3 f2e3 f6g4 e3d2 g4h6 a2a3 h6g4 h2h3 g4f2 d1f1 f2h3 d2c1 d8e8 a3b4 c5b4 a1a2 e8e5 c1b1 
info multipv 2 score cp -294 depth 11 time 1562 nodes 2388318 nps 1529012 pv d1f1 f2g4 e3g4 f6g4 h6g5 d6e7 g5f4 b7d5 a1d1 d7e6 g2d5 d8d5 c2a4 e8d8 
schlucke
Posts: 58
Joined: Thu Apr 09, 2009 1:38 pm

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by schlucke »

How did you build the executable?

All my versions end up like this :(

Code: Select all

uciok
setoption name Ponder value false 
setoption name MultiPV value 2 
isready 
readyok
setoption name UCI_AnalyseMode value true 
setoption name MultiPV value 2 
position fen 3rr1k1/1b1q1p1p/p2b1npB/2pP4/1p6/4N1P1/PPQ1NnBP/R2R2K1 w - - 0 1 moves 
setoption name MultiPV value 2 
usready
Unknown command&#58; usready
isready
readyok
go infinite 
Segmentation fault
UncombedCoconut
Posts: 319
Joined: Fri Dec 18, 2009 11:40 am
Location: Naperville, IL

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by UncombedCoconut »

It looks like it doesn't like an empty "moves" clause in the position line. Maybe you can just delete it?
schlucke
Posts: 58
Joined: Thu Apr 09, 2009 1:38 pm

Re: Stockfish 1.6.2 and 1.6.2s (DC) for Mac OS X 10.6

Post by schlucke »

Yea, indeed! Without the "moves" it works.

But why is Luis build working?