Stockfish 4

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 7:17 pm

Stockfish 4

Post by mcostalba » Tue Aug 20, 2013 7:46 pm

Stockfish 4 has been released. You can download at http://stockfishchess.org/ or browse the sources at https://github.com/mcostalba/Stockfish

Diffs from last version is: 43 files changed, 1534 insertions(+), 1703 deletions(-)

So 169 lines of code less but should be quite stronger than version 3. For interested people here is the breakdown of lines count.

Code: Select all

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C++                             20           2110           1619           5772
C/C++ Header                    21            636            570           1558
-------------------------------------------------------------------------------
SUM:                            41           2746           2189           7330
-------------------------------------------------------------------------------
This is the first release where we have took full advantage of the power of our distributed and public testing framework. At one point we reached 41 active machines connected for a total of 136 cores and a compound testing power of 190M nps (nodes per second). This is even more noteworthy considering that Gary’s 24 core monster was offline at that moment.

But is the the ‘public’ part of our development model that is the real advantage we have and without which the improvement above SF 3 would have not been possible, no matter how hardware we throw at it.

So here is the list of developers that contributed to this release:

Code: Select all

Dan Schmidt
Dariusz Orzechowski
Eelco de Groot
Gary Linscott
jhellis3
Joona Kiiski
jundery
Leonid Pechenik
Marco Costalba
Reuven Peleg
Ryan Schmitt
Ryan Takker
Tom Vijlbrief
Uri Blass
A special thank to Daylen Yang, our precious webmaster and builder of the Mac binaries, to Peter Österlund for the Android version and to http://abrok.eu/stockfish/ from which I have, shameless, took the Windows binaries.

For the first time since Stockfish was borne, Jim Ablett didn’t compile the official builds and this is a big miss for us and for me in particular. I’d like to publicly thank him again for the help and support during all these years.

Finally a note for the user. In this version there is no more automatic detection of CPU count, so at startup Stockfish always defaults to 1 thread. In case you want to use more than one CPU you have to manually set the “Threads” UCI option accordingly.

Have Fun
SF Team

User avatar
Graham Banks
Posts: 33143
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Stockfish 4

Post by Graham Banks » Tue Aug 20, 2013 7:51 pm

mcostalba wrote:Stockfish 4 has been released. You can download at http://stockfishchess.org/ or browse the sources at https://github.com/mcostalba/Stockfish
Thanks to all who contributed. :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
JuLieN
Posts: 2948
Joined: Mon May 05, 2008 10:16 am
Location: Nantes (France)
Contact:

Re: Stockfish 4

Post by JuLieN » Tue Aug 20, 2013 7:52 pm

Goodie! :D Thanks Marco & al.!
"The only good bug is a dead bug." (Don Dailey)
Image [Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]

Lyudmil Tsvetkov
Posts: 6052
Joined: Tue Jun 12, 2012 10:41 am

Re: Stockfish 4

Post by Lyudmil Tsvetkov » Tue Aug 20, 2013 7:54 pm

Thanks Marco!

And thanks all the big team.

And remember: the winner takes it all. :)

User avatar
fern
Posts: 8755
Joined: Sun Feb 26, 2006 3:07 pm

Re: Stockfish 4

Post by fern » Tue Aug 20, 2013 8:12 pm

My goodness, around 30 ply in middle game!!!

What a degree of pruning!!!

Fern

mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 7:17 pm

Re: Stockfish 4

Post by mcostalba » Tue Aug 20, 2013 8:19 pm

fern wrote:My goodness, around 30 ply in middle game!!!

What a degree of pruning!!!

Fern
Never suspected you like to indulge on these pretty dry technical details :-)

Anyhow, just to add another technical detail, that I forgot to mention in the announcement, for the people compiling themselves please verify build is ok running:

./stockfish bench

Searched node count must be: 4132374

User avatar
reflectionofpower
Posts: 1456
Joined: Fri Mar 01, 2013 4:28 pm
Location: USA

Re: Stockfish 4

Post by reflectionofpower » Tue Aug 20, 2013 8:21 pm

thanks for heads up

Joerg Oster
Posts: 688
Joined: Fri Mar 10, 2006 3:29 pm
Location: Germany

Re: Stockfish 4

Post by Joerg Oster » Tue Aug 20, 2013 8:24 pm

Thanks! Great achievement.
And good luck for the nTCEC Season 2.

Jörg

P.S. Damn, I didn't make it on this list. Maybe next time. ;-)
Jörg Oster

User avatar
JuLieN
Posts: 2948
Joined: Mon May 05, 2008 10:16 am
Location: Nantes (France)
Contact:

Re: Stockfish 4

Post by JuLieN » Tue Aug 20, 2013 8:37 pm

mcostalba wrote: Finally a note for the user. In this version there is no more automatic detection of CPU count, so at startup Stockfish always defaults to 1 thread. In case you want to use more than one CPU you have to manually set the “Threads” UCI option accordingly.

Have Fun
SF Team
It doesn't work with HIARCS Chess Explorer on Mac. Even when setting the number of threads to 8 it keeps running with one thread. I just tried with ScidVsMac and there it works. So it's a HCE bug, not a problem from Stockfish... for Windows' HCE users : do you have the same problem ?
"The only good bug is a dead bug." (Don Dailey)
Image [Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]

Henk
Posts: 5816
Joined: Mon May 27, 2013 8:31 am

Re: Stockfish 4

Post by Henk » Tue Aug 20, 2013 8:50 pm

fern wrote:My goodness, around 30 ply in middle game!!!

What a degree of pruning!!!

Fern
Getting a PV of 30 ply is easy. If move is PV then search (depth -1) else search(depth -5).

So in real (like in the old days) they search 30/5 is 6 ply.

Post Reply