Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty 19.10 smp support

Author: Mike Byrne

Date: 14:33:35 02/07/04

Go up one level in this thread


On February 07, 2004 at 17:20:16, Evgeny Shu wrote:

>When I comiled crafty 19.10 for smp
>needed to change in utility.c (line 2319) : 1u i64 to 1ui64
>
>this is the code
>
> if ((((DWORD) - 1) != dwCPU) && (MAXIMUM_PROCESSORS != dwCPU) &&
>            !(ullProcessorMask[0] & (1u i64 << dwCPU))) {
>          for (ulNode = 1; ulNode <= ulNumaNodes; ulNode++) {
>			  if (ullProcessorMask[ulNode] & (1u i64 << dwCPU)) {
>              printf("Exchanging nodes 0 and %d\n", ulNode);
>              ullMask = ullProcessorMask[ulNode];
>              ullProcessorMask[ulNode] = ullProcessorMask[0];
>              ullProcessorMask[0] = ullMask;
>              break;
>
>Now it compiles ok .. Hopefully works too :)

The problem is that the NUMA does not compile under MSVC6++.   If you still have
problems I can send you my revised utility.c ..when I get home.



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.