(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-m1Code: 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
(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
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%