chess22k 1.12 released

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
sandermvdb
Posts: 151
Joined: Sat Jan 28, 2017 12:29 pm
Location: The Netherlands

chess22k 1.12 released

Post by sandermvdb » Mon Dec 03, 2018 4:40 pm

I've just released chess22k 1.12 which participated this weekend in the CSVN tournament. Score is around 3100 elo.
The binaries are build using Java 11.

https://github.com/sandermvdb/chess22k/ ... s/tag/1.12

User avatar
Graham Banks
Posts: 31496
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: chess22k 1.12 released

Post by Graham Banks » Mon Dec 03, 2018 8:37 pm

Thanks Sander.

How does one make it use 4 cores or 8 cores?

Would providing bat files for each make it easier for the user (as with the latest Pirarucu)?
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

Gabor Szots
Posts: 116
Joined: Sat Jul 21, 2018 5:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: chess22k 1.12 released

Post by Gabor Szots » Mon Dec 03, 2018 8:57 pm

That's a huge jump. Can't wait to test it.
Gabor Szots
CCRL testing group

sandermvdb
Posts: 151
Joined: Sat Jan 28, 2017 12:29 pm
Location: The Netherlands

Re: chess22k 1.12 released

Post by sandermvdb » Mon Dec 03, 2018 9:11 pm

Graham Banks wrote:
Mon Dec 03, 2018 8:37 pm
How does one make it use 4 cores or 8 cores?

Would providing bat files for each make it easier for the user (as with the latest Pirarucu)?
Using multiple cores can easily be set by using the UCI threads command. Or do you really need that it can be set using a .bat file?
But as is mentioned in the release notes, this version does not scale very good when using multiple cores. Work in progress...

User avatar
Graham Banks
Posts: 31496
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: chess22k 1.12 released

Post by Graham Banks » Mon Dec 03, 2018 9:21 pm

sandermvdb wrote:
Mon Dec 03, 2018 9:11 pm
Graham Banks wrote:
Mon Dec 03, 2018 8:37 pm
How does one make it use 4 cores or 8 cores?

Would providing bat files for each make it easier for the user (as with the latest Pirarucu)?
Using multiple cores can easily be set by using the UCI threads command. Or do you really need that it can be set using a .bat file?
But as is mentioned in the release notes, this version does not scale very good when using multiple cores. Work in progress...
Yes, you're right.
I'll see whether I can include it in my next 8CPU Swiss.
I seem to recall issues when I tried previously, but could be wrong.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
Werner
Posts: 2288
Joined: Wed Mar 08, 2006 9:09 pm

Re: chess22k 1.12 released

Post by Werner » Wed Dec 05, 2018 5:41 pm

I have jre-10.0.2 on my pc and your engine Needs a newer version. I could not find a download link for jre-11.
Werner

User avatar
Werner
Posts: 2288
Joined: Wed Mar 08, 2006 9:09 pm

Re: chess22k 1.12 released

Post by Werner » Wed Dec 05, 2018 6:21 pm

with an early jre 11 I get following Errors:


C:\Users\Agando\Arena\Engines\chess22k-master\1.12>java -Xmx1024M -jar chess22k-1.12.jar uci
Exception in thread "chess22k-search" Exception in thread "chess22k-max-timer" java.lang.IllegalAccessError: tried to ac
cess field nl.s22k.chess.engine.MainEngine.cb from class nl.s22k.chess.engine.MainEngine$1
at nl.s22k.chess.engine.MainEngine$1.run(MainEngine.java:63)
java.lang.IllegalAccessError: tried to access field nl.s22k.chess.engine.MainEngine.synchronizedObject from class nl.s22
k.chess.engine.MainEngine$2
at nl.s22k.chess.engine.MainEngine$2.run(MainEngine.java:79)
Exception in thread "chess22k-info" java.lang.IllegalAccessError: tried to access field nl.s22k.chess.engine.MainEngine.
calculating from class nl.s22k.chess.engine.MainEngine$3
at nl.s22k.chess.engine.MainEngine$3.run(MainEngine.java:110)
Werner

User avatar
Werner
Posts: 2288
Joined: Wed Mar 08, 2006 9:09 pm

Re: chess22k 1.12 released

Post by Werner » Wed Dec 05, 2018 10:28 pm

Found a solution for me:
the engine works using openjdk-11.0.1_windows-x64_bin.zip. I copied the files in the chess22k folder and used the new java.exe.
Werner

User avatar
Graham Banks
Posts: 31496
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: chess22k 1.12 released

Post by Graham Banks » Thu Dec 06, 2018 4:01 am

Graham Banks wrote:
Mon Dec 03, 2018 9:21 pm
sandermvdb wrote:
Mon Dec 03, 2018 9:11 pm
Graham Banks wrote:
Mon Dec 03, 2018 8:37 pm
How does one make it use 4 cores or 8 cores?

Would providing bat files for each make it easier for the user (as with the latest Pirarucu)?
Using multiple cores can easily be set by using the UCI threads command. Or do you really need that it can be set using a .bat file?
But as is mentioned in the release notes, this version does not scale very good when using multiple cores. Work in progress...
Yes, you're right.
I'll see whether I can include it in my next 8CPU Swiss.
I seem to recall issues when I tried previously, but could be wrong.
I get a JNI error message when I try to run chess22k 1.12 on my octal.
Any suggestions?
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
Werner
Posts: 2288
Joined: Wed Mar 08, 2006 9:09 pm

Re: chess22k 1.12 released

Post by Werner » Thu Dec 06, 2018 8:05 am

Hi Graham,
which Version of Java do you use?
As I wrote here: you need to use Java 11 for this engine.
Werner

Post Reply