Designing an analysis friendly Stockfish?
Re: Designing an analysis friendly Stockfish?
Thanks gaad. Also thanks Uly for initializing this concept and Ingo for the tests. Thanks all.
Re: Designing an analysis friendly Stockfish?
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
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?
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.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
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?
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.Prima wrote: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.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
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.
Peter
Re: Designing an analysis friendly Stockfish?
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)
I got +1972, -1691, =2337. Again from stockfish_201_PA_G's point of view.
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);
}
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: Designing an analysis friendly Stockfish?
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).Peter C wrote: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.Prima wrote: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.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
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.
Peter
Jeremy
Re: Designing an analysis friendly Stockfish?
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.Jeremy Bernstein wrote:Peter C wrote: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.Prima wrote: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.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
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.
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
Prima.
Re: Designing an analysis friendly Stockfish?
In the meant time, I made a successful PGO MsVS2010 compile of Stockfish 2.01PA, version "G" (by gaard, et al). 64-bit only.
- Attachments
-
- Stockfish-2.0.1PA(G)PGO-MsVS2010-x64.7z
- Stockfish-2.0.1-Preserve Analysis (G) MsVS2010 x64
- (181.78 KiB) Downloaded 378 times
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: Designing an analysis friendly Stockfish?
Why no 32-bit? :0Prima 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.
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: Designing an analysis friendly Stockfish?
Take your time -- I can't do it until tomorrow, anyway.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.