My "official" request to top engine programmers

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

carldaman
Posts: 2284
Joined: Sat Jun 02, 2012 2:13 am

Re: My "official" request to top engine programmer

Post by carldaman »

peter wrote:Are we both talking about this one from Jeremy Bernstein?

http://www.open-chess.org/viewtopic.php?f=7&t=2663

The download-link given in that posting even works still
That was the one. Eventually Jeremy got tired of updating it to the latest SF version.
carldaman
Posts: 2284
Joined: Sat Jun 02, 2012 2:13 am

Re: My "official" request to top engine programmer

Post by carldaman »

cdani wrote:
Rodolfo Leoni wrote:
cdani wrote: Done here!
http://www.andscacs.com/downloads/andscacs091142.zip
(Windows version)
Can someone test it and see if it behaves better in analysis mode? I will try it also.
Thanks
Daniel, you are a great man!!!!

I always thought it, as ours peoples are a bit related. I live near Alghero, in Sardinia island, and it was a Catalan town. Its old name was "Alguier".

:) :) :)
:-)

I have done also a version of the current Stockfish (only Windows x64 popcnt) that have this change:

www.andscacs.com/downloads/stockfish_x6 ... alysis.zip

In the zip file there are two versions:
stockfish_x64_modern_170708_analysis.exe
stockfish_x64_modern_170708.exe

The second is normal Stockfish so one can compare.

The change is:

Code: Select all

if (!Limits.infinite)
	TT.new_search();
I suppose that this is correct. Anyway just tell me.
Thanks a lot, Daniel -- if there's a will... :)
peter
Posts: 3391
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: My "official" request to top engine programmer

Post by peter »

carldaman wrote:
peter wrote:Are we both talking about this one from Jeremy Bernstein?

http://www.open-chess.org/viewtopic.php?f=7&t=2663

The download-link given in that posting even works still
That was the one. Eventually Jeremy got tired of updating it to the latest SF version.
That's it, Carl.
http://www.open-chess.org/viewtopic.php ... =20#p22702
What a pity
Peter.
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: My "official" request to top engine programmer

Post by Rodolfo Leoni »

peter wrote:Are we both talking about this one from Jeremy Bernstein?

http://www.open-chess.org/viewtopic.php?f=7&t=2663

The download-link given in that posting even works still
It works similar to Critter sf but with more additional features, as fhe import epd, the hash merge, the hash prune. Search is faster if opponent plays the ponder move, even with ponder off. That's due to forward propagation, I guess.

To implement all of these features means a lot of work. I'm happy with the new Andscacs feature, for now, and I wait for the load/save hashes in Andscacs and "AndFish".

:)
F.S.I. Chess Teacher
peter
Posts: 3391
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: My "official" request to top engine programmer

Post by peter »

Hi Rodolfo!
Rodolfo Leoni wrote:To implement all of these features means a lot of work. I'm happy with the new Andscacs feature,
Of course, as a fastidious user one always tends to be unhumble.
Yet I already did say thanks a lot to Daniel too
Peter.
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: My "official" request to top engine programmer

Post by Rodolfo Leoni »

peter wrote:Hi Rodolfo!
Rodolfo Leoni wrote:To implement all of these features means a lot of work. I'm happy with the new Andscacs feature,
Of course, as a fastidious user one always tends to be unhumble.
Yet I already did say thanks a lot to Daniel too
Hi Peter!

Nice to meet you again. :)
I think there's a lot of potential in Andscacs and the best thing to do is to let Daniel working on it. If it's a little effort as to make hashes persistent in infinite analysis or to introduce a load and save command button than we can expect he'll do it, but when things become more complicated it'd be unfair to ask Daniel or anybody else to let his developement work apart. At least, for now. :)
F.S.I. Chess Teacher
BeyondCritics
Posts: 410
Joined: Sat May 05, 2012 2:48 pm
Full name: Oliver Roese

Re: My "official" request to top engine programmer

Post by BeyondCritics »

cdani wrote:
The change is:

Code: Select all

if (!Limits.infinite)
	TT.new_search();
I suppose that this is correct. Anyway just tell me.
Great!
A change must not be big, to be useful.

I tested it and found out, that the amount of "hash_full" is now constantly calculated as 100%. The problem seems to be, that now empty entries are confounded with loaded entries.
My proposal to fix is in branch analysis of my fork of stockfish:
https://github.com/official-stockfish/S ... s:analysis
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: My "official" request to top engine programmer

Post by cdani »

Rodolfo Leoni wrote:If it's a little effort as to make hashes persistent in infinite analysis or to introduce a load and save command button than we can expect he'll do it, but when things become more complicated it'd be unfair to ask Daniel or anybody else to let his developement work apart. At least, for now. :)
:-)

I added to Andscacs the capability of saving the full hash to file, to allow the user to recover a previous analysis session and continue it.
The saved hash file will be of the same size of the hash memory, so if you defined 4 GB of hash, such will be the file size. Saving and loading such big files can take some time.

To be able to do it I have added 4 new uci parameters:

option name NeverClearHash type check default false
option name HashFile type string default hash.hsh
option name SaveHashtoFile type button
option name LoadHashfromFile type button

You can set the NeverClearHash option to avoid that the hash could be cleared by a Clear Hash or ucinewgame command.

The HashFile parameter is the full file name with path information. If you don't set the path, it will be saved in the current folder. It defaults to hash.hsh.

To save the hash, stop the analysis and press the SaveHashtoFile button in the uci options screen of the GUI.

To load the hash file, load the game you are interested in, load the engine withouth starting it, and press the LoadHashfromFile button in the uci options screen of the GUI. Now you can start the analysis.

(windows 64 popcnt)
www.andscacs.com/downloads/andscacs091148.zip

I have tested it a few times. If anything strange happens let me know.
I hope is useful to analyzers!
Rodolfo Leoni
Posts: 545
Joined: Tue Jun 06, 2017 4:49 pm
Location: Italy

Re: My "official" request to top engine programmer

Post by Rodolfo Leoni »

cdani wrote:
Rodolfo Leoni wrote:If it's a little effort as to make hashes persistent in infinite analysis or to introduce a load and save command button than we can expect he'll do it, but when things become more complicated it'd be unfair to ask Daniel or anybody else to let his developement work apart. At least, for now. :)
:-)

I added to Andscacs the capability of saving the full hash to file, to allow the user to recover a previous analysis session and continue it.
The saved hash file will be of the same size of the hash memory, so if you defined 4 GB of hash, such will be the file size. Saving and loading such big files can take some time.

To be able to do it I have added 4 new uci parameters:

option name NeverClearHash type check default false
option name HashFile type string default hash.hsh
option name SaveHashtoFile type button
option name LoadHashfromFile type button

You can set the NeverClearHash option to avoid that the hash could be cleared by a Clear Hash or ucinewgame command.

The HashFile parameter is the full file name with path information. If you don't set the path, it will be saved in the current folder. It defaults to hash.hsh.

To save the hash, stop the analysis and press the SaveHashtoFile button in the uci options screen of the GUI.

To load the hash file, load the game you are interested in, load the engine withouth starting it, and press the LoadHashfromFile button in the uci options screen of the GUI. Now you can start the analysis.

(windows 64 popcnt)
www.andscacs.com/downloads/andscacs091148.zip

I have tested it a few times. If anything strange happens let me know.
I hope is useful to analyzers!
Great !!!
Yes, it'll be very usefuk. :)
I'll test it tomorrow. Thanks again.
F.S.I. Chess Teacher
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: My "official" request to top engine programmer

Post by duncan »

peter wrote:Are we both talking about this one from Jeremy Bernstein?

http://www.open-chess.org/viewtopic.php?f=7&t=2663

The download-link given in that posting even works still
I tried this. hash is only 4 meg. do you know how does one change that?