Komodo Dragon 2.5.1 released

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

Moderator: Ras

George Sobala
Posts: 44
Joined: Sat Feb 03, 2018 2:42 pm
Location: Yorkshire, England

Re: Komodo Dragon 2.5.1 released

Post by George Sobala »

Some Mac problems persist.

(1) launching the M1 version from a $PATH fails. It only works if the full path is explicitly stated.

So this works:

Code: Select all

/usr/local/bin/dragon-2.5.1-macos-m1
but this fails:

Code: Select all

bash-3.2$ dragon-2.5.1-macos-m1
libc++abi: terminating with uncaught exception of type std::__1::__fs::filesystem::filesystem_error: filesystem error: in directory_iterator::directory_iterator(...): No such file or directory [""]
Abort trap: 6
The non-M1 binary works just fine.

(2) Probably related to (1) - the M1 binary seems to require that one of the non-M1 binaries are in the same directory in order to pass the licence test.

Code: Select all

bash-3.2$ ls
dragon-2.5.1-macos	dragon-2.5.1-macos-avx2	dragon-2.5.1-macos-m1
bash-3.2$ ./dragon-2.5.1-macos-m1
get_file_bytes
Dragon 2.5.1 (C) 2021 Don Dailey, Larry Kaufman, Mark Lefler, Dmitry Pervov, and Dietrich Kappe
using hardware POPCNT
info string Licensed to GEORGE SOBALA
info string embedded NN_K is loaded
quit
bash-3.2$ rm dragon-2.5.1-macos dragon-2.5.1-macos-avx2 
bash-3.2$ ./dragon-2.5.1-macos-m1
Dragon 2.5.1 (C) 2021 Don Dailey, Larry Kaufman, Mark Lefler, Dmitry Pervov, and Dietrich Kappe
using hardware POPCNT
info string Licensed to illegal copy
info string embedded NN_K is loaded
quit
(3) The M1 version is hardly faster than the translated Mac x64 version - about 655kps v 649kps single thread from starts. The M1 Mac code is suboptimal, even more so than Stockfish’s.

For comparison, here are comparisons between engine code on a Xeon Intel Mac x64 v same engine on M1:
(kns after go movetime 5000)

Code: Select all

                     Intel           M1     M1 speedup
Cfish                 1476         2176        147%
Stockfish             1205          900         74%
Dragon                1011          655         65%