-
Notifications
You must be signed in to change notification settings - Fork 20
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
Failure to load problems on arm64 #431
Comments
Hi @Vaibhavdixit02, it means that Are you on Mac? |
Yup I am on mac. I am using gfortran from the default gcc so unsure how I'd end up with it for a different architecture 😅
|
With Homebrew, it’s possible that you installed the x86 gcc and gfortran. Both Homebrew installations (x86 and arm) can coexist. What does |
I verified (and reinstalled) that homebrew is correct - to answer your question @dpo it's I also deleted
|
@Vaibhavdixit02 You installed the If you don't want to reinstall the compilers with Homebrew, you need to use the You can't mix them. |
It's maybe your Julia version that is I will add a check in the code to ensure that the compiler and Julia where compiled for the same architecture. You can use this code to check what you have: arch_julia = String(Sys.ARCH)
arch_gfortran = readchomp(`gfortran -dumpmachine`)
if !contains(arch_gfortran, arch_julia)
@warn "Julia ($arch_julia) was compiled for a different architecture than gfortran ($arch_gfortran)."
end |
That's it, I had the x86 version of julia because that's the default in juliaup. Thanks for the quick help both! |
I have been running into
is this expected?
The text was updated successfully, but these errors were encountered: