M1 Apple Silicon for Chess?

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

Moderator: Ras

acepoint_de
Posts: 86
Joined: Tue Jun 11, 2013 1:14 am

Re: M1 Apple Silicon for Chess?

Post by acepoint_de »

AlexChess wrote: Thu May 06, 2021 6:08 pm Rubichess 2.2-DEV updated today is imported but doesn't start on BanksiaGui M1 and loses on time. Seer-2.0.1 doesn't start even on terminal (dyld: Library not loaded: /opt/homebrew/opt/gcc/lib/gcc/10/libgomp.1.dylib)
Sorry to hear this. I'll try to reproduce the errors you mentioned at the weekend. Regarding Seer I have to take a look at my command history, I don't remember whether I modified a makefile or added certain flags.

After successfully compiling engines I usually only call the binary at the command line and check whether it is able to recognize uci commands. Unfortunately I don't have that much time for detailed tests at the moment.

Ciao

acepoint
User avatar
RubiChess
Posts: 640
Joined: Fri Mar 30, 2018 7:20 am
Full name: Andreas Matthies

Re: M1 Apple Silicon for Chess?

Post by RubiChess »

AlexChess wrote: Thu May 06, 2021 6:08 pm Hi RubiChess & Acepoint,

Rubichess 2.2-DEV updated today is imported but doesn't start on BanksiaGui M1 and loses on time. Seer-2.0.1 doesn't start even on terminal (dyld: Library not loaded: /opt/homebrew/opt/gcc/lib/gcc/10/libgomp.1.dylib)

Regards, AlexChess
I don't have a M1 so I cannot reproduce the error.
Can you start the RubiChess binary from a terminal and send the output or error messages?

Regards, Andreas
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

acepoint_de wrote: Fri May 07, 2021 7:50 am
AlexChess wrote: Thu May 06, 2021 6:08 pm Rubichess 2.2-DEV updated today is imported but doesn't start on BanksiaGui M1 and loses on time. Seer-2.0.1 doesn't start even on terminal (dyld: Library not loaded: /opt/homebrew/opt/gcc/lib/gcc/10/libgomp.1.dylib)
Sorry to hear this. I'll try to reproduce the errors you mentioned at the weekend. Regarding Seer I have to take a look at my command history, I don't remember whether I modified a makefile or added certain flags.

After successfully compiling engines I usually only call the binary at the command line and check whether it is able to recognize uci commands. Unfortunately I don't have that much time for detailed tests at the moment.

Ciao

acepoint
Don't worry. I must only thank you for your unique contribute to Silicon M1 for chess :)
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

RubiChess wrote: Fri May 07, 2021 8:50 am
AlexChess wrote: Thu May 06, 2021 6:08 pm Hi RubiChess & Acepoint,

Rubichess 2.2-DEV updated today is imported but doesn't start on BanksiaGui M1 and loses on time. Seer-2.0.1 doesn't start even on terminal (dyld: Library not loaded: /opt/homebrew/opt/gcc/lib/gcc/10/libgomp.1.dylib)

Regards, AlexChess
I don't have a M1 so I cannot reproduce the error.
Can you start the RubiChess binary from a terminal and send the output or error messages?

Regards, Andreas
Solved, it was searching for another NNUE, I have downloaded the new one from your repository and now it works.

Many thanks, AlexChess

Code: Select all

Last login: Fri May  7 09:41:34 on ttys000
alex@Mac-mini-M1 ~ % /Users/alex/Documents/SCACCHI\ 2020/RubiChess-2.2-dev 
info string Loading net nn-673bf01913-20210421.nnue ... failed. The network file seems corrupted doesn't exist. Set correct path to network file or disable 'Use_NNUE' for handcrafted evaluation.
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
acepoint_de
Posts: 86
Joined: Tue Jun 11, 2013 1:14 am

Re: M1 Apple Silicon for Chess?

Post by acepoint_de »

AlexChess wrote: Thu May 06, 2021 6:08 pm Seer-2.0.1 doesn't start even on terminal (dyld: Library not loaded: /opt/homebrew/opt/gcc/lib/gcc/10/libgomp.1.dylib)
This is one of the probably very few engines I had to build with gcc, so it's linked against this library. The quick and dirty workaround is that you install the gcc, then the engine should run on your system.

Code: Select all

brew install gcc
A professional and better solution should be building dmg-packages, but then users lose flexibility regarding the storage. Third option is building static versions.

Ciao

acepoint
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

acepoint_de wrote: Sat May 08, 2021 9:10 am
AlexChess wrote: Thu May 06, 2021 6:08 pm Seer-2.0.1 doesn't start even on terminal (dyld: Library not loaded: /opt/homebrew/opt/gcc/lib/gcc/10/libgomp.1.dylib)
This is one of the probably very few engines I had to build with gcc, so it's linked against this library. The quick and dirty workaround is that you install the gcc, then the engine should run on your system.

Code: Select all

brew install gcc
A professional and better solution should be building dmg-packages, but then users lose flexibility regarding the storage. Third option is building static versions.

Ciao

acepoint
Thank you, I try now

AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

BanksiaGUI Native M1 Top 18 Blitz Intermezzo . ...Waiting for new updates :)

Image

BanksiaGUI Native M1 All 28 Blitz 3+3

Image

Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

Source code: Cfish Night Nurse & Cfish Dark Horse (Including NNUE) to compile for Apple Silicon M1

https://1drv.ms/u/s!AkW3Hj0Gl_ewz3dNbBg ... r?e=xWbwzw

They are very strong on Windows 10 ARM64:

http://talkchess.com/forum3/viewtopic.p ... 39#p889739

Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

May 16, 2021

34 BEST ENGINES - Arena chess SuperBlitz 34 3 mins + 3 secs

4 CPUs on Windows 10 ARM64 under Parallels Desktop 16.5 on Apple Silicon M1 (50% of the speed running on native macOS M1)

Finally, latest Cfish 210509 (that is Stockfish porting open source optimized C code, 30% faster than original) has got rid of "aliens"  (SF derivates that don't release their code, as GPL 3.0 imposes, like Raubfisch, Fischerov, Eman, Killfish, AI-15, Zeus 11 and Alpha SubZero and cannot be ported on Mac and Linux) ...Open sources are useful to improve all top engines on all OSs.  Dragon 2 by Komodo, Igel 3.0.5 Neon NNUE and Fat Fritz 2.1 (in Stockfish 13 210426) are new entries. 

Image

Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
towforce
Posts: 12355
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: M1 Apple Silicon for Chess?

Post by towforce »

I am amazed that this thread now covers 43 pages!

The M1 is a STUNNING piece of technology: a good thread would be about running chess programs on SOCs, which are small, cheap, amazingly economical on power, and, at the top end, deliver kick-ass computing power - but there's no denying that the M1 is the absolute best SOC for the time being (except that you can't buy one on its own - you have to buy a complete Apple product :( ).

I trust that all the Apple M1 SOC users here are suitably attired: https://www.redbubble.com/i/socks/Apple ... 1529.9HZ1B
Human chess is partly about tactics and strategy, but mostly about memory