Stockfish 2.3 update available

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

Moderators: hgm, Rebel, chrisw

JManion
Posts: 205
Joined: Wed Dec 23, 2009 8:53 am

Re: Stockfish 2.3 update available

Post by JManion »

What is the difference between GCC 4.2 sse and the regular 4.2 sse?

Thanks
Zlatin
Posts: 8
Joined: Wed Dec 07, 2011 8:38 pm

Re: Stockfish 2.3 update available

Post by Zlatin »

Bram Visser wrote:Great! Waiting for the new Houdini and we get a new Stockfish !
Yes!
Also new Rybka 5 (maybe) :D
This is Top 3 !
IWB
Posts: 1539
Joined: Thu Mar 09, 2006 2:02 pm

Re: Stockfish 2.3 update available

Post by IWB »

Hello Jim,

AsI had some bad experiences with the last releases and very fast bugfixes I will wait a while.

I am a bit sceptical about the huge diverity of special compiles for this or that.

Here is an example:

This is the special i5-i7 compile ON A AMD-PHENOM2:

Code: Select all


Engine: Stockfish 2.3 JA 64bit SSE4.2 INTEL (256 MB)
by Tord Romstad, Marco Costalba and Joona
 15/33	 0:01 	-0.60 	38...Nf6 39.d5 Nb6 40.Nc3 Bb8 41.Rd1 Re8 42.Kf1 Kh7 43.Kg1 Kg8 44.Qa2 Re5 45.Ra1 Nfd7 46.Rd1 Kf8 47.Rd4 Nc5 (2.631.468) 1414
 16/33	 0:01 	-0.60 	38...Nf6 39.d5 Nb6 40.Nc3 Bb8 41.Rd1 Re8 42.Kf1 Kh7 43.Kg1 Kg8 44.Qa2 Re5 45.Ra1 Nfd7 46.Rd1 Kf8 47.Rd4 Nc5 (2.690.563) 1410
 17/33	 0:02 	-0.52--	38...Nf6 39.d5 Nb6 40.Nc3 Bb8 41.Rd1 Re8 42.Kf1 Kh7 43.Ne2 Nfxd5 44.Nf4 c6 45.Kg1 Kg8 46.bxc6 bxc6 47.Nxd5 Nxd5 48.Bf1 Qa7 49.Bb5 (3.022.727) 1401
 17/33	 0:02 	-0.68++	38...Nf6 39.d5 Bb6 40.Bc3 Rh7 41.Rd1 Nd7 42.Qa2 Ne5 43.Bxe5 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.Rb1 Qc6 48.Qxc6 bxc6 49.Rxb6 Rc8 50.Bf1 Kg5 51.Ba6 Ba7 (27.599.850) 1383
 25/44	 0:50 	-0.76++	38...Bb6 (69.117.362) 1369
best move: Ba7-b6 time: 1:02.109 min  n/s: 1.369.908  nodes: 69.117.362 
This is the NORMAL SSE42 compile on an AMD PHENOM2:

Code: Select all

Engine: Stockfish 2.3 JA 64bit SSE4.2 AMD (256 MB)
by Tord Romstad, Marco Costalba and Joona
 16/28	 0:01 	-0.68 	38...Bb6 39.Bc3 Nxc3 40.Qxc3 Qd7 41.Qb3 Kg7 42.Nc3 Ne7 43.Na4 d5 44.Nxb6 cxb6 45.Bf1 Qc7 46.Qb4 Ng6 47.Qb3 Ne7 (1.522.495) 1352
 17/29	 0:02 	-0.60--	38...Bb6 39.Qc4 Ba5 40.Nc5 Ncb6 41.Qc2 Bb4 42.Nxb7 Qh7 43.Na5 Bxa5 44.Rxa5 Nb4 45.Qb3 N6d5 46.Ba1 (3.367.590) 1338
 17/30	 0:03 	-0.52--	38...Bb6 39.Qc4 Nf6 40.Qc3 Nd5 41.Qc4 (4.118.735) 1344
 17/30	 0:03 	-0.52 	38...Bb6 39.Qc4 Nf6 40.Qc3 Rh6 41.Qd2 Kg7 42.Qb4 Nd5 43.Qb3 Nce7 44.Kf1 Kg8 45.Kg1 Ba5 46.Nc5 b6 47.Nb7 Bb4 48.Ra8+ Kg7 (5.303.510) 1336
 18/30	 0:04 	-0.60++	38...Nf6 39.d5 Bb6 40.Qd1 Rh5 41.Nxb6 Nxb6 (6.250.573) 1333
 18/30	 0:04 	-0.68++	38...Nf6 39.d5 Bb6 40.Qd1 Rh5 41.Nxb6 Nxb6 (6.496.526) 1336
 18/30	 0:05 	-0.80++	38...Nf6 39.d5 Bb6 40.Qd1 Rh5 41.Nxb6 Nxb6 42.Qd4 Nbd7 43.Ra7 Qxd5 44.Qxd5 Nxd5 45.Rxb7 Nc5 (7.301.911) 1342
 18/30	 0:05 	-0.72 	38...N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Rb8 48.Kf1 Kd7 49.Bxd5 cxd5 50.Ke2 Bd8 (47.525.815) 1370
 25/39	 0:38 	-0.68 	38...Nf6 39.Qc2 Nb6 40.Nc3 Bb8 41.Ne2 Nfd5 42.Bc3 Nxc3 43.Nf4+ Kf6 44.Qxc3 Nd5 45.Nxd5+ Qxd5 46.b6 cxb6 47.Rb1 Qc6 48.Qb2 d5 49.Qxb6 Bd6 50.Qxb7 Qxb7 51.Rxb7 Rc8 (52.117.008) 1370
 26/39	 0:41 	-0.60--	38...Nf6 39.Qc2 Nb6 40.Nc3 Bb8 41.Ne2 Nfd5 42.Bc3 Nxc3 43.Nf4+ Kf6 44.Qxc3 Nd5 45.Nxd5+ Qxd5 46.b6 cxb6 47.Rb1 Qc6 48.Qb2 d5 49.Qxb6 Bd6 50.Bf1 Ra8 51.Qb3 (56.390.039) 1364
best move: Nd5-f6 time: 1:02.109 min  n/s: 1.364.946  nodes: 56.390.039 
All on one Thread!


While the intel compile is marginal faster on the AMD than the normal one the nodes per depth are not identical and the selective depth is different as well.

That are basicaly two different engines.

Bye
Ingo
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish 2.3 update available

Post by mcostalba »

Hi Ingo,

could you please run

Code: Select all

./stockfish bench
from the command line and see what searched nodes you get? You should have 5416292.

Thanks
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Stockfish 2.3 update available

Post by Modern Times »

IWB wrote:Hello Jim,
This is the special i5-i7 compile ON A AMD-PHENOM2:
Well spotted, I simply did not try and run the special Intel compile on my AMD :D
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Stockfish 2.3 update available

Post by Modern Times »

mcostalba wrote:Hi Ingo,

could you please run

Code: Select all

./stockfish bench
from the command line and see what searched nodes you get? You should have 5416292.

Thanks
I tried both on my Phenom II X6

SSE42
Time 4671
Nodes searched 5416292
Nodes per second 1159557


GCC i5-i7 SSE42
Time 3611
Nodes searched 5416292
Nodes per second 1499942

The output of the bench command looks identical in both cases as regards the pv


info depth 12 seldepth 25 score cp 226 nodes 125927 nps 1040719 time 121 multipv 1 pv c5d5 d1d5 e6d5 c4e5 d8c7 f4d3 c7c3
a1c3 b4c3 e5d7 f6e7 b3b4 c3c2 d7c5 e7c5 b4c5 b7c6 g1f1 c6a4

info depth 12 seldepth 25 score cp 226 nodes 125927 nps 1773619 time 71 multipv 1 pv c5d5 d1d5 e6d5 c4e5 d8c7 f4d3 c7c3
a1c3 b4c3 e5d7 f6e7 b3b4 c3c2 d7c5 e7c5 b4c5 b7c6 g1f1 c6a4
Last edited by Modern Times on Sun Sep 16, 2012 10:42 am, edited 2 times in total.
IWB
Posts: 1539
Joined: Thu Mar 09, 2006 2:02 pm

Re: Stockfish 2.3 update available

Post by IWB »

Modern Times wrote:
IWB wrote:Hello Jim,
This is the special i5-i7 compile ON A AMD-PHENOM2:
Well spotted, I simply did not try and run the special Intel compile on my AMD :D
As the GCC is faster and runs on AMD and Intel. The non GCC compile is redundent.

I get different pv with both versions which means that one version is somehow "strange". Whichone is a different matter.

Bye
Ingo
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Stockfish 2.3 update available

Post by Modern Times »

IWB wrote:I get different pv with both versions which means that one version is somehow "strange". Whichone is a different matter.

Bye
Ingo
Did you try stockfish bench ? The PVs are identical for me. I'll try a GUI and see what happens
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: Stockfish 2.3 update available

Post by mcostalba »

IWB wrote: I get different pv with both versions which means that one version is somehow "strange". Whichone is a different matter.
Since the 'bench' test reported same node counts I'd assume the 2 binaries are 100% equivalent. Neverthless becuase you reported differnt pv it is interesting to understand better. Could you please post what kind of test have you done?

1) From command line or from GUI ?
2) Number of threads set or let SF to choose automatically ?
3) What command did you give ? depth limited, time limited, infinite ?

Thanks
Marco
Last edited by mcostalba on Sun Sep 16, 2012 10:43 am, edited 1 time in total.
Zlatin
Posts: 8
Joined: Wed Dec 07, 2011 8:38 pm

Re: Stockfish 2.3 update available

Post by Zlatin »

mcostalba wrote:Hi Ingo,

could you please run

Code: Select all

./stockfish bench
from the command line and see what searched nodes you get? You should have 5416292.

Thanks
Hello Marco,

Where must type this command?

Best wishes