chess22k 1.12 released

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

Moderators: hgm, Rebel, chrisw

sandermvdb
Posts: 160
Joined: Sat Jan 28, 2017 1:29 pm
Location: The Netherlands

chess22k 1.12 released

Post by sandermvdb »

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: 41419
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: chess22k 1.12 released

Post by Graham Banks »

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)?
gbanksnz at gmail.com
Gabor Szots
Posts: 1362
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: chess22k 1.12 released

Post by Gabor Szots »

That's a huge jump. Can't wait to test it.
Gabor Szots
CCRL testing group
sandermvdb
Posts: 160
Joined: Sat Jan 28, 2017 1:29 pm
Location: The Netherlands

Re: chess22k 1.12 released

Post by sandermvdb »

Graham Banks wrote: Mon Dec 03, 2018 9: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: 41419
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: chess22k 1.12 released

Post by Graham Banks »

sandermvdb wrote: Mon Dec 03, 2018 10:11 pm
Graham Banks wrote: Mon Dec 03, 2018 9: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.
gbanksnz at gmail.com
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: chess22k 1.12 released

Post by Werner »

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: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: chess22k 1.12 released

Post by Werner »

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: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: chess22k 1.12 released

Post by Werner »

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: 41419
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: chess22k 1.12 released

Post by Graham Banks »

Graham Banks wrote: Mon Dec 03, 2018 10:21 pm
sandermvdb wrote: Mon Dec 03, 2018 10:11 pm
Graham Banks wrote: Mon Dec 03, 2018 9: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?
gbanksnz at gmail.com
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: chess22k 1.12 released

Post by Werner »

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