Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with Nalimov Tablebases

Author: Heiner Marxen

Date: 05:10:05 05/02/02

Go up one level in this thread


On May 02, 2002 at 01:40:56, Todd Segal wrote:

>So I tried:
>
>#define SIZE 632000000
>...
> void *buffer = malloc(SIZE);

I hope you have >600MB available, and "buffer" is non-NIL.


> unsigned long allocate = SIZE;
> int ok = FTbSetCacheSize(buffer, allocate);
>
>
>And 'ok' is always 1, and probe always returns -254. Still just getting one
>value. Is there anything else I need to initialize? Is the SIZE var bad?
>
>Hmmm...

Hmmm... I appear to be stuck.  Looks like some subtle problem.

May be you should construct some simple (say) KRK position, run your program,
and tell me the FEN and the calculated iTb and index which you stuff
into the probe function.  I can then run my program and look whether I
get the same values.  In case you somehow messed up the SqFind*() macros
it could be that you calculate an index out of range.

Otherwise I am out of ideas.

Cheers,
Heiner



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.