Re: problem smp w/ crafty chess engine

From: Doug White <dwhite_at_gumbysoft.com>
Date: Fri, 16 Jan 2004 08:46:04 -0800 (PST)
On Thu, 15 Jan 2004, eqe wrote:

> Can anyone help with this, I am trying to get my dual amd mp system to compile
> crafty so that it can use the smp features, but I am having no luck :(

Isn't this in ports?

> gcc  -o crafty searchr.o search.o singular.o thread.o searchmp.o repeat.o
> next.o nexte.o nextr.o history.o quiesce.o evaluate.o movgen.o make.o
> unmake.o hash.o attacks.o swap.o boolean.o utility.o valid.o probe.o book.o
> data.o drawn.o edit.o epd.o epdglue.o init.o input.o interupt.o iterate.o
> main.o option.o output.o phase.o ponder.o preeval.o resign.o root.o learn.o
> setboard.o test.o testepd.o time.o validate.o annotate.o analyze.o evtest.o
> bench.o egtb.o dgt.o -lstdc++ -lpthread X86.o -lm
> /usr/bin/ld: cannot find -lpthread

s/pthread/c_r/

Be careful.... FreeBSD doesn't currently schedule different threads of the
same program on different processors.  If crafty isn't forking, then you
aren't getting what you think you're getting.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Fri Jan 16 2004 - 07:46:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC