-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Installing sunode on Apple Silicon via Conda? #46
Installing sunode on Apple Silicon via Conda? #46
Comments
So, good news: using manual build works on Apple Silicon:
So it's more a question of modifying the feedstock so conda-forge has the right label. I need to remember how I did that for other packages 😅 |
Ah, yes, found back how I did it in the past: conda-forge/conda-forge-pinning-feedstock#4191 |
Following instructions on https://conda-forge.org/blog/posts/2020-10-29-macos-arm64/ I am adding the packages `sunode` to the list of packages supporting osx-arm64 architecture, after having checked that it does compile nicely on that platform. Fixes pymc-devs/sunode#46
Alright, I've added to the adequate file in conda-forge pinning, now we need to wait for it to be merged then for the bot to update conda-forge a few hours later. |
Thanks @jucor for taking the initiative on this! |
When I try
I get 'file not found" for sundials/sundials_types.h. If I EDIT: Yeah it works if I specify sundials-5.8.0 (that was what was installed on my windows machine). |
I believe you need version 5.8.
…On Wed, Dec 27, 2023, 22:02 DrEntropy ***@***.***> wrote:
When I try this I get 'file not found" for sundials/sundials_types.h. If I conda
install sundials, it then fails with all kinds of errors, mainly about
incorrect number of arguments, which makes me wonder if I need a specific
version of sundials is needed?
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBERI7XIVCWAM4U5MSZT3YLSEGNAVCNFSM6AAAAABBEJPXW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGYZDINJWHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Update:
|
@maresb sorry to bother you, but you might be more familiar with the Here is a link to the log of the failure: |
@maresb Here is the exact error that shows up: It's an implicit narrowing casting on sizes from I'm not sure why that error appears in the CI toolchain, but not when we compile locally :/ |
Digging deeper, that compilation error occurs somewhere deep in some C++ code that seems dynamically compiled from the test |
Thank you for looking into this! It sounds to me like it could be this issue? aesara-devs/aesara#127 This happens in the generated code of pytensor if I understand correctly, maybe it would be better to just add the required cast in pytensor then, instead of adding compiler flags downstream? |
Does anyone know what |
@aseyboldt Excellent question! I just tried, and it turns out that this specific test fails also on my regular macOS m1, so not only just on CI! |
Hi!
What is the recommended way to install Sunode on Apple Silicon via Conda, please?
It seems sundoe does not have a conda-forge package for Apple Silicon: https://anaconda.org/conda-forge/sunode does not show any
osx-arm64
label, unlike e.g. pymc:Thanks for any help!
The text was updated successfully, but these errors were encountered: