Crafty 24.0

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Crafty 24.0

Post by bob »

Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: Crafty 24.0

Post by duncan »

bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty 24.0

Post by bob »

duncan wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
I gave up on doing executables years ago. Too many different operating system versions, too many different hardware platforms (SSE, no-SSE, etc). I provide source and let you roll your own. There will be executables around pretty soon.
User avatar
Peter Skinner
Posts: 1763
Joined: Sun Feb 26, 2006 1:49 pm
Location: Edmonton, Alberta, Canada
Full name: Peter Skinner

Re: Crafty 24.0

Post by Peter Skinner »

duncan wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
I've placed x64 builds at: http://www.kikrtech.com

The x86 builds will be coming later today. I'm working on bettering the PGO compiles for that platform.

Peter
I was kicked out of Chapters because I moved all the Bibles to the fiction section.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Crafty 24.0

Post by Ferdy »

Peter Skinner wrote:
duncan wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.

(2) Quite a few of the -D options have changed. The normal Makefile has comments that explain each one. I release the Makefile exactly as I use it, currently on my mac boxes and linux boxes.

(3) there is a Makefile.xp that ought to work, but without any windows boxen around, I am not certain. If you spot anything particularly ugly wrong with this Makefile, please let me know...

I've been running this version for several months. Lots of changes everywhere, particularly in the parallel search code that has been cleaned up and simplified (and speeded up as well).

The source is at the usual place:

www.cis.uab.edu/hyatt/crafty/source
where is the executable stored ?
I've placed x64 builds at: http://www.kikrtech.com

The x86 builds will be coming later today. I'm working on bettering the PGO compiles for that platform.

Peter
Has somebody able to download?
Not Found so far.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Crafty 24.0

Post by zullil »

bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.
In the profile target in the makefile, I think

Code: Select all

@echo "#!/bin/sh" > runprof
is preferable to

Code: Select all

@echo "#!/bin/csh" > runprof
(Appears twice in the target.)

I did learn that csh is not installed by default on my linux system, and that the default is dash.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty 24.0

Post by bob »

zullil wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.
In the profile target in the makefile, I think

Code: Select all

@echo "#!/bin/sh" > runprof
is preferable to

Code: Select all

@echo "#!/bin/csh" > runprof
(Appears twice in the target.)

I did learn that csh is not installed by default on my linux system, and that the default is dash.
I will look. At one point there was some distinctly "csh commands" in the runprof stuff...
User avatar
Peter Skinner
Posts: 1763
Joined: Sun Feb 26, 2006 1:49 pm
Location: Edmonton, Alberta, Canada
Full name: Peter Skinner

Re: Crafty 24.0

Post by Peter Skinner »

Ferdy wrote: Has somebody able to download?
Not Found so far.
Link on the website works here? Are you sure you don't have a cached version of the page?

Here's a direct link: Crafty 24.0

Peter
I was kicked out of Chapters because I moved all the Bibles to the fiction section.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Crafty 24.0

Post by Ferdy »

Peter Skinner wrote:
Ferdy wrote: Has somebody able to download?
Not Found so far.
Link on the website works here? Are you sure you don't have a cached version of the page?

Here's a direct link: Crafty 24.0

Peter
I don't know about this cached version.
Anyway both works now the web link and the direct link. Thanks.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Crafty 24.0

Post by zullil »

bob wrote:
zullil wrote:
bob wrote:Finally got all the changes and cleanup done. A few notes:

(1) Look at the new Makefile first. I now only have two O/S choices. one is -DUNIX which is what I use for my macs and linux boxes. The other choice is to leave the -DUNIX off, which makes it a windows program.
In the profile target in the makefile, I think

Code: Select all

@echo "#!/bin/sh" > runprof
is preferable to

Code: Select all

@echo "#!/bin/csh" > runprof
(Appears twice in the target.)

I did learn that csh is not installed by default on my linux system, and that the default is dash.
I will look. At one point there was some distinctly "csh commands" in the runprof stuff...
Yes, that's where they are.

Anyway, I made a PGO build, which seems to work well. Will need to study the split-depth-related commands and try some tweaking ...

Code: Select all

louis@LZsT5610:~/Documents/Chess/Crafty/crafty-24.0$ ./crafty mt=16
unable to open book file [./book.bin].
book is disabled
unable to open book file [./books.bin].
(info) command line option "mt=16"
Warning--  xboard 'cores' option disabled
max threads set to 16.

Crafty v24.0 (16 cpus)

White(1): bench
Running benchmark. . .
.......
Total nodes: 315266734
Raw nodes per second: 41427954
Total elapsed time: 7.61
White(1): bench
Running benchmark. . .
.......
Total nodes: 395800144
Raw nodes per second: 44174123
Total elapsed time: 8.96
White(1): bench
Running benchmark. . .
.......
Total nodes: 351013355
Raw nodes per second: 42341779
Total elapsed time: 8.29
White(1): bench
Running benchmark. . .
.......
Total nodes: 524094326
Raw nodes per second: 46175711
Total elapsed time: 11.35
White(1): bench
Running benchmark. . .
.......
Total nodes: 562825242
Raw nodes per second: 45832674
Total elapsed time: 12.28
White(1): quit