GreKo 3.3

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

GreKo 3.3

Postby Vladimir Medvedev » 14 Jul 2006, 10:46

GreKo 3.3 released.
http://greko.chess.googlepages.com

Two bugs fixed. Minor changes in search.
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: GreKo 3.3

Postby Volker Pittlik » 14 Jul 2006, 12:05

Thanks Vladimir for the quick response.

Unfortunately it seems GreKo isn't pondering at all now :-(.

Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: GreKo 3.3

Postby Vladimir Medvedev » 14 Jul 2006, 12:27

Could you please post here sample of debug-file?
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: GreKo 3.3

Postby Vladimir Medvedev » 14 Jul 2006, 12:40

Maybe I misunderstood protocol description?

Should engine start pondering after the following:

(GUI) > hard
(GUI) > force
(GUI) > e2e4
(GUI) > e7e5
(GUI) > go
(engine) > move g1f3
<ponder on not here>... - ?

Does "force" command turns pondering till next "hard", or just till "go"?
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: GreKo 3.3

Postby Vladimir Medvedev » 14 Jul 2006, 12:41

I mean, turns off?
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: GreKo 3.3

Postby Volker Pittlik » 14 Jul 2006, 12:46

Vladimir Medvedev wrote:Could you please post here sample of debug-file?


Here it is:

Code: Select all
Script started on Fre 14 Jul 2006 12:54:53 CEST
volker:~> xb greko-1 crafty-2 -mg 1 -debug

...
StartChildProcess (dir="/home/volker/schach/greko") ./greko

413 >first : xboard

...
656 <first : feature myname="GreKo 3.3" setboard=1 analyze=1 colors=0 san=0 ping=1 name=1 done=1

...
718 >first : new

random

718 >first : level 0 5 5

719 >first : post

719 >first : hard

719 >first : ping 1

719 >first : force

StartChildProcess (dir="/home/volker/schach/crafty") ./crafty

...
1053 <second: feature myname="Crafty-20.14" name=1

1101 >second: new

random

1101 >second: level 0 5 5

1101 >second: post

1101 >second: hard

1101 >second: ping 1

1101 >second: force

...
1102 >first : go

1217 <first : kibitz This is GreKo v3.3


...


*** meanwhile both engines out of book ***


Code: Select all
149511 <second: move Be7

Interrupting first

149512 >first : time 26770

otim 28388

149512 >first : f8e7

AnimateMove: piece 8 slides from 5,7 to 4,6

149639 <second: Hint: h3

149639 <first :

149639 <first : Time left:   262.70 sec.

149640 <first : Moves left:   40

149640 <first : Time per move:   6.57 sec.

149640 <first :

149640 <first :  1     -72      1       230  11. h4

149640 <first :  2     -75      1       673  11. Rd1 Rxd1+ 12. Bxd1

149640 <first :  3     -76      4      6356  11. h3 Bf5 12. Nd2

149640 <first :  4     -73      6     10812  11. h3 Bf5 12. Bc4 e4

149860 <first :  5     -73     15     36898  11. h3 Bf5 12. g4 Be6 13. Bd3

150295 <second:    11    -71      76 204368  11. ... Bf5 12. Ng5 Rhf8 13. g4 Bg6 14. Rd1 Rxd1+ 15. Kxd1 Rd8+ 16. Kc1 h6 17. Nf3 Kd7 <HT>




*** Crafty is thinking while it is GreKo's turn ***


Code: Select all
150374 <first :  6     -68     40    108583  11. h3 Bh5 12. Rd1 f5 13. a3 Rxd1+ 14. Bxd1

152130 <first :  7     -73    124    348366  11. h3 Bh5 12. Re1 e4 13. Nd4 Bxe2 14. Rxe2

153843 <second:    11    -71     431 1399969  11. ... Bf5 12. Ng5 Rhf8 13. g4 Bg6 14. Rd1 Rxd1+ 15. Kxd1 Rd8+ 16. Kc1 h6 17. Nf3 Kd7 <HT>

155170 <first :  8     -63    273    791106  11. h3 Bf5 12. Ng5 Bg6 13. Bc4 Rhf8 14. f4 f5 15. fxe5 Nxe5

162532 <first :  9     -59    637   1808369  11. h3 Bf5 12. Ng5 Rhf8 13. Bg4 Bxg4 14. hxg4 Bxg5 15. Bxg5 f6

162968 <first :  9     -59    657   1854261  11. h3 Bf5 12. Ng5 Rhf8 13. Bg4 Bxg4 14. hxg4 Bxg5 15. Bxg5 f6

162969 <first :

162969 <first : move h2h3

162970 >second: time 28388

otim 25924

162970 >second: h3

AnimateMove: piece 0 slides from 7,1 to 7,2

163095 <first :

163320 <second: move Bf5




*** and got a ponder hit ***


Code: Select all
Interrupting first

163321 >first : time 25924

otim 28853


...


*** if the opponent does not get a ponder hit it thinks alone ***


Code: Select all
181237 <second:    11    -81     442 1368481  13. ... h6 14. Nf3 a6 15. b3 Ba3+ 16. Kb1 Rhf8 17. Rd1 Rxd1+ 18. Bxd1 Rd8 19. Be2 Kd7 20. Bc4

189380 <first :  8     -64    560   1483117  13. Bc4 Rhf8 14. Re1 h6 15. Nf3 Be4 16. Nd2 Bf5

190571 <first :  8     -64    616   1625047  13. Bc4 Rhf8 14. Re1 h6 15. Nf3 Be4 16. Nd2 Bf5

190571 <first :

190572 <first : move e2c4

190573 >second: time 29313

otim 24239

190573 >second: Bc4

AnimateMove: piece 2 slides from 4,1 to 2,3

190736 <first :

191958 <second:    10    -83      99 630674  13. ... Rhf8 14. Rd1 Rxd1+ 15. Kxd1 e4 16. h4 h6 17. Nh3 Rd8+ 18. Ke2 Ne5 19. Bb3 Bf5

192725 <second:    10    -83     176 1216216  13. ... Rhf8 14. Rd1 Rxd1+ 15. Kxd1 e4 16. h4 h6 17. Nh3 Rd8+ 18. Ke2 Ne5 19. Bb3 Bf5

196613 <second:    11    -71     565 3661271  13. ... Rhf8 14. h4 Na5 15. Bd3 Bxd3 16. cxd3 h6 17. Nf3 Rxd3 18. Nxe5 Rd5

198593 <second:    11    -75     763 4913302  13. ... Rd7 14. Rd1 h6 15. Rxd7 Kxd7 16. Nf3 Rd8 17. Bd5 f6 18. Nh4 Bh5 19. Bxc6+ Kxc6 20. Bxa7

199893 <second:    11    -75     893 5928718  13. ... Rd7 14. Rd1 h6 15. Rxd7 Kxd7 16. Nf3 Rd8 17. Bd5 f6 18. Nh4 Bh5 19. Bxc6+ Kxc6 20. Bxa7

201830 <second:    12    -77    1086 7214618  13. ... Rd7 14. Rd1 h6 15. Rxd7 Kxd7 16. Nf3 Rd8 17. Bd5 Bf6 18. Kd2 Kd6 19. c4

204333 <second: move Rd7

Interrupting first



It is also visible with the "top" tool in Linux and should also be
observable with the task manager under Windows.



Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: GreKo 3.3

Postby Vladimir Medvedev » 17 Jul 2006, 14:13

I tried to fix the bug with pondering. Now it works, at least on my machine under WinBoard 4.2.6 and Arena.

Here is my winboard.debug:

Code: Select all
recognized 'normal' (-1) as variant normal
WinBoard 4.2.7 + greko.exe
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
StartChildProcess (dir="e:\chess\greko-3.x\bin_msvc") greko.exe
687 >first : xboard
protover 2
687 <first :
687 <first : GreKo 3.3a (16-July-2006)
687 <first :
687 <first : Type help to get list of commands
687 <first : Type ver to get version and author info
687 <first :
687 <first :
687 <first : Initializing bitboards...
687 <first :
687 <first : Opening book: 17233 nodes (GreKo.bin)
687 <first : Learn file:   0 nodes (GreKo.lrn)
687 <first :
687 <first : Main hash:     30.82 MBytes, 1926281 nodes
687 <first : Pawn hash:      1.18 MBytes, 8191 nodes
687 <first : ----------
687 <first :     TOTAL:     32.00 MBytes
687 <first :
687 <first : White(1):
687 <first : feature myname="GreKo 3.3a" setboard=1 analyze=1 colors=0 san=0 ping=1 name=1 done=1
687 >first : accepted myname
687 >first : accepted setboard
687 >first : accepted analyze
687 >first : accepted colors
687 >first : accepted san
687 >first : accepted ping
687 >first : accepted name
687 >first : accepted done
687 <first : kibitz This is GreKo v3.3a
703 >first : new
random
703 >first : level 0 5 0
703 >first : post
703 >first : hard
703 >first : ping 1
718 <first : pong 1
5672 >first : force
StartChildProcess (dir="") GNUChes5 xboard
6250 >second: xboard
protover 2
6250 <second: feature setboard=1 analyze=1 ping=1 draw=0 sigint=0 variants="normal" myname="GNU Chess 5.07" done=1
6250 >second: accepted setboard
6250 >second: accepted analyze
6250 >second: accepted ping
6250 >second: accepted draw
6250 >second: accepted sigint
6250 >second: accepted variants
6250 >second: accepted myname
6250 >second: accepted done
6281 >second: new
random
6281 >second: level 0 5 0
6281 >second: post
6281 >second: hard
6281 >second: ping 1
6281 >second: force
6281 >first : computer
6281 >first : name GNU Chess 5.07
6281 >second: computer
6281 >first : time 30000
otim 30000
6281 >first : go
6281 <first : kibitz This is GreKo v3.3a
6297 <first :
6297 <first : Time left:   295.00 sec.
6297 <first : Moves left:  40
6297 <first : Time per move:  7.38 sec.
6297 <first :
6297 <first :  0       0      0         0  (e4 71%, d4 10%, Nf3 9%, c4 3%, b3 3%, b4 3%, f4 3%)
6297 <first :
6297 <first : move e2e4
6297 >second: time 30000
otim 29998
6297 >second: e2e4
6297 >second: black
6297 >second: go
6390 <first :
6390 <first : Start pondering...
6390 <first :
6390 <first :  1       0      0        24  1. ... e5
6390 <first :  2      21      0       150  1. ... e5 2. Bc4
6390 <first :  3       8      1      1362  1. ... Nf6 2. e5 Ne4
6390 <first :  4      19      1      6037  1. ... e5 2. Nc3 Bc5 3. Bc4
6390 <first :  5       6      6     28672  1. ... e5 2. Nf3 d5 3. d4 Nf6 4. Bb5+ c6
6406 <second: TCMove = 35
6406 <second: Root = -10, Phase = 1
6406 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6406 <second: Ply   Time     Eval      Nodes   Principal-Variation
6406 <second: 1. 62 0 20    e4
6406 <second: 2. 13 0 51    d3 d5 Nc3 Nf6
6406 <second: 3. 13 0 71    d3 d5 Nc3 Nf6
6406 <second: 4. 13 0 91    d3 d5 Nc3 Nf6
6406 <second: 5. 13 0 367   d3 d5 Nc3 Nf6
6406 <second: Root = -10, Phase = 1
6406 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6406 <second: Ply   Time     Eval      Nodes   Principal-Variation
6406 <second: 1. 62 0 20    e4
6406 <second: 2. 13 0 47    d3 d5 Nc3
6406 <second: 3. 13 0 67    d3 d5 Nc3
6406 <second: 4. 13 0 87    d3 d5 Nc3
6406 <second: 5. 13 0 107   d3 d5 Nc3
6422 <second: 6. -37 0 9968    d3 d5 Nc3 Nf6 Nf3
6422 <second: pong 1
6437 <second: Root = -10, Phase = 1
6437 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6437 <second: Ply   Time     Eval      Nodes   Principal-Variation
6437 <second: 1. 62 0 20    e4
6437 <second: 2. -10 0 89   e4 e5
6437 <second: 3. 34 0 259   e4 d5 Nc3 dxe4 Nxe4
6437 <second: 4. -3 0 754   e4 d5 Nc3 Nf6 exd5
6437 <second: 5. 30 0 2237  e4 d5 Nc3
6437 <second: Root = -10, Phase = 1
6437 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6437 <second: Ply   Time     Eval      Nodes   Principal-Variation
6437 <second: 1. 62 0 20    e4
6437 <second: 2. -10 0 88   e4 e5
6437 <second: 3. 34 0 233   e4 d5 Nc3 dxe4 Nxe4
6437 <second: 4. -3 0 574   e4 d5 Nc3 Nf6 exd5 Nxd5
6437 <second: 5. 30 0 1300  e4 d5 Nc3 dxe4 Nxe4 e5 Nf3
6453 <second: Root = -10, Phase = 1
6453 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6453 <second: Ply   Time     Eval      Nodes   Principal-Variation
6453 <second: 1. 62 0 20    e4
6453 <second: 2. -10 0 90   e4 e5
6453 <second: 3. 13 0 163   e4 d5 Nc3 d4 Nd5
6453 <second: 4. -2 0 606   e4 e5 d4 Nf6 dxe5 Nxe4
6453 <second: Root = -10, Phase = 1
6453 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6453 <second: Ply   Time     Eval      Nodes   Principal-Variation
6453 <second: 1. 62 0 20    e4
6453 <second: 2. -10 0 88   e4 e5
6453 <second: 3. 13 0 153   e4 d5 Nc3 d4 Nd5
6453 <second: 4. -2 0 523   e4 e5 d4 Nf6 dxe5 Nxe4
6453 <second: 5. 10 0 2214  e4 e5 Qf3 Nc6 Nc3
6468 <second: Root = -10, Phase = 1
6468 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6468 <second: Ply   Time     Eval      Nodes   Principal-Variation
6468 <second: 1. 62 0 20    e4
6468 <second: 2. -10 0 88   e4 e5
6468 <second: 3. 13 0 155   e4 d5 Nc3 d4 Nd5
6468 <second: 4. 8 0 393    e4 e5 d4 exd4 Qxd4 Qf6 Qxf6
6468 <second: 5. 10 0 1377  e4 e5 Qf3 Nc6 Nc3
6484 <second: 1. e2e4
6484 <second: Root = -62, Phase = 1
6484 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6484 <second: Ply   Time     Eval      Nodes   Principal-Variation
6484 <second: 1. -9 0 20    e6
6484 <second: 2. -13 0 122  d5 Nc3 d4
6484 <second: 3. -13 0 349  d5 Nc3 d4
6484 <second: 4. -13 0 659  d5 Nc3 d4
6484 <second: 5. -13 0 2286    d5 Nc3 d4
6484 <second: Root = -82, Phase = 1
6484 <second: Time = 5.00, Max = 20.00, Left = 300.00, Moves = 35
6484 <second: Ply   Time     Eval      Nodes   Principal-Variation
6484 <second: 1. -10 0 20   e5
6484 <second: 2. -43 0 266  d5 Qf3
6500 <second: 3. -10 0 1129    e5 Nc3 Nc6
6500 <first :  6      24     18     85249  1. ... e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Nc3
6500 <second: 4. 3 0 5465   d5 e5 Nc6 Bb5
6625 <second: Search time bonus near book
6625 <second: Root = -82, Phase = 1
6625 <second: Time = 11.16, Max = 44.65, Left = 300.00, Moves = 35
6625 <second: Ply   Time     Eval      Nodes   Principal-Variation
6625 <second: MoveLimit is 35
6625 <second: TimeLimit is 300.000000
6625 <second: 1. ... e7e5
Interrupting first
6625 >first : time 29998
otim 29967
6625 >first : e7e5
6703 <second: My move is: e7e5
6703 <second: Root = 10, Phase = 1
6703 <second: Time = 11.16, Max = 44.65, Left = 300.00, Moves = 35
6703 <second: Ply   Time     Eval      Nodes   Principal-Variation
6703 <second: 1. 60 0 29    Nc3
6703 <second: 2. 53 0 82    Nc3 Nc6 Nf3
6703 <second: 3. 53 0 121   Nc3 Nc6 Nf3
6703 <second: 4. 25 0 7078  d4 exd4 Qxd4 Nc6 Qd5
6703 <second: 5. 32 0 28668    Nf3 Nc6 Nc3 Nf6 d4
6703 <first : Stop pondering...
6703 <first :
6703 <first :
6703 <first : Time left:   295.00 sec.
6703 <first : Moves left:  40
6703 <first : Time per move:  7.38 sec.
6703 <first :
6703 <first :  0       0      0         0  (Nf3 81%, Bc4 10%, Nc3 3%, d4 3%, f4 3%)
6703 <first :
6703 <first : move g1f3
6703 >second: time 29967
otim 29990
6703 >second: g1f3
6828 <first :
6828 <first : Start pondering...
6828 <first :
6828 <first :  1      -4      0        38  2. ... Nc6
6828 <first :  2      12      0       651  2. ... d5 3. d4 Bb4+ 4. c3
6828 <first :  3       6      0      3009  2. ... d5 3. d4 Nf6 4. Bb5+ c6
6828 <second: Root = -10, Phase = 1
6828 <second: Time = 11.16, Max = 44.65, Left = 300.00, Moves = 35
6828 <second: Ply   Time     Eval      Nodes   Principal-Variation
6828 <second: 1. 40 0 29    Nc3
6828 <first :  4      24      3     15317  2. ... Nc6 3. Bc4 Nf6 4. Nc3
6828 <first :  5      10      7     41406  2. ... Nc6 3. d4 exd4 4. Nxd4 Be7
6828 <second: 2. 32 0 128   Nf3 Nc6
6828 <second: 3. 32 0 157   Nf3 Nc6
6828 <second: 4. 32 0 186   Nf3 Nc6
6828 <second: 5. 32 0 433   Nf3 Nc6
6828 <second: Root = -10, Phase = 1
6828 <second: Time = 11.16, Max = 44.65, Left = 300.00, Moves = 35
6828 <second: Ply   Time     Eval      Nodes   Principal-Variation
6828 <second: 1. 40 0 29    Nc3
6828 <second: 2. 32 0 116   Nf3 Nc6
6828 <second: 3. 32 0 145   Nf3 Nc6
6828 <second: 4. 32 0 174   Nf3 Nc6
6828 <second: 5. 32 0 203   Nf3 Nc6
6828 <second: 1. g1f3
6828 <second: Search time bonus near book
6828 <second: Root = -33, Phase = 1
6828 <second: Time = 11.15, Max = 44.60, Left = 299.67, Moves = 35
6828 <second: Ply   Time     Eval      Nodes   Principal-Variation
6828 <second: MoveLimit is 35
6828 <second: TimeLimit is 299.670013
6828 <second: 2. ... b8c6
Interrupting first
6828 >first : time 29990
otim 29954
6828 >first : b8c6
6953 <second: My move is: b8c6
6953 <second: Root = -17, Phase = 1
6953 <second: Time = 11.15, Max = 44.60, Left = 300.00, Moves = 35
6953 <second: Ply   Time     Eval      Nodes   Principal-Variation
6953 <second: 1. 33 0 28    Nc3
6953 <second: 2. 16 0 88    d4 exd4 Nxd4 Nxd4
6953 <second: 3. 25 0 474   Bc4 Nf6 Nc3
6953 <second: 4. 16 0 1060  d4 exd4 Nxd4 Nxd4
6953 <second: 5. 40 0 17998    d4 exd4 Nxd4 Nf6
6953 <first : Stop pondering...

User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: GreKo 3.3

Postby Vladimir Medvedev » 17 Jul 2006, 14:15

Fixed (?) version is available from the same place, http://greko.chess.googlepages.com
User avatar
Vladimir Medvedev
 
Posts: 129
Joined: 29 Sep 2004, 10:03
Location: Moscow, Russia

Re: GreKo 3.3

Postby Volker Pittlik » 17 Jul 2006, 14:29

Vladimir Medvedev wrote:I tried to fix the bug with pondering. Now it works, at least on my machine under WinBoard 4.2.6 and Arena.

...



Confirmed :-) ! Pondering is also working under Xboard on Linux.

Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 36 guests