M1 compatibily

How do I use this algorithm? What does that parameter do?
Post Reply
dorf
Posts: 32
Joined: 16 Feb 2021, 16:34

M1 compatibily

Post by dorf »

I recently switched to a computer running Apples new M1 chip. However, tenpy is not available for the M1 conda distribution. Should I just run it via Rosetta (Apple's Intel interface) or can we expect a M1 compatible package on conda any time soon? :)
User avatar
Johannes
Site Admin
Posts: 413
Joined: 21 Jul 2018, 12:52
Location: TU Munich

Re: M1 compatibily

Post by Johannes »

Since I don't own any Apple products, I can hardly test this and have no idea what's required to get it to work. However, the kind folks from conda-forge apparently have a working CI bot system that should help us: see the conda-forge docs

If you want support for the M1, you'll have to get active: submit a pull request to modify osx_arm64.txt adding the line physics-tenpy (= the package name) in the end. Apparently, this should trigger something tt tries to compile tenpy for the M1.

Let me know when you submitted the corresponding pull request.
Post Reply