Author: Tom Likens
Date: 20:35:28 01/09/02
Go up one level in this thread
This might be of some interest in case it bites anyone else. I figured out why the compressed Nalimov routines were not working for me- apparently I've been too aggressive in trying to get the most performance out of gcc. I've been using gcc 3.0.2 to compile my program instead of the system default which was 2.95.2. And yep, you guessed it the Nalimov routines don't seem to compiled correctly under the lastest gcc 3.0.2 using the -O3 optimization setting. I haven't determined if the lower settings would work or not. Thankfully, the uncompressed routines worked OK or this would have been a bear to figure out. It just proves the wisdom of the old adage, to compile any new code without the optimizer turned on. --Tom > >Hello, > >After a hiatus, I've dusted off my old chess program and started working >on it. One of the first things I'm adding is support for Eugene Nalimov's >tablebases but I've run into a minor snag. Everything works great as >long as I only try to read the uncompressed tablebases, but when it >tries to access a compressed tablebase I get the following message: > >*** Unable to read /wrk2/egtb/TB/kbnk.nbw.emd - file broken > >I'm using the routines off of Robert Hyatt's ftp site which have compressed >support. The code seems to indicate that it will simply recognize either >a compressed file or an uncompressed file, but no such luck so far. >I feel this must have a trivial solution (such as not initializing a >variable or some such) but I'm missing it. > >Anyway, thanks in advance. Special kudos go to Mr. Nalimov, for the >obvious hard work. It amazes me at the quality of work that people are >simply willing to give away. > >regards, > >--Tom Likens
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.