Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Problem with Nalimov Tablebases

Author: Todd Segal

Date: 13:05:13 05/01/02

Go up one level in this thread


>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.

>Also, what value has iTb when you pass it to the probe function?
>(It should be non-zero.)
>

iTb is non-zero


I also posted the code in another followup to this. Thanks a lot for your help!

- Todd




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.