Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for Apple Silicon #394

Open
olbris opened this issue Oct 31, 2022 · 2 comments
Open

support for Apple Silicon #394

olbris opened this issue Oct 31, 2022 · 2 comments

Comments

@olbris
Copy link
Contributor

olbris commented Oct 31, 2022

Currently NeuTu/Neu3 have problems on Apple Silicon (in limited testing on an M1 Macbook Pro).

  • wouldn't install naively
  • when forced to use osx-64 subdir, refuses to install the latest version, only installs 0.8.15

What should we do about this?

@olbris
Copy link
Contributor Author

olbris commented Feb 22, 2024

Update: still don't have a machine for building or testing. This recipe might work to install in Intel emulation, by telling conda to use the osx-64 "subdir" instead of native code.

  • what we're doing is forcing the environment to use the Intel architecure; I'm naming the end flyem-x64 for that reason
    • conda's jargon for that is 'subdir'
  • CONDA_SUBDIR=osx-64 conda create -n flyem-x64 python=3.7
  • conda activate flyem-x64
  • conda config --env --set subdir osx-64
  • conda install -c flyem-forge -c conda-forge openssl=3 neutu-develop
    • usually openssl=3 doesn't need to be specified, but we've had some trouble recently with the env picking up the wrong openSSL version on Mac and Linux both

@olbris
Copy link
Contributor Author

olbris commented Aug 2, 2024

Update: I now have an M3 laptop for testing.

The recipe above works for me. I can install and run neutu and neu3 using the above installation instructions.

My initial attempt in building neutu from scratch was unsuccessful and doesn't look good. I ran into some fairly fundamental compiler errors deep not in neutu code, but in the code for some supporting libraries of Ting's that I've never worked on.

Time available for supporting neutu/neu3 development remains limited. I would not expect any fast movement on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant