Page 5 of 37

Re: Designing an analysis friendly Stockfish?

Posted: Tue Feb 01, 2011 10:12 pm
by Prima
Thanks gaad. Also thanks Uly for initializing this concept and Ingo for the tests. Thanks all.

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 1:16 am
by Peter C
Figured I'd contribute my GTB mess into all of this. :)

Stockfish 2.0.1 PA GTB

Sadly as usual I can only make a 32-bit compile, but I'm trying to use Mingw-64 to fix that.

Peter

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 6:15 am
by Prima
Peter C wrote:Figured I'd contribute my GTB mess into all of this. :)

Stockfish 2.0.1 PA GTB

Sadly as usual I can only make a 32-bit compile, but I'm trying to use Mingw-64 to fix that.

Peter
Peter C, I would love to make 64-bit compiles of your Stockfish. Sadly, for some reason, I can't compile a 64-bit version of your Stockfisht-GTB with my Visual Studio 2010. I keep geting erros still. Make no mistake, I'm sure that it's "something" I'm not doing correctly or "failed" to do to make it compile.

Surprising, Stockfish (and Stockfish PA by gaard), as well as Stockfish derivatives such as Tinapa and Crab 1.0 beta are "straight forward" and easy to compile. I also had no problem compiling Toga 1.4.5e4 and few other clean codes.

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 8:34 pm
by Peter C
Prima wrote:
Peter C wrote:Figured I'd contribute my GTB mess into all of this. :)

Stockfish 2.0.1 PA GTB

Sadly as usual I can only make a 32-bit compile, but I'm trying to use Mingw-64 to fix that.

Peter
Peter C, I would love to make 64-bit compiles of your Stockfish. Sadly, for some reason, I can't compile a 64-bit version of your Stockfisht-GTB with my Visual Studio 2010. I keep geting erros still. Make no mistake, I'm sure that it's "something" I'm not doing correctly or "failed" to do to make it compile.

Surprising, Stockfish (and Stockfish PA by gaard), as well as Stockfish derivatives such as Tinapa and Crab 1.0 beta are "straight forward" and easy to compile. I also had no problem compiling Toga 1.4.5e4 and few other clean codes.
You'll first have to compile the GTB library (in src/egtb/) to either a DLL or .lib, and then dynamically (for DLL) or statically (for .lib) link it. I don't really know how to do this in Visual Studio. :(

Peter

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 9:36 pm
by fruity
I have compared stockfish_201_PA_G against SF default with 6000 ultra fast games (one second per game, no increment).

Result from stockfish_201_PA_G's point of view:

+1822, -1882, =2296

With stockfish_201_PA_G additionally changed to update history and killer moves also in PV case (search.cpp, line 1395)

Code: Select all

        // Update killers and history only for non capture moves that fails high
        if (    (bestValue >= beta || vt == VALUE_TYPE_EXACT)
            && !pos.move_is_capture_or_promotion(move))
        {
            update_history(pos, move, depth, movesSearched, moveCount);
            update_killers(move, ss);
        }
I got +1972, -1691, =2337. Again from stockfish_201_PA_G's point of view.

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 10:19 pm
by Jeremy Bernstein
Peter C wrote:
Prima wrote:
Peter C wrote:Figured I'd contribute my GTB mess into all of this. :)

Stockfish 2.0.1 PA GTB

Sadly as usual I can only make a 32-bit compile, but I'm trying to use Mingw-64 to fix that.

Peter
Peter C, I would love to make 64-bit compiles of your Stockfish. Sadly, for some reason, I can't compile a 64-bit version of your Stockfisht-GTB with my Visual Studio 2010. I keep geting erros still. Make no mistake, I'm sure that it's "something" I'm not doing correctly or "failed" to do to make it compile.

Surprising, Stockfish (and Stockfish PA by gaard), as well as Stockfish derivatives such as Tinapa and Crab 1.0 beta are "straight forward" and easy to compile. I also had no problem compiling Toga 1.4.5e4 and few other clean codes.
You'll first have to compile the GTB library (in src/egtb/) to either a DLL or .lib, and then dynamically (for DLL) or statically (for .lib) link it. I don't really know how to do this in Visual Studio. :(

Peter
Prima, if you send me your projects (or post them somewhere for me to download), I can do this for you (and write instructions so you know what to do next time).

Jeremy

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 10:26 pm
by Prima
Jeremy Bernstein wrote:
Peter C wrote:
Prima wrote:
Peter C wrote:Figured I'd contribute my GTB mess into all of this. :)

Stockfish 2.0.1 PA GTB

Sadly as usual I can only make a 32-bit compile, but I'm trying to use Mingw-64 to fix that.

Peter
Peter C, I would love to make 64-bit compiles of your Stockfish. Sadly, for some reason, I can't compile a 64-bit version of your Stockfisht-GTB with my Visual Studio 2010. I keep geting erros still. Make no mistake, I'm sure that it's "something" I'm not doing correctly or "failed" to do to make it compile.

Surprising, Stockfish (and Stockfish PA by gaard), as well as Stockfish derivatives such as Tinapa and Crab 1.0 beta are "straight forward" and easy to compile. I also had no problem compiling Toga 1.4.5e4 and few other clean codes.
You'll first have to compile the GTB library (in src/egtb/) to either a DLL or .lib, and then dynamically (for DLL) or statically (for .lib) link it. I don't really know how to do this in Visual Studio. :(

Peter

Prima, if you send me your projects (or post them somewhere for me to download), I can do this for you (and write instructions so you know what to do next time).

Jeremy
Thank you Jeremy. I'm definitely going to send you my project/s. It has tormented me day and night. Give me a few hours to reorganize everything.

Prima.

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 10:30 pm
by Prima
In the meant time, I made a successful PGO MsVS2010 compile of Stockfish 2.01PA, version "G" (by gaard, et al). 64-bit only.

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 10:30 pm
by Jeremy Bernstein
Prima wrote:In the meant time, I made a successful PGO MsVS2010 compile of Stockfish 2.01PA, version "G" (by gaard, et al). 64-bit only.
Why no 32-bit? :0

Re: Designing an analysis friendly Stockfish?

Posted: Wed Feb 02, 2011 10:33 pm
by Jeremy Bernstein
Prima wrote:Thank you Jeremy. I'm definitely going to send you my project/s. It has tormented me day and night. Give me a few hours to reorganize everything.

Prima.
Take your time -- I can't do it until tomorrow, anyway.