Scorpio & egbb issue (OSX)

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

Moderators: hgm, Rebel, chrisw

Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Scorpio & egbb issue (OSX)

Post by Max »

Hi,
just compiled the latest Scorpio and the Egbb dll on my Mac. But noticed in this test game, that Scorpio could not win a KBNK endgame. All 5-men ebbs are installed.

My scorpio.ini:

Code: Select all

$ cat scorpio.ini 
#########################
log                 off
resign              900
ht 	              128
eht                 16
pht                 2
mt                  1
smp_depth           7
cluster_depth       8
message_poll_nodes  200 
egbb_path           /Users/max/Chess/TBS/Scorpio/
egbb_cache_size     16
egbb_load_type      1
Scorpios perft 6 output:

Code: Select all

$ ./scorpio2014 
feature done=0
ht 8388608 X 16 = 128.0 MB
eht 2097152 X 8 = 16.0 MB
pht 65536 X 24 = 1.5 MB
processors [1]
EgbbProbe 4.1 by Daniel Shawul
145 egbbs loaded !      
loading_time = 0s
perft 6
....................
nodes 119060324
time 11373.61 sec
quit
Bye Bye
[D]8/7b/7n/4k3/2K5/8/8/8 w - - 0 90

The game:

Code: Select all

[Event "Computer Chess Game"]
[Site "Home"]
[Date "2014.02.01"]
[Round "3"]
[White "Cheng 4 0.36c"]
[Black "Scorpio 2014"]
[Result "1/2-1/2"]
[TimeControl "60/60"]
[Annotator "8. +0,58   7... -0,60"]

1. e4 c5 2. Nf3 e6 3. d4 cxd4 4. Nxd4 Nc6 5. Nc3 a6 6. Nxc6 bxc6 7. Qf3 Bd6
{-0,60/15 2,1} 8. Bf4 {+0,58/15 1,1} Bxf4 {-0,74/16 1,0} 9. Qxf4
{+0,54/15 1,1} Nh6 {-0,59/16 1,5} 10. Bd3 {+0,61/14 1,1} O-O {-0,58/15 0,8}
11. O-O {+0,50/15 1,1} f5 {-0,46/15 1,4} 12. exf5 {+0,70/14 1,1} Nxf5
{-0,50/16 1,0} 13. Rfe1 {+0,50/13 1,1} Qh4 {-0,63/15 1,0} 14. Re4
{+0,62/16 1,1} Qxf4 {-0,67/15 1,0} 15. Rxf4 {+0,65/16 1,1} Rb8
{-0,74/16 1,8} 16. b3 {+0,62/16 1,1} g6 {-0,68/15 1,0} 17. Re1
{+0,52/15 1,1} d6 {-0,49/15 0,8} 18. Ra4 {+0,66/15 1,1} e5 {-0,62/15 1,0}
19. Ne4 {+0,61/15 1,1} Ra8 {-0,63/15 0,9} 20. Nd2 {+0,50/15 1,1} Rf6
{-0,86/14 1,1} 21. f4 {+0,78/14 1,1} exf4 {-0,83/15 1,0} 22. Rxf4
{+0,74/15 1,1} Re6 {-0,96/16 0,8} 23. Ref1 {+0,59/16 1,1} Re7
{-1,07/15 1,0} 24. Nc4 {+0,64/15 1,1} Be6 {-0,89/17 0,8} 25. g4
{+0,62/16 1,1} Nh6 {-0,86/17 1,0} 26. Nxd6 {+0,72/15 1,1} Bxg4
{-0,71/16 1,4} 27. Rc4 {+0,61/15 1,1} Bd7 {-0,70/15 1,1} 28. Be4
{+0,61/15 1,1} Rd8 {-0,52/16 1,2} 29. Bf3 {+0,39/16 2,4} Re5 {-0,18/14 1,0}
30. Bxc6 {+0,21/14 1,2} Bh3 {-0,02/19 1,0} 31. Rd1 {+0,04/16 1,1} Nf5
{-0,02/20 1,1} 32. Bd5+ {+0,20/16 1,1} Kf8 {-0,02/21 2,9} 33. Re4
{+0,15/17 1,1} Rxd5 {-0,17/17 0,4} 34. Rxd5 {+0,00/18 1,1} Rxd6
{-0,02/17 1,0} 35. Rxd6 {+0,13/18 1,1} Nxd6 {+0,19/19 1,0} 36. Re5
{+0,00/17 1,1} Nf7 {+0,27/18 1,2} 37. Rc5 {+0,14/18 1,1} Bd7 {+0,03/18 0,7}
38. c4 {+0,13/18 1,1} Ke7 {-0,02/20 0,8} 39. Rc7 {-0,08/17 1,1} a5
{-0,14/20 4} 40. Rc5 {+0,18/18 1,1} a4 {-0,10/21 0,8} 41. b4 {+0,19/18 1,1}
h6 {-0,12/19 0,7} 42. Ra5 {+0,26/16 1,1} Nd6 {-0,02/19 0,7} 43. c5
{+0,45/18 1,1} Nc4 {-0,02/21 0,9} 44. Ra7 {+0,34/18 1,1} Kd8 {-0,02/20 0,9}
45. Kf2 {+0,41/18 1,1} Na3 {-0,07/17 0,7} 46. Rb7 {+0,33/17 1,1} Bc6
{-0,02/20 0,8} 47. Rf7 {+0,19/18 1,1} Nc2 {-0,02/21 0,7} 48. Rf4
{+0,12/18 1,1} Ke7 {+0,08/20 0,8} 49. Rc4 {+0,05/18 1,1} Na3 {+0,08/21 0,8}
50. Rg4 {+0,07/19 1,1} Kf6 {+0,14/19 1,0} 51. Rd4 {+0,00/18 1,1} Nb5
{+0,37/19 0,8} 52. Rd8 {+0,00/18 1,1} Ke5 {+0,28/20 0,9} 53. Rg8
{+0,00/17 1,1} Bd5 {+0,40/18 0,8} 54. Rxg6 {-0,09/17 1,1} Bxa2
{+0,47/17 0,8} 55. Rxh6 {-0,15/17 1,1} Be6 {+1,37/18 1,0} 56. Rh5+
{-0,70/16 1,4} Kd4 {+0,77/17 0,9} 57. Rh6 {-0,77/17 1,0} Kd5 {+1,48/17 1,1}
58. Rh5+ {-1,07/16 0,8} Kc4 {+2,13/16 1,0} 59. Rh6 {-1,87/16 0,6} Bd5
{+2,65/18 1,3} 60. Rg6 {-2,29/16 1,6} a3 {+2,74/21 1,4} 61. h4
{-3,11/17 1,2} Kxb4 {+2,83/19 1,0} 62. Rg1 {-3,32/18 1,0} Kxc5
{+2,86/15 0,7} 63. h5 {-2,51/18 1,1} a2 {+2,43/19 2,2} 64. Ra1
{-2,30/18 1,0} Bg8 {+2,52/19 0,8} 65. h6 {-2,16/20 1,0} Nc3 {+2,85/19 0,9}
66. Kg3 {-2,26/20 1,0} Kd4 {+3,33/18 0,7} 67. Kg4 {-2,42/20 1,0} Bh7
{+3,33/20 0,8} 68. Kg5 {-3,24/21 1,3} Ke5 {+3,33/19 0,8} 69. Re1+
{-3,20/21 1,0} Ne4+ {+3,43/22 0,9} 70. Kg4 {-3,30/21 1,0} Kd5
{+3,43/18 0,7} 71. Ra1 {-3,34/20 1,0} Nc3 {+3,43/20 1,1} 72. Kg5
{-3,53/20 1,0} Ke6 {+3,33/21 1,0} 73. Kf4 {-3,67/20 1,3} Bb1 {+3,33/23 1,0}
74. Kf3 {-5,11/23 1,0} Kd5 {+4,50/22 0,8} 75. Ke3 {-5,40/22 1,0} Kc4
{+11,38/14 1,0} 76. Kf4 {-5,55/23 1,0} Kb3 {+14,56/13 1,0} 77. Ke5
{-5,64/23 1,0} Kb2 {+22,89/12 1,0} 78. Rxa2+ {-6,26/23 1,2} Kxa2
{+50,15/64 0,4} 79. Kf6 {-6,26/22 1,6} Ne4+ 80. Kg6 {-6,58/22 1,0} Ng3+
{+42,49/21 1,0} 81. Kg7 {-6,72/22 1,0} Nh5+ {+45,90/21 1,0} 82. Kf7
{-6,86/21 1,0} Kb3 {+47,49/22 0,8} 83. Ke7 {-6,96/21 1,0} Kc4
{+48,86/22 0,9} 84. Ke6 {-6,99/21 1,0} Kd4 {+49,66/23 0,9} 85. Ke7
{-7,00/19 1,0} Bh7 {+50,52/23 1,0} 86. Kd7 {-7,01/18 1,0} Ke5
{+51,34/23 0,9} 87. Kc6 {-7,10/20 1,0} Ng3 {+52,41/22 1,0} 88. Kc5
{-7,10/20 1,0} Nf5 {+53,21/23 1,0} 89. Kc4 {-7,29/19 1,0} Nxh6
{+54,01/24 0,9} 90. Kc3 {-7,34/20 1,0} Nf5 {+47,56/17 1,1} 91. Kb2
{-7,39/19 1,0} Kd4 {+47,26/18 1,1} 92. Kb3 {-7,39/19 1,0} Ne3
{+47,76/17 0,9} 93. Kb2 {-7,44/19 1,0} Be4 {+47,79/17 0,8} 94. Ka2
{-7,46/20 1,0} Kc3 {+47,31/18 1,1} 95. Ka1 {-7,44/21 1,0} Bd5
{+47,34/18 0,9} 96. Kb1 {-7,44/21 1,0} Nf5 {+47,34/18 1,0} 97. Ka1
{-7,44/22 1,0} Bf7 {+47,19/19 0,8} 98. Kb1 {-7,54/23 1,0} Nd4
{+46,56/20 1,1} 99. Ka1 {-7,54/21 1,0} Bg8 {+47,09/19 0,9} 100. Kb1
{-7,51/22 1,0} Ne6 {+47,07/19 1,0} 101. Ka1 {-7,49/22 1,0} Nc5
{+46,96/19 0,9} 102. Kb1 {-7,49/21 1,0} Bf7 {+46,71/19 1,1} 103. Kc1
{-7,54/21 1,0} Be6 {+46,66/19 1,1} 104. Kd1 {-7,50/20 1,0} Bf5
{+47,21/18 1,1} 105. Ke2 {-7,65/19 1,0} Kd4 {+47,34/18 1,1} 106. Kf3
{-7,61/19 1,0} Ne4 {+47,36/18 1,1} 107. Kf4 {-7,64/20 1,0} Be6
{+47,66/17 0,9} 108. Kf3 {-7,65/20 1,0} Nf6 {+47,64/17 1,2} 109. Kf4
{-7,65/19 1,0} Nd5+ {+47,16/18 1,1} 110. Kg5 {-7,39/20 1,0} Ke5
{+47,24/18 1,2} 111. Kg6 {-7,44/21 1,0} Nf4+ {+47,26/18 1,2} 112. Kg7
{-7,49/21 1,0} Kf5 {+47,61/18 0,9} 113. Kh6 {-7,49/21 1,0} Kf6
{+46,81/20 1,2} 114. Kh7 {-7,49/21 1,0} Ng6 {+46,94/19 1,2} 115. Kh6
{-7,61/21 1,0} Ne5 {+46,99/19 1,2} 116. Kh7 {-7,55/21 1,0} Bf5+
{+47,04/19 1,3} 117. Kg8 {-7,50/22 1,0} Nc6 {+46,94/19 1,3} 118. Kh8
{-7,51/23 1,0} Nd8 {+46,86/19 1,2} 119. Kg8 {-7,59/23 1,0} Bg6
{+46,26/20 1,4} 120. Kf8 {-7,59/22 0,9} Ne6+ {+46,01/21 1,5} 121. Kg8
{-7,55/22 1,0} Ke5 {+46,25/20 1,0} 122. Kh8 {-7,59/23 1,0} Kd5
{+46,67/19 0,9} 123. Kg8 {-7,49/21 1,0} Kc5 {+47,00/19 1,0} 124. Kh8
{-7,51/22 1,0} Bc2 {+46,62/19 1,0} 125. Kg8 {-7,45/20 1,0} Ng5
{+47,36/18 0,8} 126. Kg7 {-7,50/21 1,0} Ne4 {+47,02/18 1,0} 127. Kf8
{-7,50/21 1,0} Bd1 {+47,04/18 1,0} 128. Kg7 {-7,54/20 1,0} Kd4
{+47,47/17 0,9} 129. Kf8 {-7,50/20 1,0} Nd6 {+47,46/17 0,8} 130. Ke7
{-7,51/19 1,0} Nc4 {+47,02/18 0,8} 131. Kf6 {-7,31/18 1,0} Ke3
{+47,27/17 1,0} 132. Kg7 {-6,72/17 1,0} Nb6 {+47,00/17 1,0} 133. Kf6
{-5,90/15 1,0} Bb3 {+46,20/17 0,8} 134. Kg7 {+0,00/22 1,0} Bc2
{+44,36/17 1,0} 135. Kf7 {+0,00/39 1,0} Ke4 {-0,02/20 0,8} 136. Kf6
{+0,00/120 0,8} Nd7+ {-0,02/64 0,6} 137. Kg6 {+0,00/120 0,2} Kf3+
{-0,02/64 0,2} 138. Kf7 {+0,00/120 0,2} Kf4 {-0,02/64 0,2} 139. Kg7
{+0,00/120 0,2} Ke5 {-0,02/64 0,2}

{Draw claim: 50-move rule} 1/2-1/2
:arrow: Could be a problem with my Mac compile :?:

-Max
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

Here it gives a checkmate to Fruit from the same position. Maybe if the time control is too fast it may sometime miss it, since it requires some search depth to drive the loosing king to the right square.

[Site "DANIEL-PC"]
[Date "2014.02.01"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Scorpio_13:02:13"]
[Result "0-1"]
[TimeControl "40/60"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-7.16/15} Bh7 {+50.52/23 2.3} 2. Kd6 {-7.22/14 2.2} Ke4
{+51.32/26 0.3} 3. Ke6 {-7.26/15 2.2} Kf4 4. Kd6 {-7.26/14 1.6} Kg5
{+52.94/28 1.1} 5. Ke7 {-7.32/14 2.7} Kxh6 {+53.84/32 1.5} 6. Kd6
{-7.41/16 1.2} Nf4 {+47.54/17 1.5} 7. Ke5 {-7.41/16 1.3} Kg5
{+47.24/18 1.5} 8. Kd4 {-7.45/16 1.5} Kf6 {+47.26/18 0.7} 9. Kc5
{-7.45/16 1.8} Nh3 {+47.16/18 1.5} 10. Kd4 {-7.45/15 1.2} Bf5
{+47.16/18 0.4} 11. Kc4 {-7.45/15 1.3} Ke5 {+47.04/19 1.6} 12. Kc5
{-7.46/17 0.1} Nf2 {+47.41/18 1.5} 13. Kc4 {-7.46/15 1.1} Nd1
{+47.31/18 1.5} 14. Kc5 {-7.50/16 2.1} Be6 {+47.21/18 1.6} 15. Kc6
{-7.50/16 0.1} Ne3 {+47.31/18 1.5} 16. Kc5 {-7.50/15 1.1} Bd7
{+47.81/17 1.5} 17. Kb4 {-7.55/16 1.6} Kd4 {+47.81/18 0.6} 18. Kb3
{-7.57/15 0.6} Bb5 {+47.89/17 1.6} 19. Kb4 {-7.62/14 1.1} Be8
{+46.94/19 1.6} 20. Ka5 {-7.64/14 0.4} Kc5 {+99.80/20 1.5} 21. Ka6
{-7.66/16 0.1} Bc6 {+99.82/20 1.3} 22. Ka7 {-99.84/17 1.6} Kd6
{+99.82/21 0.6} 23. Kb6 {-99.86/19 0.9} Nc4+ {+99.86/21 1.6} 24. Ka7
{-99.88/32 0.1} Kc7 {+99.88/22 1.3} 25. Ka6 {-99.90/46 0.1} Bd7
{+99.90/26 1.3} 26. Ka7 {-99.92/4 0.1} Bc8 {+99.92/34 1.3} 27. Ka8
{-99.94/4 0.1} Ne5 {+99.94/64 0.4} 28. Ka7 {-99.96/4 0.1} Nc6+
{+99.96/64 0.2} 29. Ka8 {-99.98/38 0.1} Bb7# {+99.98/64 0.1}
{Xboard adjudication: Checkmate} 0-1
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

A second one to the other corner
[Event "Computer Chess Game"]
[Site "DANIEL-PC"]
[Date "2014.02.01"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Scorpio_13:02:13"]
[Result "0-1"]
[TimeControl "40/60"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-6.84/14} Bh7 {+50.52/23 2.4} 2. Kd6 {-6.90/14 1.7} Ke4
{+51.32/25 0.5} 3. Ke6 {-7.10/14 1.4} Kf4 {+52.12/26 0.6} 4. Kd6
{-7.13/14 2.1} Kg5 {+52.94/28 1.3} 5. Kc5 {-7.23/15 0.7} Kxh6
{+53.80/30 1.3} 6. Kd5 {-7.36/16 0.5} Nf6+ {+47.16/18 1.5} 7. Kd4
{-7.32/13 1.3} Kg5 {+47.56/18 1.2} 8. Kc3 {-7.37/15 0.3} Bg8
{+47.34/18 1.4} 9. Kd3 {-7.41/15 2.0} Kf4 {+47.24/18 1.5} 10. Kd4
{-7.43/15 0.1} Nd7 {+47.26/18 1.5} 11. Kd3 {-7.45/16 0.1} Ke5
{+47.74/17 1.5} 12. Ke3 {-7.44/14 1.5} Bh7 {+47.21/18 1.5} 13. Kf3
{-7.45/16 1.4} Be4+ {+47.36/18 1.5} 14. Ke3 {-7.46/17 2.0} Nc5
{+47.36/18 1.5} 15. Ke2 {-7.46/15 0.1} Kd4 {+47.31/18 1.5} 16. Kf2
{-7.50/16 0.1} Nb3 {+47.79/17 1.5} 17. Ke2 {-7.50/15 1.6} Ke5
{+47.09/18 1.5} 18. Ke3 {-7.48/15 1.5} Kf5 {+46.99/19 0.7} 19. Kf2
{-7.55/17 1.2} Kf4 20. Ke2 {-7.57/17 0.7} Bc2 {+46.99/19 1.2} 21. Kf1
{-7.57/16 0.5} Nc1 {+99.54/21 1.3} 22. Kf2 {-7.60/18 2.0} Ba4 23. Kf1
{-7.60/17 1.9} Kf3 {+99.78/24 0.7} 24. Ke1 {-99.80/19 2.9} Ke3 25. Kf1
{-7.69/11 0.1} Bc6 {+99.82/23 1.5} 26. Kg1 {-99.84/19 1.8} Kf3 27. Kf1
{-99.86/24 0.6} Nd3 {+99.86/25 1.6} 28. Kg1 {-99.88/38 0.1} Kg3
{+99.88/25 1.8} 29. Kf1 {-99.90/48 0.1} Bf3 {+99.90/28 1.8} 30. Kg1
{-99.92/46 0.1} Be2 {+99.92/38 1.5} 31. Kh1 {-99.94/43 0.1} Nf4
{+99.94/64 0.5} 32. Kg1 {-99.96/4 0.1} Nh3+ {+99.96/64 0.2} 33. Kh1
{-99.98/38 0.1} Bf3# {+99.98/64 0.1}
{Xboard adjudication: Checkmate} 0-1
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

And Stockfish with EGBBs :)

[Event "Computer Chess Game"]
[Site "DANIEL-PC"]
[Date "2014.02.01"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Stockfish 290114 64"]
[Result "0-1"]
[TimeControl "40/60"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-6.84/14} Bh7 {+101.27/31 1.2} 2. Ke6 {-6.88/13 1.8} Ke4
{+101.67/34 1.0} 3. Kd6 {-6.88/15 2.2} Kf5 {+102.08/37 0.1} 4. Ke7
{-7.23/15 1.5} Kg5 {+102.52/39 1.3} 5. Kd6 {-7.31/16 2.1} Kxh6
{+102.93/42 1.2} 6. Kd5 {-7.32/17 0.8} Kg5 {+99.57/26 1.4} 7. Kd4
{-7.37/16 0.1} Kf4 {+99.57/26 1.0} 8. Kd5 {-7.37/15 1.2} Be4+
{+99.36/27 1.7} 9. Kd4 {-7.41/16 1.4} Nf6 {+99.17/29 1.2} 10. Kc4
{-7.41/16 1.8} Ke5 {+99.17/28 0.1} 11. Kc3 {-7.42/16 1.6} Nd5+
{+99.16/29 4} 12. Kc4 {-7.44/17 0.1} Bc2 {+99.17/29 1.4} 13. Kc5
{-7.46/16 1.8} Bb3 {+98.99/30 1.1} 14. Kc6 {-7.55/16 1.8} Nb4+
{+99.04/30 2.2} 15. Kb5 {-7.58/18 5} Nd3 {+99.37/32 1.5} 16. Ka5
{-7.58/17 0.1} Kd5 {+99.55/33 2.8} 17. Kb6 {-7.62/15 1.7} Ba4
{+99.53/33 1.2} 18. Kb7 {-7.64/16 0.5} Kc5 {+99.75/34 5} 19. Kc7
{-7.83/16 1.6} Ne5 {+99.77/34 0.1} 20. Kc8 {-99.80/16 1.8} Nf7
{+99.81/34 0.4} 21. Kb7 {-99.82/14 0.9} Bb5 {+99.83/34 0.2} 22. Kc7
{-99.84/17 0.8} Bc6 {+99.85/35 0.4} 23. Kc8 {-99.86/20 0.8} Kb6
{+99.87/37 0.2} 24. Kb8 {-99.88/23 0.1} Bd7 {+99.89/50 1.0} 25. Ka8
{-99.90/46 0.1} Bc8 {+99.91/100 0.7} 26. Kb8 {-7.64/4 0.1} Nd6
{+99.93/100 0.2} 27. Ka8 {-99.94/4 0.2} Kc7 {+99.95/100 0.1} 28. Ka7
{-99.96/39 0.1} Nb5+ {+99.97/100 0.1} 29. Ka8 {-99.98/37 0.2} Bb7#
{+99.99/100 0.1}
{Xboard adjudication: Checkmate} 0-1
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: Scorpio & egbb issue (OSX)

Post by velmarin »

Hi Daniel.
I'm building the six pieces with generator, with some difficulty,
but forward. :)

What gives me the problem is compress, for automatic execution. :(
But even I can do it manually.

My question is whether there is any "checksum" or some checklist.
Thank you, Jose.
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

I forbid anyone from building 6 men by himself :) This has been done for you so download like other bitbases that have been generated "fast" and yet are downloaded via torrent :)
For the record my bitbases are generated in 14 days, a record! I will try to generate one 7-men EGBB using 256Gb RAM if I can.

Yes there is a CRC checksum "compress --crc KRk.w.cmp". Use *.cmp to check all files at once from bash.
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Scorpio & egbb issue (OSX)

Post by Max »

Daniel Shawul wrote:Maybe if the time control is too fast it may sometime miss it, since it requires some search depth to drive the loosing king to the right square.
Thanks Daniel,

I didn't realize that Scorpio needs some more search time, even with egbbs.

On my i7-system Scorpio calcs about 4 mnps single threaded in this endgame. With 20 or 30 moves in 60 seconds he managed to win (three times out of four) against tough opponents Crafty 23.8 and Cheng 4, but unfortunately not with 40 or 60 in 60", like in my test game.

Code: Select all

[Event "Computer Chess Game"]
[Site "Home"]
[Date "2014.02.02"]
[Round "-"]
[White "Cheng 4 0.36c"]
[Black "Scorpio 2014"]
[Result "0-1"]
[TimeControl "20/60"]
[FEN "8/7b/7n/4k3/2K5/8/8/8 w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . b
. . . . . . . n
. . . . k . . .
. . K . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
white to play
--------------}
1. Kc3 {-7,39/24} Ng4 {+46,41/20 4} 2. Kb2 {-7,41/24 3} Bg8 {+47,11/20 2,5}
3. Kb1 {-7,41/25 3} Kd4 {+46,41/21 2,7} 4. Kc2 {-7,43/24 3} Nf2
{+47,11/19 2,5} 5. Kb1 {-7,42/23 3} Ne4 {+46,24/21 2,8} 6. Ka1 {-7,45/26 3}
Kc3 {+46,56/20 2,3} 7. Kb1 {-7,54/25 3} Nd6 {+46,19/21 2,8} 8. Ka1
{-7,45/24 3} Bh7 {+45,76/22 2,8} 9. Ka2 {-7,50/26 3} Bf5 {+46,41/21 2,8}
10. Ka1 {-7,54/25 3} Ne4 {+46,25/20 2,8} 11. Kb1 {-7,61/24 3} Nc5+
{+46,29/20 2,3} 12. Ka1 {-7,99/26 5} Be6 {+45,85/21 2,9} 13. Kb1
{-7,54/25 2,8} Bc4 {+46,14/21 3} 14. Ka1 {-7,55/24 2,8} Kd2 {+46,09/21 3}
15. Kb1 {-7,64/24 2,8} Nb3 {+45,78/21 3} 16. Ka2 {-7,59/24 2,8} Na5+
{+45,78/21 2,5} 17. Kb2 {-7,54/24 2,8} Nc6 {+45,73/21 2,4} 18. Ka1
{-7,55/24 2,8} Kc3 {+45,74/22 3} 19. Kb1 {-7,55/24 2,8} Nd4 {+45,26/22 4}
20. Ka1 {-7,55/23 2,7} Bd3 {+45,76/22 4} 21. Ka2 {-7,85/24 3} Bh7
{+45,76/22 2,9} 22. Ka1 {-7,59/24 3} Nf3 {+45,82/22 2,1} 23. Ka2
{-7,60/25 3} Nd2 {+45,45/22 2,9} 24. Ka3 {-7,59/24 3} Bg8 {+46,19/22 2,9}
25. Ka4 {-7,90/24 3} Bc4 {+46,56/22 2,7} 26. Ka5 {-8,06/24 3} Kd4
{+46,94/21 2,4} 27. Kb6 {-8,07/24 3} Kd5 {+99,48/20 2,3} 28. Ka5
{-99,70/26 3} Kc5 {+99,70/25 3} 29. Ka4 {-99,74/24 3} Nb1 {+99,74/27 3} 30.
Ka5 {-99,76/24 3} Na3 {+99,76/27 3} 31. Ka4 {-99,78/26 3} Nb5
{+99,78/28 2,9} 32. Ka5 {-99,80/26 3} Bb3 {+99,80/27 3} 33. Ka6
{-99,82/25 3} Nd6 {+99,82/26 3} 34. Ka5 {-99,84/28 3} Nb7+ {+99,84/27 3}
35. Ka6 {-99,86/45 3} Kc6 {+99,86/30 2,7} 36. Ka7 {-99,88/76 3} Bc4
{+99,88/32 2,6} 37. Kb8 {-99,90/120 1,2} Nd6 {+99,90/40 2,7} 38. Ka7
{-99,92/120 0,3} Kc7 {+99,92/57 2,9} 39. Ka8 {-99,94/120 0,2} Bf1
{+99,94/64 0,1} 40. Ka7 {-99,96/120 0,3} Nc8+ {+99,96/64 0,1} 41. Ka8
{-99,98/120 0,2} Bg2# {+99,98/64 0,2}
{Xboard adjudication: Checkmate} 0-1
Good to know, that the Mac compile was not broken.

-Max
User avatar
hgm
Posts: 27788
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Scorpio & egbb issue (OSX)

Post by hgm »

Max wrote:I didn't realize that Scorpio needs some more search time, even with egbbs.
The problem is that WDL info offers zero help in end-games like KBNK, where every position where white does not obviously hang a piece will be won. And knowing that you must not blunder away a piece doesn't help you finding the mate, or any simple 3-ply search without eval would already be able to do it. So KBNK remains exactly as difficult with or without EGBB.
syzygy
Posts: 5557
Joined: Tue Feb 28, 2012 11:56 pm

Re: Scorpio & egbb issue (OSX)

Post by syzygy »

hgm wrote:
Max wrote:I didn't realize that Scorpio needs some more search time, even with egbbs.
The problem is that WDL info offers zero help in end-games like KBNK, where every position where white does not obviously hang a piece will be won. And knowing that you must not blunder away a piece doesn't help you finding the mate, or any simple 3-ply search without eval would already be able to do it. So KBNK remains exactly as difficult with or without EGBB.
The use of bitbases likely makes it harder to win KBNK. If they are probed during the searched, it is overhead in return for no information. If they are used to prune branches, it is likely the search won't be able to make progress where without pruning it could. When KBNK is on the board, bitbases should be disabled.
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Scorpio & egbb issue (OSX)

Post by Max »

syzygy wrote:
hgm wrote:
Max wrote:I didn't realize that Scorpio needs some more search time, even with egbbs.
The problem is that WDL info offers zero help in end-games like KBNK, where every position where white does not obviously hang a piece will be won. And knowing that you must not blunder away a piece doesn't help you finding the mate, or any simple 3-ply search without eval would already be able to do it. So KBNK remains exactly as difficult with or without EGBB.
The use of bitbases likely makes it harder to win KBNK. If they are probed during the searched, it is overhead in return for no information. If they are used to prune branches, it is likely the search won't be able to make progress where without pruning it could. When KBNK is on the board, bitbases should be disabled.
Thanks for your explanations!

This applies for Syzygy-bases too, right? Stockfish with Syzygy-bases didn't always choose the shortest way to win here.

Code: Select all

[Event "Computer Chess Game"]
[Site "Home"]
[Date "2014.02.02"]
[Round "-"]
[White "Arasan 16.3 (Gaviota)"]
[Black "Stockfish 2014 (Syzygy)"]
[Result "0-1"]
[TimeControl "60/60"]
[FEN "8/7b/7n/4k3/2K5/8/8/8 w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . b
. . . . . . . n
. . . . k . . .
. . K . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
white to play
--------------}
 1. Kc3 {-99,48/3} Ng4 {+51,86/22 0,7} 
 2. Kc4 {-99,50/3 0,3} Ne3+ {+51,86/22 0,7} 
 3. Kb4 {-99,52/3 0,3} Bg6 {+51,86/24 0,8} 
 4. Kc3 {-99,52/3 0,2} Be4 {+51,86/24 0,9} 
 5. Kb2 {-99,54/3 0,3} Kd4 {+51,86/25 0,7} 
 6. Kb3 {-99,56/3 0,2} Bd5+ {+51,91/25 1,0} 
 7. Kb2 {-99,56/3 0,2} Kc4 {+51,96/26 0,7} 
 8. Kb1 {-99,58/3 0,2} Kb3 {+51,96/26 1,0} 
 9. Ka1 {-99,60/3 0,2} Nc2+ {+51,96/27 0,7} 
10. Kb1 {-99,62/2 0,3} Kc3 {+51,96/28 0,6}
11. Kc1 {-6,74/2 0,2} Ne3 {+51,96/26 0,8} 
12. Kb1 {-6,70/2 0,3} Bf3 {+51,96/25 1,0} 
13. Ka1 {-99,60/3 0,3} Kb3 {+51,96/25 0,7} 
14. Kb1 {-6,74/2 0,2} Bg2 {+52,02/28 1,3} 
15. Ka1 {-99,60/3 0,3} Nc2+ {+52,02/28 0,8} 
16. Kb1 {-99,62/2 0,3} Be4 {+52,02/29 0,8} 
17. Kc1 {-6,78/2 0,3} Ne3 {+99,55/31 1,0} 
18. Kd2 {-7,06/2 0,3} Nf5 {+99,57/32 0,7} 
19. Kc1 {-99,68/3 0,3} Kc3 {+99,67/32 0,9} 
20. Kd1 {-6,94/2 0,2} Nd4 {+99,69/33 0,8} 
21. Kc1 {-99,72/3 0,3} Nb3+ {+99,71/33 0,7} 
22. Kd1 {-99,74/2 0,3} Bf3+ {+99,73/33 0,7} 
23. Ke1 {-99,76/2 0,2} Kd3 {+99,75/34 0,8} 
24. Kf2 {-99,78/3 0,2} Nd4 {+99,79/34 0,9} 
25. Kg3 {-99,80/3 0,3} Ke3 {+99,81/33 0,8} 
26. Kh4 {-99,82/3 0,2} Kf4 {+99,83/33 1,0} 
27. Kh3 {-7,18/2 0,2} Nc2 {+99,85/34 1,2} 
28. Kh4 {-99,86/3 0,3} Ne3 {+99,87/36 0,8} 
29. Kh3 {-7,18/2 0,2} Bg4+ {+99,89/44 0,9} 
30. Kh2 {-99,90/3 0,2} Kf3 {+99,91/75 0,8} 
31. Kg1 {-99,92/3 0,1} Kg3 {+99,93/100 0,2} 
32. Kh1 {-7,38/2 0,2} Kf2 {+99,95/100 0,2} 
33. Kh2 {-7,26/2 0,2} Nf1+ {+99,97/100 0,2} 
34. Kh1 {-99,98/2 0,2} Bf3# {+99,99/100 0,2}
{Xboard adjudication: Checkmate} 0-1
-Max