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

pypardiso breaks native builds on Arm64 architechture (the new Apple silicon) #2834

Open
ma-sadeghi opened this issue Sep 30, 2023 · 2 comments · Fixed by #2835
Open

pypardiso breaks native builds on Arm64 architechture (the new Apple silicon) #2834

ma-sadeghi opened this issue Sep 30, 2023 · 2 comments · Fixed by #2835

Comments

@ma-sadeghi
Copy link
Member

ma-sadeghi commented Sep 30, 2023

PyPardiso requires MKL, which requires Intel architecture. Two options:

  • Distribute platform-specific releases: without pypardiso for macOS, with otherwise
  • Remove pypardiso as a hard dependency, but add a warning if the user's not using pypardiso to install it (if they're on Intel)

The latter is easier and probably more maintainable.

@haasad
Copy link

haasad commented Oct 20, 2023

@ma-sadeghi Have a look at https://github.com/conda-forge/bw2calc-feedstock/blob/main/recipe/meta.yaml#L27-L29 for inspiration on how you could easily get platform-specific builds with conda-forge (not sure if something similar is possible for pip).
scikit-umfpack is a fast solver that you could use as alternative to pypardiso on osx-arm

@ma-sadeghi
Copy link
Member Author

@haasad Thanks for the pointer! Currenlty, I'm lacking bandwidth to fix this, but it's on my todo list. I'll reopen this not to get lost.

@ma-sadeghi ma-sadeghi reopened this Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants