klayout icon indicating copy to clipboard operation
klayout copied to clipboard

MacBook Air M3 chip Sonoma 14.5

Open ChihYuLee opened this issue 1 year ago • 3 comments

Hi, I am wondering what software I should use for this hardware setup? I have tried those for Anaconda user Sonoma 14.1, all of them quit unexpectedly. Is there something wrong with the new Mac?

ChihYuLee avatar Jun 17 '24 04:06 ChihYuLee

Nothing wrong with arm Mac’s. If you install a “heavy” download, you don’t need anything but Rosetta.

You didn’t say how your install failed, so I’m guessing here.

a) you need the required anaconda dependencies installed and b) the executables are x86, so you need Rosetta.

On my M1, I’m using homebrew to get the build dependencies, git clone klayout and use build4mac to compile it. This way I get a native arm64 executable that is faster than the emulated x86 ones.

stefanottili avatar Jun 17 '24 04:06 stefanottili

Hi @stefanottili,

Thanks for your comments :-)


Hi @ChihYuLee,

Recommendation 1 A “heavy” download is like HW-klayout-0.29.2-macOS-Sonoma-1-qt5MP-RsysPhb311.dmg. My colleague confirmed he could use the HW*.dmg package on his M2 Sonoma with Rosetta.

Recommendation 2 The ST*.dmg might also work with Rosetta and Apple command-line tool kit.

Recommendation 3 If you use an Anaconda3 version like LW-klayout-0.29.2-macOS-Sonoma-1-qt5Ana3-Rana3Pana3.dmg, you may need to install the Intel chip version Anaconda3 (run with Rosetta). I have not yet tested this :-( Then, follow the instructions in the Anaconda3User-ReadMeFirst.txt document embedded in the DMG.

Best Option If you try to build a native executable from the source, refer to this document. However, please note that the above document needs to be updated. More precisely, 6C. Fully Homebrew-flavored build... and 6D. Partially Homebrew-flavored build... are now OK.

Kazzz-S

Kazzz-S avatar Jun 17 '24 05:06 Kazzz-S

Thank you, the HW works, I didn't know why my Anaconda doesn't work.

On Mon, Jun 17, 2024 at 1:35 AM Kazunari Sekigawa @.***> wrote:

Hi @stefanottili https://github.com/stefanottili,

Thanks for your comments :-)

Hi @ChihYuLee https://github.com/ChihYuLee,

A “heavy” download is like HW-klayout-0.29.2-macOS-Sonoma-1-qt5MP-RsysPhb311.dmg.

My colleague confirmed he could use the HW*.dmg package on his M2 Sonoma with Rosetta. I think the ST*.dmg might also work with Rosetta.

If you try to build a native executable from the source, refer to this document https://github.com/KLayout/klayout/tree/master/macbuild. However, please note that the above document needs to be updated. More precisely, 6C. Fully Homebrew-flavored build... and 6D. Partially Homebrew-flavored build... are now OK.

Kazzz-S

— Reply to this email directly, view it on GitHub https://github.com/KLayout/klayout/issues/1745#issuecomment-2172326234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY6ROQHKNVJQTZ6V5R7OQ4TZHZYQHAVCNFSM6AAAAABJNHOLDSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZSGMZDMMRTGQ . You are receiving this because you were mentioned.Message ID: @.***>

--

Chih-Yu Lee Ph.D. Student Department of Materials Science and Engineering University of Maryland, MD 20742, USA

@.*** @.***

ChihYuLee avatar Jun 17 '24 17:06 ChihYuLee