Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with Nalimov Tablebases

Author: Heiner Marxen

Date: 15:01:07 05/01/02

Go up one level in this thread


On May 01, 2002 at 16:05:13, Todd Segal wrote:

>>Did you initialize with a call like
>>
>>	egtb__maxcnt = IInitializeTb(egtb__path);
>>
>>and what was the result (egtb__maxcnt) ?
>
>Yes, I did that and the result was a positive integer.
>
>
>>Did you also allocate some memory like
>>	egtb__cache = malloc(size);
>>	egtb__allo  = size;
>>and pass it to the Nalimov code like in
>>	ok = FTbSetCacheSize(egtb__cache, egtb__allo);
>>and what was the result (ok) ?
>>
>
>Uh oh. Do I need to do this? If so, then that could be my problem.

I don't know any more.  When I wrote my interface to it I happened to
decide that failing to allocate some MB to pass it to FTbSetCacheSize()
results in disabling the EGTB probing completely.

Just try to use this function (check the result), and see whether your
problem goes away.

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.