Gaviota tablebases probing code (v0.2.2) small update

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Gaviota tablebases probing code (v0.2.2) small update

Post by michiguel »

Gaviota tablebases probing code (v0.2.2) UPDATE, New "restarting functions"

* New "restarting functions" tb_restart() and tbcache_restart() were added. If the user changes the conditions (paths etc.) while the program is running, these function will re initialize the tablebase probing code.
* Aaron Becker contributed in his source code fork with a Makefile to produce a static library in Linux. I just borrowed it :-) Thanks!
* The example tbprobe.c code was modified to make it a bit more clear and the new functions were incorporated

I do not think I will need to add any more functions or change them. Hopefully, any future changes will be optimizations, but the interface should remain the same.

Miguel
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by michiguel »

michiguel wrote:Gaviota tablebases probing code (v0.2.2) UPDATE, New "restarting functions"

* New "restarting functions" tb_restart() and tbcache_restart() were added. If the user changes the conditions (paths etc.) while the program is running, these function will re initialize the tablebase probing code.
* Aaron Becker contributed in his source code fork with a Makefile to produce a static library in Linux. I just borrowed it :-) Thanks!
* The example tbprobe.c code was modified to make it a bit more clear and the new functions were incorporated

I do not think I will need to add any more functions or change them. Hopefully, any future changes will be optimizations, but the interface should remain the same.

Miguel
The link...
http://sites.google.com/site/gaviotache ... e/releases
vb4
Posts: 165
Joined: Sat Mar 11, 2006 5:45 am
Location: NY

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by vb4 »

Hi Miguel,

I was just wondering what your plans are for developing your egtb generator so it will be able to generate the 5-1 egtb's?

Thanks in advance,

Les
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by BBauer »

I wanted to give your bases a try, but I couldn't find tbgen.
How do I generate the bases?
Kind regards
Bernhard
Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by Sven »

BBauer wrote:I wanted to give your bases a try, but I couldn't find tbgen.
How do I generate the bases?
Kind regards
Bernhard
Check this link. "tbgen" is a built-in command of the Gaviota engine, like "tbtest" but despite "tbcheck.exe".

If you have a decent download link available then this option may be a lot faster than generating on your own, though. It took me about 1.5 hrs to get all ~6.5GB.

Sven
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by BBauer »

Thank you!
I checked the link you gave before askink here, but I didn't realized that tbgen is a built in command to gaviota.
Frankly spoken, I do not know how to download all the files with 1 click.

kind regards
Benhard
Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by Sven »

BBauer wrote:Frankly spoken, I do not know how to download all the files with 1 click.
I do not know either. I clicked 145 times :-) since I was unable to connect via ftp due to firewall issues.

Maybe Miguel wants to package the files into some larger portions, e.g. 20 files, each with ~325MB on average?

Sven
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by BBauer »

And I thought I am the only fool. :D
But now I have created the 4-piece bases and I get files named gtbkbbk.gtb and so on. But those files are not recognized by gaviota. What have I to do to come further?
kind regards
Bernhard
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by michiguel »

BBauer wrote:And I thought I am the only fool. :D
But now I have created the 4-piece bases and I get files named gtbkbbk.gtb and so on. But those files are not recognized by gaviota. What have I to do to come further?
kind regards
Bernhard
in the gaviota.ini.txt file, use in the name of folder, for instance "gtb/" or "gtb" rather than "gtb". I fixed this already a while ago but now I wonder whether the fix was in the last released version. Time for me to release an update...

Miguel
Last edited by michiguel on Thu Apr 22, 2010 3:26 pm, edited 1 time in total.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota tablebases probing code (v0.2.2) small update

Post by michiguel »

vb4 wrote:Hi Miguel,

I was just wondering what your plans are for developing your egtb generator so it will be able to generate the 5-1 egtb's?

Thanks in advance,

Les
It is in my roadmap. I think I read here that Peter Skinner modified the Nalimov code to generate those. You may want to contact him.

Miguel