Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty Makefile

Author: Robert Hyatt

Date: 12:29:37 07/15/04

Go up one level in this thread


On July 15, 2004 at 14:24:15, Matthew Hull wrote:

>On July 15, 2004 at 13:54:54, Robert Hyatt wrote:
>
>>On July 15, 2004 at 11:22:32, Matthew Hull wrote:
>>
>>>Can the "profile" target use "linux-profile" and "linux" instead of
>>>"linux-icc-profile" and "linux-icc"?
>>
>>
>>yes, although it doesn't seem to help when it works.  99% of the time, the
>>stupid gcc PGO code produces corrupted profile files and when re-compiling it
>>complains and crashes.  Works perfectly for Intel's PGO compiler however.  And
>>on those rare occasions when gcc didn't produce a corrupted file, the
>>performance was actually a tiny bit _worse_ so it wasn't worth the trouble to
>>start with. :(
>
>
>I just tried it, and it compiled without complaints.
>
>Here is a comparison from a PIII 500mhz, gcc 3.2.2 on RH9.

OK.  Perhaps the gcc distributed on Suse 9 (which is 3.2.2 also) has a bug of
some sort.  Here is what I get:

output.c: At top level:
output.c:208: .da file contents not exhausted
make[2]: *** [crafty.o] Error 1
make[2]: Leaving directory `/home/hyatt/crafty'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/hyatt/crafty'
make: *** [linux] Error 2

Totally busted.   Every time I try it on AMD64.


>
>
>make profile (substituting linux-profile/linux for linux-icc-profile/linux-icc:
>......
>Total nodes: 72361168
>Raw nodes per second: 177355
>Total elapsed time: 408
>SMP time-to-ply measurement: 1.568627
>
>
>make linux:
>......
>Total nodes: 72361168
>Raw nodes per second: 150439
>Total elapsed time: 481
>SMP time-to-ply measurement: 1.330561



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.