Arasan 13.1

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

Moderators: hgm, Rebel, chrisw

jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Arasan 13.1

Post by jdart »

Arasan 13.1 is available from http://www.arasanchess.org.

This version fixes a couple of bugs reported by Steven Atkinson, plus a few other things.

Changes in Arasan 13.1:

1) KPK bitbases are now internal to the program, not stored in files.
2) Minor change to checks in qsearch conditions.
3) Fix bug in see pruning affecting stalemate detection.
4) Fix bug where UCI PV output was omitted in case search terminated
very rapidly (for example, in cases of a forced mate).
5) Handle DOS-style CR/LF from chess interfaces such as SCID.
6) Some book additions/fixes.

For some more details on fix #3 see
http://arasanchess.org/blog.shtml.

In testing with SCID I found it sends both CR + LF after a command, which confused the engine. This is fixed now.

I don't expect this version is very different in strength from 13.0, just less buggy.
stevenaaus
Posts: 608
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: Arasan 13.1

Post by stevenaaus »

Cheers. The serious issue about not forcing mate seems fixed - I ran 15 games or so without a problem, and also tested the previously reported game.

Still has some PV issue with "go infinite" though i fink.

position fen 8/2p5/2P2k2/5P1p/3p3P/5qp1/8/6K1 b - - 0 71
go
info nodes 101 hashfull 0
info score mate 2 lowerbound
info currmove f3f2 currmovenumber 1 nodes 105 hashfull 0
info depth 2 score mate 2 time 0 nodes 105 hashfull 0 pv f3f2
bestmove f3f2

position fen 8/2p5/2P2k2/5P1p/3p3P/5qp1/8/6K1 b - - 0 71
go infinite
info score mate 2 lowerbound
info currmove f3f2 currmovenumber 1 nodes 2100 hashfull 0
[nothing]
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Arasan 13.1

Post by jdart »

Ok, I will look at that but IMO it is not as urgent as the stalemate issue.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Arasan 13.1

Post by Jim Ablett »

Hi Jon,

I've compiled an executable of Arasan 13.1 for Android devices, so now it can be used with Aart Bik's great 'Chess for Android' gui.
Tested working ok on my own Android tablet.

http://dl.dropbox.com/u/5047625/arasan- ... oid-ja.zip

It compiles with no source changes needed using the Codesourcery Toolchain for Windows - Sourcery G++ Lite 2011.03-41 for ARM GNULinux.

This is my command line for statically linked binary >

Code: Select all

arm-none-linux-gnueabi-g++.exe -o arasanx arasanx.cpp globals.cpp board.cpp boardio.cpp material.cpp chess.cpp attacks.cpp bitboard.cpp chessio.cpp epdrec.cpp bhash.cpp scoring.cpp see.cpp movearr.cpp notation.cpp options.cpp bitprobe.cpp book.cpp bookread.cpp bookentr.cpp bookutll.cpp log.cpp search.cpp searchc.cpp learn.cpp movegen.cpp hash.cpp calctime.cpp eco.cpp ecodata.cpp legal.cpp stats.cpp tbprobe.cpp threadp.cpp -DSMP -fomit-frame-pointer -fstrict-aliasing -march=armv5te -O3 -pipe -funroll-all-loops -funsafe-math-optimizations -finline-functions -fno-rtti -fno-enforce-eh-specs -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -ffast-math -static -static-libgcc -s -lc -lm -ldl 

regards,
Jim
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Arasan 13.1

Post by jdart »

Interesting. I'm glad it's working. I have thought about doing a port to Android but haven't got around it myself.

--Jon
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Arasan 13.1

Post by jdart »

You might try using -DUSE_INTRINSICS. This will use Gnu builtins for bit operations.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Arasan 13.1

Post by Jim Ablett »

jdart wrote:You might try using -DUSE_INTRINSICS. This will use Gnu builtins for bit operations.
It compiles ok, but unfortunately doesn't run when compiled with -DUSE_INTRINSICS

Jim.
User avatar
abik
Posts: 819
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Arasan 13.1

Post by abik »

Jim Ablett wrote:I've compiled an executable of Arasan 13.1 for Android devices, so now it can be used with Aart Bik's great 'Chess for Android' gui.
Tested working ok on my own Android tablet.
Just as a follow-up on this older thread, Jim Ablett kindly compiled Jon Dart's Arasan engine for ARM-based Android devices so that it can be imported in Chess for Android. The engine supports multithreading, Nalimov endgame tablebases, and clocked at about 100Kns out of the opening on my Nexus S.
Some screenshots available at my blog.
User avatar
Jim Ablett
Posts: 1383
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Arasan 13.1

Post by Jim Ablett »

abik wrote:
Jim Ablett wrote:I've compiled an executable of Arasan 13.1 for Android devices, so now it can be used with Aart Bik's great 'Chess for Android' gui.
Tested working ok on my own Android tablet.
Just as a follow-up on this older thread, Jim Ablett kindly compiled Jon Dart's Arasan engine for ARM-based Android devices so that it can be imported in Chess for Android. The engine supports multithreading, Nalimov endgame tablebases, and clocked at about 100Kns out of the opening on my Nexus S.
Some screenshots available at my blog.
Here is the Android binary >

http://dl.dropbox.com/u/5047625/arasan- ... oid-ja.zip
Mirror:
http://cl.ly/CcCT/arasan-134-android-ja.zip

Jim.