Houdini 3 the same in 64-bit and 32-bit: well, not quite???

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

Moderators: hgm, Rebel, chrisw

ernest
Posts: 2041
Joined: Wed Mar 08, 2006 8:30 pm

Houdini 3 the same in 64-bit and 32-bit: well, not quite???

Post by ernest »

Found this example in some "other" Forum,
and tested it, to large depths, with my no-POPCNT Houdini 3 update version.
Maybe somebody can confirm on a modern configuration (i7...)

Until depth 21: no difference in nodes
Depth 22 23 24: very small difference in nodes
Depth 25: large difference in nodes
Depth 26 and more: analysis is different

Infinite analysis
16 MB hash 1 thread
[d]r1qr1bk1/pppbnppp/4n3/3NP3/8/5N1P/PB2QPP1/1BRR2K1 w - -
Engine: Houdini 3 w32 by Robert Houdart
16 MB Hash
1 thread used
16/50 0:05 +1.53 1.Bxh7+ Kxh7 2.Rxc7 Nxd5 3.Rxc8 Raxc8 4.Rxd5 Kg8 5.Rd2 Bb4 6.Rd1 Be7 7.Qe3 Bc5 8.Nd4 a6 9.Rd2 Bb5 10.a3 Bc6 11.f3 Bd5 12.h4 Bc4 (8.884.794) 1668
17/50 0:11 +1.65++ 1.Bxh7+ (20.523.585) 1746
17/50 0:12 +1.57 1.Bxh7+ Kxh7 2.Rxc7 Nxd5 3.Rxc8 Raxc8 4.Rxd5 Kg8 5.Rd2 Bb4 6.Rd1 Bc6 7.Rxd8+ Rxd8 8.Bc1 Rd5 9.Be3 a6 10.Kh2 Be7 11.h4 Rb5 12.g3 Be4 13.a4 Rd5 (22.255.807) 1748
18/50 0:22 +1.57 1.Bxh7+ Kxh7 2.Rxc7 Nxd5 3.Rxc8 Raxc8 4.Rxd5 Kg8 5.Rd2 Bb4 6.Rd1 Bc6 7.Rxd8+ Rxd8 8.Bc1 Rd5 9.Be3 a6 10.Kh2 Be7 11.h4 Rb5 12.g3 Be4 13.a4 Rd5 (41.243.077) 1801
19/50 0:30 +1.69++ 1.Bxh7+ (54.261.487) 1791
19/50 0:34 +1.66 1.Bxh7+ Kxh7 2.Rxc7 Nxd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qh4 Bc5 13.Ne4 Bxe4 14.Qxe4 (42.073.619.039) 2545
User avatar
Houdini
Posts: 1471
Joined: Tue Mar 16, 2010 12:00 am

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by Houdini »

Crazy - first difference after 800 million nodes :).
I'll investigate, thanks for reporting.
User avatar
Houdini
Posts: 1471
Joined: Tue Mar 16, 2010 12:00 am

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by Houdini »

After investigation it appears that it's (again) the 32-bit version that doesn't behave as expected.

In positions without any pawns, the piece value for the Knight will be slightly inaccurate (0.36 pawns to be exact).
For example in the following position which is the exact position that gave rise to the analysis difference posted above:

[D]3B4/R7/6k1/8/8/7b/n4K2/8 b - -
The impact on playing strength is insignificant - in position without pawns it doesn't really matter whether the knight is evaluated as 3.1 or 2.8 pawns.
We'll simply include the correction for this issue in the next release.

Thanks for the bug report!

Robert
ernest
Posts: 2041
Joined: Wed Mar 08, 2006 8:30 pm

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by ernest »

Houdini wrote:Thanks for the bug report!
Thanks for the quick analysis!
Indeed, unsignificant bug...
ernest
Posts: 2041
Joined: Wed Mar 08, 2006 8:30 pm

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by ernest »

Houdini wrote:In positions without any pawns, the piece value for the Knight will be slightly inaccurate (0.36 pawns to be exact).
Hi Robert,

I just found that for this position with pawns
(studied elsewhere in the Forum,
http://www.talkchess.com/forum/viewtopi ... 257#498257
solution Nc6!),

[d]1N4K1/1pp1p3/7k/2r3pP/p2pp1P1/P6N/8/2B5 w - - 0 1
the 1-thread infinite analysis of the 32 and 64-bit versions differ as early as depth 16 and 3369 kN (I used 1024 MB hash).
32-bit:
1.Nd7 Rxc1
-+ (-2.29 --) Depth: 16/57 00:00:01 1843kN
1.Nd7
-+ (-1.58 !) Depth: 16/58 00:00:02 3369kN
64-bit:
1.Nd7 Rxc1
-+ (-2.29 --) Depth: 16/57 00:00:00 1843kN
1.Nd7
-+ (-1.58 !) Depth: 16/61 00:00:01 3673kN
User avatar
Houdini
Posts: 1471
Joined: Tue Mar 16, 2010 12:00 am

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by Houdini »

Hello Ernest, this is the same error as above.
On my current 32-bit version with correction I find the same output as the 64-bit version.
Thanks for taking the time to report this!

Robert
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by Dr.Wael Deeb »

Houdini wrote:Hello Ernest, this is the same error as above.
On my current 32-bit version with correction I find the same output as the 64-bit version.
Thanks for taking the time to report this!

Robert
Hope you'll be able to fix it this time......
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by kranium »

Dr.Wael Deeb wrote:
Houdini wrote:Hello Ernest, this is the same error as above.
On my current 32-bit version with correction I find the same output as the 64-bit version.
Thanks for taking the time to report this!

Robert
Hope you'll be able to fix it this time......
Dr.D
he might not have time...
seems far too busy shamelessly singing Houdini's glory at every possible opportunity!
:roll:

that being said...
i do wish you and all of CCC a very Happy New Year!
:D

Best Wishes,
Norm
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by Dr.Wael Deeb »

kranium wrote:
Dr.Wael Deeb wrote:
Houdini wrote:Hello Ernest, this is the same error as above.
On my current 32-bit version with correction I find the same output as the 64-bit version.
Thanks for taking the time to report this!

Robert
Hope you'll be able to fix it this time......
Dr.D
he might not have time...
seems far too busy shamelessly singing Houdini's glory at every possible opportunity!
:roll:

that being said...
i do wish you and all of CCC a very Happy New Year!
:D

Best Wishes,
Norm
Happy new year Norman :D

I'm still waiting for a new chess release from your side......

To me,the FireBird chess engine is a masterpiece,particulary v1.1....
I have a personality of this engine which is extremely strong and is palying regulary in my tournaments.....
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Houdini
Posts: 1471
Joined: Tue Mar 16, 2010 12:00 am

Re: Houdini 3 the same in 64-bit and 32-bit: well, not quite

Post by Houdini »

Dr.Wael Deeb wrote:Hope you'll be able to fix it this time......
Dr.D
The issue is perfectly irrelevant, as explained above it doesn't have any impact on the analysis quality.