posix source for GambitFruit4bxSE ?

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

Moderators: hgm, Rebel, chrisw

govert
Posts: 270
Joined: Thu Jan 15, 2009 12:52 pm

posix source for GambitFruit4bxSE ?

Post by govert »

I had it, but lost it.

Does anyone know where I can find it again?
govert
Posts: 270
Joined: Thu Jan 15, 2009 12:52 pm

Re: posix source for GambitFruit4bxSE ?

Post by govert »

User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: posix source for GambitFruit4bxSE ?

Post by Denis P. Mendoza »

-minor code fixes from material.cpp

if (bq && bn) {
opening -= Queen_Knight_combo;
opening -= Queen_Knight_combo;

to

if (bq && bn) {
opening -= Queen_Knight_combo;
endgame -= Queen_Knight_combo;
govert
Posts: 270
Joined: Thu Jan 15, 2009 12:52 pm

Re: posix source for GambitFruit4bxSE ?

Post by govert »

OK. I am guessing that this bugfix addresses the endgame material calculations?
Chris Formula

Re: posix source for GambitFruit4bxSE ?

Post by Chris Formula »

it deserves a recompile with updated version number to differentiate it from the previous builds.

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

Plyspeed of GambitFruit4bxSE

Post by Eelco de Groot »

I hope it will be tested for longer time controls, I am very curious if the Rebel reductions combined with Toga's selective search will work well. Thorsten's results at slightly longer timecontrols than Blitz, 40 moves in ten minutes were good so I hope that with the strong Blitz qualities it will also still do well in 40 moves in 40 minutes. It should be possible to port some of Toga's SMP code too to Gambit Fruit.

I hope I will find out where I lost a good deal of my branching factor compared with Toga, Fruit and Gambit Fruit. Some of it is lost in the Singular Extensions, but that can't be the whole problem, some of it is certainly lost in my Root Search now, some goes in doing two checks in quiescence search, Denis build is faster but adding it all up I still am losing a lot in the iterative search and I think it hurts too much in endgames especially. Sorry if this is not really about Gambit Fruit but I just tested Walter Eigenmann's position #3 again and while I am happy that I now do find the solution and the solution is more stable, at the end of the search I have great trouble of finding both a winning score for 1. h4! and there is a gigantic difference in attained plydepth. Some tinkering to do...

[D]8/1p3p2/p7/8/2k5/4P1pP/2P1K1P1/8 w - -

Engine: Blueberry Beta 4 DM70 Build 298 (256 MB)
by F. Letouzey, T. Gaksch, E. de Groot

1/02 0:00 -1.39 1.c3 Kxc3 (5)

1/02 0:00 -0.96 1.Kd1 (7)

1/02 0:00 -0.72 1.Kd2 (13)

1/03 0:00 +0.67 1.h4 Kc3 (51)

2/09 0:00 +2.55 1.h4 Kc3 2.h5 b5 (520)

3/24 0:00 +2.44 1.h4 Kd5 2.h5 Ke6 3.e4 a5 4.h6 Kf6 (13.107)

4/24 0:00 +2.44 1.h4 Kd5 2.h5 Ke6 3.e4 a5 4.h6 Kf6 (14.000)

5/24 0:00 +1.97 1.h4 Kd5 2.h5 Ke6 3.e4 a5 4.h6 Kf6
5.Kf3 (15.574)

6/30 0:00 +0.25 1.h4 Kd5 2.h5 Ke6 3.Kd2 Kf6 4.Kd3 Kg7 (138.608)

7/30 0:00 +0.19 1.h4 Kd5 2.h5 Ke6 3.Kd2 Kf6 4.Kd3 Kg7
5.Ke4 (158.694)

8/39 0:02 -0.49 1.h4 Kd5 2.Kd2 Ke6 3.c4 Kf6 4.e4 Kg6
5.Kc2 a5 6.Kb3 (1.963.239) 965

9/40 0:02 -0.49 1.h4 Kd5 2.Kd3 Ke6 3.Kd4 Kf5 4.Kc5 Kg4
5.Kb6 Kxh4 6.c4 a5 7.Kxa5 Kg5 8.Kb4 (2.395.883) 942

10/40 0:02 -0.49 1.h4 Kd5 2.Kd3 Ke6 3.Kd4 a5 4.Kc3 a4 (2.586.887) 925

11/44 0:04 -0.41 1.h4 Kd5 2.Kd3 Ke5 3.c4 a5 4.h5 Kf6
5.Kd4 a4 6.Kc3 Kg5 7.Kb4 Kxh5 8.Kxa4 Kg5
9.Kb5 Kf5 (4.614.877) 937

12/44 0:06 -0.49 1.h4 Kd5 2.Kd3 Ke5 3.c4 Ke6 4.Kd4 a5
5.Kc5 a4 6.Kb4 Kf5 7.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ka5 Kf5
12.Kb6 Ke4 13.Kxb7 Kd3 14.c6 (10.224.576.130) 954


best move: h3-h4 time: 200:11.422 min n/s: 961.747 CPU 100.0% n/s(1CPU): 961.747 nodes: 11.551.750.000

Gambit Fruit reaches 33 plies in about three hours on my Athlon with 2009 MHz, and Blueberry does about half of that if I ignore the logarithmic scaling a bit, comparing the time to reach 17 plies Gambit Fruit 4bxSE has a roughly 6000 times faster time to depth :D ...

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