Arasan 11.0

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.
jdart
Posts: 3503
Joined: Fri Mar 10, 2006 4:23 am
Location: http://www.arasanchess.org

Arasan 11.0

Post by jdart » Fri Nov 28, 2008 9:26 pm

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

Changes in Arasan 11.0:
1) Re-work to use "magic" bitboard logic instead of rotated bitboards. About
20-25% speedup from this.
2) Eval re-written to use bitboard attack functions for king saftey, mobility.
3) Some changes and fixes to search (especially LMR).
4) Check extensions are done at ply=0 now.
5) Substantial code cleanup, more consistent variable/function naming,
remove obsolete or redundant code.
6) g++ 3.2 and earlier are no longer supported.
7) Various scoring changes, including fixes to outside passed pawn scoring.
8) Remove unsafe optimization for q-search when in check.
9) Remove lock on main hash table - speeds up multi-threaded searches (thanks
to Bob Hyatt).
10) New position learning system - keeps learn data in a text file vs a
book file. Learn data is loaded into the main hash table (simpler and
avoids locking). Fixes to position learn code.
11) Fixes for loss on time with very short time controls.

This version is also much more stable than 10.4 when run with multiple threads.

Note that the book format has changed, and also the format of the data files (bitbases for KPK). This shouldn't normally be a problem since everything is packaged together (in the zipfile or installer) but don't try to use books from previous versions.

PauloSoare
Posts: 1335
Joined: Thu Mar 09, 2006 4:30 am
Location: Cabo Frio, Brasil

Re: Arasan 11.0

Post by PauloSoare » Fri Nov 28, 2008 9:34 pm

Thanks, Jon, I made the download now, I will try Arasan 11.0.

Paulo Soares

User avatar
Dr.Wael Deeb
Posts: 9635
Joined: Wed Mar 08, 2006 7:44 pm
Location: Amman,Jordan

Re: Arasan 11.0

Post by Dr.Wael Deeb » Fri Nov 28, 2008 9:38 pm

Thanks Jon for your dedicated work and this updated version of Arasan :D
Will be tested regards,
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….

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

Re: Arasan 11.0

Post by Graham Banks » Fri Nov 28, 2008 9:42 pm

Thanks Jon.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

glorfindel

Re: Error occurred: 404 - not found

Post by glorfindel » Fri Nov 28, 2008 9:43 pm

I go to Downloads -> Linux release (tarball) and I get: Error occurred: 404 - not found

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

Re: Error occurred: 404 - not found

Post by jdart » Fri Nov 28, 2008 10:17 pm

Try again - it should be there now.

--Jon

glorfindel

Re: Error occurred: 404 - not found

Post by glorfindel » Fri Nov 28, 2008 11:37 pm

Thx.

I get a compile error

Code: Select all

christos ~/chess/engines/Arasan/src $  make
mkdir -p ../build
mkdir -p ../export
mkdir -p ../profile
cp ../data/*.bit ../profile
mkdir -p ../prof_data
g++ -O2 -fno-rtti -fno-enforce-eh-specs -finline-functions    -Wall -march=k8 -msse2    -c -o ../build/chessio.o chessio.cpp
chessio.cpp&#58; In static member function 'static int ChessIO&#58;&#58;store_pgn&#40;std&#58;&#58;ostream&, MoveArray&, const std&#58;&#58;string&, ArasanVector<StringPair>&)'&#58;
chessio.cpp&#58;275&#58; error&#58; 'strlen' was not declared in this scope
chessio.cpp&#58;277&#58; error&#58; 'strlen' was not declared in this scope
chessio.cpp&#58;286&#58; error&#58; 'strcat' was not declared in this scope
chessio.cpp&#58;287&#58; error&#58; 'strcat' was not declared in this scope
chessio.cpp&#58;297&#58; error&#58; 'strcat' was not declared in this scope
chessio.cpp&#58; In static member function 'static void ChessIO&#58;&#58;collect_headers&#40;std&#58;&#58;istream&, ArasanVector<StringPair>&, long int&)'&#58;
chessio.cpp&#58;417&#58; error&#58; 'strcmp' was not declared in this scope
chessio.cpp&#58;423&#58; error&#58; 'strcpy' was not declared in this scope
make&#58; *** &#91;../build/chessio.o&#93; Error 1

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

Re: Error occurred: 404 - not found

Post by jdart » Fri Nov 28, 2008 11:52 pm

What is your g++ version?

--Jon

glorfindel

Re: Error occurred: 404 - not found

Post by glorfindel » Sat Nov 29, 2008 12:25 am

gcc (Gentoo 4.3.2 p1.1) 4.3.2
Does this have to do with the compiler?

If I add #include "string.h" in chessio.cpp it compiles, but then I get

Code: Select all

g++ -O2 -fno-rtti -fno-enforce-eh-specs -finline-functions    -Wall -march=k8 -msse2 -DSMP   -c -o ../build/scoring.o scoring.cpp
scoring.cpp&#58; In constructor 'Scoring&#58;&#58;Scoring&#40;)'&#58;
scoring.cpp&#58;466&#58; error&#58; 'memset' was not declared in this scope
scoring.cpp&#58; In member function 'int Scoring&#58;&#58;calcPawnData&#40;const Board&, ColorType, Scoring&#58;&#58;PawnHashEntry&#58;&#58;PawnData&)'&#58;
scoring.cpp&#58;1176&#58; error&#58; 'memset' was not declared in this scope
scoring.cpp&#58; In member function 'void Scoring&#58;&#58;clearHashTables&#40;)'&#58;
scoring.cpp&#58;2303&#58; error&#58; 'memset' was not declared in this scope
make&#58; *** &#91;../build/scoring.o&#93; Error 1

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

Re: compile error

Post by jdart » Sat Nov 29, 2008 12:48 am

That's weird, since I also have 4.3.2 (on Ubuntu) and it compiled for me, no errors. Looks like a glibc header issue.

You can try adding to the top of scoring.cpp the lines:

extern "C" {
#include <string.h>
}

--Jon

Post Reply