Prophet 5.1 and hashtables ...

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

Moderator: Ras

Frank Quisinsky
Posts: 7105
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Prophet 5.1 and hashtables ...

Post by Frank Quisinsky »

Hi there,

Prophet v5.1 = xboard
Chess4j v6.2 = JAVA

OK ...

on Prophet github I can read to v4.2 ...
- Pawn hash table

So I am thinking phash _and_ hash for Prophet is possible.

In Prophet readme no information to the topic: Hash
I found a bit on Chess4j readme.
The second engine by James Swafford.

-hash 256 - phash 128

Shredder 12 GUI crashed if I like to set -hash256 with wb2uci command line like
Prophet_51-xb.exe -n nn-32-q.txt -hash 256

It seems that around 64Mb for hash is "Standard" and I can't change to higher as 64Mb "Standard".

As reason for this one in the readme for Chess4j:

Code: Select all

## Memory Usage

chess4j currently employs two transposition tables.  One is used in the main search and one in the pawn evaluation.  The default sizes are 64 mb and 8 mb respectively.
 
You can specify the maximum memory allocated to each table via command line parameters: 

```
-hash 256 -phash 128
Can be a hint because the word "Currently".
Programmer means, works for Chess4j 6.2 and not for Prophet 5.1?

Maybe a mistake by myself?

Now to Chess4j:
Chess4j 6.2 seems also a bit tricky.
First JAVA engine I can't start with Shredder 12 GUI and JAVA 25.0.1
I think the programmer is working with an older JAVA version.
With the current JAVA version the "Native" mode is a problem ...

Not working is:
Parameter=--add-modules jdk.incubator.vector -Xmx1024M -jar c:\Chess\Shredder_12\Engines\Chess4j\Chess4j_62.jar -nn nn-32-q.txt

Not working is:
Parameter=--enable-native-access=ALL-UNNAMED -jar c:\Chess\Shredder_12\Engines\Chess4j\Chess4j_62.jar -nn nn-32-q.txt

With or without
-nn nn-32-q.txt ... not working

Shredder 12 GUI, *.eng file:

Code: Select all

[ENGINE]
Name=Chess4j 6.2 JAVA
Author=James Swafford
Filename=c:\Program Files\Java\jdk-25\bin\java.exe
Parameter=--add-modules jdk.incubator.vector -Xmx1024M -jar c:\Chess\Shredder_12\Engines\Chess4j\Chess4j_62.jar  -nn nn-32-q.txt
The question is:
What can be the right parameters for Chess4j?

Best
Frank

If James read that ...
Hope you have time for me?
Thanks in advanced!!
The programmer of Tristram ... that was one of the engines for my first Winboard tourneys, 28 years ago.
With The Crazy Bishop, SSEChess, Crafty, Zarkov I believe. Nice to read that James is currently working on engines!!
Frank Quisinsky
Posts: 7105
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: Prophet 5.1 and hashtables ...

Post by Frank Quisinsky »

Ah, I forget ...
To the hash problem with Prophet
Windows 11, i9 10th gen.

Here the wb2uci file:

Code: Select all

[ENGINE]
Name               = Prophet 5.1 xb
Author             = James Swafford
Filename           = WB2uci.exe

[OPTIONS]
Program            = Prophet_51-xb.exe -n nn-32-q.txt
;InitString        =
Ponder             = false
;Logfile           = true
;HashOnCommandline = false
Protocol           = 2
InitTime           = 5
LevelExtend        = none
Analyze            = true
;ShowThinkingMove  = true
UseUndo            = false
;WhiteScore        = true
TerminateHard      = true

Visible            = Extras,Logfile,Protocol,InitTime,ShowThinkingMove,LevelExtend

[EXTRAS]
Clear Hash         = clrhash|button
With
HashOnCommandline = true ... no success
with InitString parameters to hash ... no success
I try x possible combination to set -hash 256
Unclear is also the "Protocol" ... v1 or v2