JVMerlino wrote:Many thanks in advance to anybody who can provide some guidance on this.
In a nutshell, the 32-bit and 64-bit versions of Myrddin have always given very different results in analysis mode -- not just move count but PV and sometimes even best move. It's only now that I've decided to devote some time to the problem.
I thought it might be the compile setup, since the two versions are compiled on two different machines (but with the same compiler, Visual Studio 2010, and compile/link settings). But when Jim Ablett's compiles also produce the same issue, I start to suspect the code itself, as I seem to recall that Jim does not exclusively use VS for his builds.
Jim pointed me to a thread from a couple of years ago about Stockfish exhibiting the same problem, but that was due to a MS library sort function which Myrddin does not use. I've searched through all of Myrddin code many times, and cannot find any 64-bit specific code, and I'm just not familiar enough with the MS libraries to guess at which functions might be causing this problem.
Again, any help will be very much appreciated (you'll be mentioned in the release notes!)
jm
IMHO, this should never happen, ever, ever, not even between linux and windows compiles. It could be benign, if there is anything in the code that is not stable, like different sort routines from different libraries. But there is no reason in a chess engine to rely on those libraries.
I suggest
1) Disable hashtables, if the problem persist...
2) Dump the tree in a file, with hashtables disabled. Compared them with a diff program and see where you hit the first difference. W/o hashtables, you should be able to go to that particular node and debug it easily.
I should go and check gaviota to see if the counts are the same
Miguel