Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling crafty 19.20 for single CPU windows

Author: Matthew Hull

Date: 11:24:13 08/24/05

Go up one level in this thread


On August 24, 2005 at 11:39:49, Robert Hyatt wrote:

>On August 24, 2005 at 07:36:35, Andreas Stabel wrote:
>
>>I've just done this and had to change a couple of things.
>>I put them here so Mr. Hyatt perhaps can do it to the official source and
>>others can correct or add to what I've done.
>>
>>1. Makefile.nt:
>>   Remove phase.c from everywhere
>>   Remove option /GS- from CFLAGS definition
>>   To make single CPU build: Remove COPTS definitions
>>
>>2. init.c
>>   Put #if defined(SMP)
>>   around the "NUMA work" code from line 284 to 317 (before
>>InitializeHashTables();)
>>
>>3. utility.c
>>   Before line 2570: return WinMalloc(size, tid);
>>   Put #  if !defined(SMP)  /* (Note the !) */
>>          return (malloc(size));
>>       #else
>>
>>   and after the 2570 line put #endif
>>
>>Regards
>>Andreas
>
>
>OK.  Made the above changes (plus a couple of others).  Everything now seems to
>work, 19.20 is on the ftp box.  Same code that was used in the wccc all week,
>plus the minor fixes to get windows SMP support back to normal.  No eval or
>search or parallel search changes whatsoever, so you have what I ran with last
>week...


All except for the Berger book.

;)



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.