Author: Bryan Hofmann
Date: 13:51:33 07/20/04
Go up one level in this thread
On July 20, 2004 at 14:04:03, Omar skulason wrote: >Hi! > >It seems to me that there is no true Crafty, only CraftyDC, CraftyMB, CraftyPS, >CraftyBH and so on. I don´t see how Kurt can pic one for his tournament. >Bryan! Would you say that "Crafty any X86" is the closest to the original? > >Best regards, Ómar. My first question back would be what is original? Do you mean they way the author compiles Crafty? As he only does Linux based compile an use. If we look at the Makefile which Hyatt has stated he uses for the version that runs on the ICC the following flags are used under the Intel v8.0 Compiler; -DFUTILITY = enables "futility pruning" a forward-pruning algorithm *Used in the BH, PS, MB -DFAST =Compiles out some of the statistics gathering to slightly speed up the code. * Used in the PS, DC (I have found I get faster benchmarks without this with the MS compiler) -DINLINE_ASM = Compiles with the Intel assembly code * If you are using the Intel Compiler for Linux you need this, the same as VC_INLINE_ASM is used for MS builds using the MS compiler. -DPOSIX -DSMP -DCPUS=2 =These are for SMP which are in the SMP builds BH, DC, PS, MB Compiler options -D_REENTRANT = Needed in Linux compiles for SMP builds -O2 = Optimization level -xN = Optimize exclusivly for the P4 system and vectorize loops (SIMD= SSE/SSE2) -Ob2 = inline expansion of 2 For the compiler options I can only speak for mine in that I uses all of these with the exception of the -D_REENTRANT which is for Linux builds. The -xN is for the Intel compiler and I use the MS compiler flags of /G7 for the P4 and Athlon builds. As for the code mods that are made here again I can only speak for mine and what I change has no effect on how Crafty will play in a game. The Eval, Search etc are untouched. The main differences in the builds that are different from the way Hyatt builds his is with the DC compile. Dann does not use FUTILITY pruning and uses DETECTDRAW which Hyatt does not. So from this perspective the BH and PS are for the most part the same as what the author uses on the ICC but built to run on a windows platform Just different optimization for speed. The Crafty SE is a whole different matter in that the search, eval and other chess playing components have been changed from the original Crafty source. The "Crafty any X86" is like I explained above, the only difference is that it is not optimized for any one processor and there for will run a little slower then my other compiles. From reports I have recieved on benchmarks if you are running a AMD CPU any of my compiles will produce the fastest benchmark.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.