Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: compiling crafty at a cc-NUMA machine

Author: Robert Hyatt

Date: 13:22:39 09/03/03

Go up one level in this thread


On September 03, 2003 at 15:20:44, Vincent Diepeveen wrote:

>On September 03, 2003 at 14:56:41, Robert Hyatt wrote:
>
>>On September 03, 2003 at 14:22:24, Vincent Diepeveen wrote:
>>
>>>On September 03, 2003 at 13:45:51, Robert Hyatt wrote:
>>>
>>>[snip]
>>>>>Ok here my statement. Crafty won't run well on 16 processors of P7 from the
>>>>>TERAS supercomputer.
>>>>>It will be a horror & co show i am sure of it.
>>>
>>>What we do know for sure is that your thing doesn't compile SMP at all very
>>>easily unless
>>
>>So?  It won't work very well on a NUMA box anyway, so there is little point
>>at the moment.
>
>I managed to compile it in fact.
>
>I tried 8 cpu's now.
>
>You'll never get above 1.0 though *ever* on this machine with multithreading of
>course... ...all threads of a process are run within the space of 1 cpu ;)

I have already explained that problem, among others.  As I said, "threads are
not the way to go on a NUMA machine."  In fact, the Compaq NUMA stuff didn't
even support threads, which solved the problem.


>
>>
>>>
>>>$ make SGI
>>>make: file `Makefile' line 420: Syntax error
>>>$ make sgi
>>>make: file `Makefile' line 420: Syntax error
>>>$ uname -a
>>>IRIX64 p1 6.5 04101930 IP35
>>>$
>>>
>>>in makefile:
>>>
>>>sgi:
>>>        $(MAKE) target=SGI \
>>>                AS=/bin/as CC=cc CXX='$$(CC)' \
>>>                AFLAGS='-P' \
>>>                CFLAGS='$(CFLAGS -mips4 -cckr' \
>>>                CXFLAGS=$(CFLAGS) \
>>>                LDFLAGS=$(LDFLAGS) \
>>>                opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS' \
>>>                crafty-make
>>>
>>>line number 420 is under 'profile:'
>>>
>>>I'll keep trying a bit but not too long. Will make a new makefile out of it now
>>>just for SGI.
>>>
>>>
>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>--
>>>>>>>GCP



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.