-
Notifications
You must be signed in to change notification settings - Fork 21
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
Incomplete support for Apple silicon (M1, M2, etc.) #109
Comments
@yuxuanzhuang can you provide a more complete code snippet of the steps that led to this error? I added the |
The problem had been confusing me for weeks.... |
Thanks for posting this solution @xiaoxiaozhu123 ! I'm actually going to be issuing a 1.0 release in the next 1-2 days and I'd love to update the documentation with this. Would you be able to suggest some edits / additions to the "Warning" box on this page? Feel free to post here or open a PR if you're comfortable doing that. |
As far as I know, It's impossible toggle the current architecture with just a python script. The only thing we can do is to inform users about compatibility issues and recommend actions they can take to adjust their environment.
|
Yes, I do something similar to this in the unit tests right now. There is currently an error message that is raised, which I think is adequate as a technical solution for the time being.
I have just updated the documentation page, adding the following so that other users can try your workaround. This appears in the Warning box that mentions the challenges with M1/M2.
|
As reported by @yuxuanzhuang during the JOSS review,phreeqptyon
does not work on Apple silicon, and thereby causesSolution
to fail (even thoughpyEQL
can be installed):We need to work around this. At a minimum, it should be possible to instantiate and use aSolution
without theequilibrate
function (which is the only thing that relies onphreeqpython
by default).UPDATE as of v0.14.0
pyEQL
currently works on Apple Silicon, but any features that depend on PHREEQC (e.g., theequilibrate
method) will raise errors. Changes have been made to the documentation to reflect this, and an Error is logged when you create aSolution
on Apple silicon notifying you of the limitation.It would be great to have full support for Apple silicon; however, it isn't clear to me whether upstream PHREEQC /
iphreeqc
/phreeqpy
support Apple Silicon. If they do, this issue will add motivation to address #61 so that support is not dependent onphreeqpython
(as opposed to upstreamiphreeqc
).The text was updated successfully, but these errors were encountered: