Arasan 16.2

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 16.2

Post by jdart » Fri Oct 25, 2013 3:33 am

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

Changes in Arasan 16.2:
1) Fix adjacent passed pawn code so bonus for this is independent of
the connected passer bonus. Adjust various passed pawn related
scoring params.
2) Add engine console command for perft.
3) Adjust scores for Rook on 7th and make dependent on game phase.
4) Fixes to weak pawn scoring and outpost code.
5) Simplify and fix SEE function. Use variant version with quick exit
when only need to know if score is above or below a threshold.
6) Improvements to move ordering for check evasions.
7) Fix bad bug in lazy eval code of scoring module.
8) Bug fix: don't set the retrieved hash entry type to Invalid in
cases where the score is in bounds but moves have been pruned.
9) Bug fix: remove redundant increment of parentNode->num_try in searchSMP.
10) Further clean up & optimize pinned piece detection.
11) Static null margins & futility margins adjusted.
12) Fix KBPK draw detection.
13) Makefile support added for a popcnt-enabled 64-bit Windows build.

There are also updates to the opening book.

The engine .zip file now includes a popcnt-enabled build for Windows (for Intel Sandy Bridge or later). This also requires Windows Vista or later for the OS. There is still a non-popcnt build (arasanx-64.exe) that should run on older hardware and OSs.

I expect this version to be significantly stronger than 16.1 and the 15.x series.

--Jon

User avatar
gleperlier
Posts: 1033
Joined: Sat Feb 04, 2012 9:03 pm

Re: Arasan 16.2

Post by gleperlier » Fri Oct 25, 2013 9:35 am

Thanks Jon !

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

Re: Arasan 16.2

Post by Graham Banks » Fri Oct 25, 2013 6:08 pm

jdart wrote:....I expect this version to be significantly stronger than 16.1 and the 15.x series.

--Jon
Fingers crossed! :)
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

enhorning
Posts: 342
Joined: Wed Jan 05, 2011 9:05 pm

Re: Arasan 16.2

Post by enhorning » Fri Oct 25, 2013 10:56 pm

jdart wrote:The engine .zip file now includes a popcnt-enabled build for Windows (for Intel Sandy Bridge or later).
Is this some particular popcnt? My cpu (i7-970, so older than Sandy Bridge) can run other popcount compiled engine version, but not this one. I am curious what the difference is.

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

Re: Arasan 16.2

Post by jdart » Fri Oct 25, 2013 11:31 pm

Hmm. Should be ok. It was compiled with Visual Studio 11 with /ARCH:AVX. I tested it on an i5-2500k system with Windows 7.

--Jon

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

Re: Arasan 16.2

Post by Werner » Sat Oct 26, 2013 7:52 am

Hi John,
I remember - I have had this before:
it is the AVX instruction - so this engine only runs on my I7 3770K and not on my I7 920

thanks for the engine

Werner

Modern Times
Posts: 2141
Joined: Thu Jun 07, 2012 9:02 pm

Re: Arasan 16.2

Post by Modern Times » Sat Oct 26, 2013 7:58 am

For info, I just checked, the popcnt exe doesn't work on AMD X6 either.

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

Re: Arasan 16.2

Post by Werner » Sat Oct 26, 2013 8:22 am

Werner wrote:Hi John,
I remember - I have had this before:
it is the AVX instruction - so this engine only runs on my I7 3770K and not on my I7 920

thanks for the engine

Werner
... the speed difference is not so much:
e.g.
2:03 for avx
2:06 for normal 64bit
(2-3 %) ?
.. but found one positon with a bit different Evaluations:

4k2r/1Q1nq1pp/5n2/5R2/4P3/8/PPr3PP/R1B3K1 w k -

CPU0: GenuineIntel Intel64 Family 6 Model 58 Stepping 9 3503 MHz
CPU1: GenuineIntel Intel64 Family 6 Model 58 Stepping 9 3503 MHz
CPU2: GenuineIntel Intel64 Family 6 Model 58 Stepping 9 3503 MHz
CPU3: GenuineIntel Intel64 Family 6 Model 58 Stepping 9 3503 MHz
GUI: Tablebases mit max. 0 Steinen gefunden! [Cache: 32 MB + intern 0.00 MB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tc4 4.b3 Td4 5.Tf2 h6 6.Le3 Td6 7.Lxh6 Tdxh6 8.Txe4+ Kd8 9.g3 Sc5 10.Td2+ Kc8 (28.582.577) 1766
 18.42	 0:19 	-0.10 	1.Lg5 Dxe4 2.Dxe4+ Sxe4 3.Te1 Tc4 4.b3 Td4 5.Tf2 h6 6.Le3 Td6 7.Lxh6 Tdxh6 8.Txe4+ Kd8 9.g3 Td6 10.a4 Sf6 (34.087.831) 1772
 19.42	 0:26 	-0.10 	1.Lg5 Dxe4 2.Dxe4+ Sxe4 3.Te1 Tc4 4.b3 Td4 5.Tf2 h6 6.Le3 Td6 7.Lxh6 Thxh6 8.Txe4+ Kd8 9.Te1 Td3 10.Tf7 Ta6 11.Te2 (47.923.610) 1780
 20.42	 1:21 	-0.28--	1.Lg5 Dxe4 2.Dxe4+ Sxe4 3.Te1 Tc4 4.b3 Td4 5.Tf2 h6 6.Le3 Td6 7.Lxh6 Thxh6 8.Txe4+ Kd8 9.Te1 Td3 10.Tf7 Ta6 11.Te2 (146.182.731) 1803
 20.01	 1:26 	-0.67--	1.Lg5 Dxe4 2.Dxe4+ Sxe4 3.Te1 Tc4 4.b3 Td4 5.Tf2 h6 6.Le3 Td6 7.Lxh6 Thxh6 8.Txe4+ Kd8 9.Te1 Td3 10.Tf7 Ta6 11.Te2 (156.693.038) 1802
 20.01	 1:26 	-0.67--	1.Lg5 Dxe4 2.Dxe4+ Sxe4 3.Te1 Tc4 4.b3 Td4 5.Tf2 h6 6.Le3 Td6 7.Lxh6 Thxh6 8.Txe4+ Kd8 9.Te1 Td3 10.Tf7 Ta6 11.Te2 (156.693.038) 1802
Bester Zug: Lc1-g5 Zeit: 1:26.939 min  K/s: 1.802.975  Knoten: 156.693.038 

I will try if this is by coincidence
Werner

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

Re: Arasan 16.2

Post by jdart » Sat Oct 26, 2013 1:27 pm

Interesting: I am also seeing slightly different node counts after depth 16 in this position. Probably a bug, but it is a rare one if it takes 20 million nodes or more to show up.

--Jon

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

Re: Arasan 16.2

Post by jdart » Sat Oct 26, 2013 2:53 pm

I have verified that there is nothing wrong with the popcnt code itself.

But the popcnt build was constructed with a different compiler version and that may have introduced a difference.

--Jon

Post Reply