Author: Robert Hyatt
Date: 07:45:18 02/18/04
Go up one level in this thread
On February 18, 2004 at 10:32:32, ERIQ wrote:
> To all that have try to helped me get crafty running in dual mode under
>freebsd, I say thank you. The problem was with freebsd and not with crafty
>something was wrong w/ 'lpthread' in 5.2-release but must have been fixed lately
>because I upgraded my system to latest sources two days ago and made world and
>then every thing worked the way it should have w/ the same makefile I tryed
>awhile back!! Thx everyone and thanks again for crafty doc.
>
> One more question though how can I get it to use both cpus while analysing in
>scid database?
Note that you are running the benchmark incorrectly. You need to stop and
re-start crafty for each run, otherwise stuff in the hash table will make the
second search different than the first.
>
>system is 2xamdxp 2400-->mp overclocked to 2.1ghz or 2600+ mp w/ 512mb ecc
>
>{eriq@merlin} ~/Crafty> ./crafty
>unable to open book file [./book.bin].
>book is disabled
>unable to open book file [./books.bin].
>
>Crafty v19.9 (1 cpus)
>
>White(1): mt=2
>max threads set to 2
>White(1): bench
>Running benchmark. . .
>......
>Total nodes: 102338470
>Raw nodes per second: 1827472
>Total elapsed time: 56
>SMP time-to-ply measurement: 11.428571
>White(1): mt=1
>max threads set to 1
>White(1): thread 1 exiting
>
>White(1): bench
>Running benchmark. . .
>......
>Total nodes: 100409445
>Raw nodes per second: 974848
>Total elapsed time: 103
>SMP time-to-ply measurement: 6.213592
>
>makefile target:
>freebsd:
> $(MAKE) target=FreeBSD \
> CC=gcc CXX='$(CC)' \
> CFLAGS='$(CFLAGS) -fomit-frame-pointer -mcpu=i686 -O3 -Wall' \
> CXFLAGS=$(CFLAGS) \
> LDFLAGS='$(LDFLAGS) -lpthread'\
> opt='$(opt) \
> -DUSE_ASSEMBLY -DFAST -DPOSIX -DSMP -DCPUS=2' \
> asm=X86.o \
> crafty-make
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.