-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to run on up-to-date Mac #341
Comments
Does it work with the MAGICC7 binary available here? https://magicc.org/download/magicc7 See further down in the README on how to use a different binary. |
That does seem to be the correct workaround. We weren't able to get it to work, though for seemingly unrelated reasons (libgfortran wasn't linked properly and we gave up). I would request updating the README for Macs since using the provided binary will be necessary for all Macs going forward. |
Having the same issue, both libgfortran is not linked and struggling with setting the environment variable to use 'magicc-darwin-arm64' in MAGICC7. An updated readme would be really helpful, thank you! |
@Aq0amancer and @grahamas, not sure if you're still experiencing the issue with # ensure gcc is installed as that provides libgfortran
brew install gcc
# find path to libgfortran.5.dylib
find /opt/homebrew -name "libgfortran*.dylib"
# use environment variable to specify the path to libgfortran
# in my case, my path looked like the following
export DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current:$DYLD_LIBRARY_PATH
# now you should be able to use the magicc7 executable
./magicc-darwin-arm64 For using pymagicc, you'll also need the %env DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/gcc/14.2.0_1/lib/gcc/current:$DYLD_LIBRARY_PATH
%env MAGICC_EXECUTABLE_7=/path/to/magicc/magicc-v7.5.3/bin/magicc-darwin-arm64 |
On up-to-date OSX it doesn't seem possible to run pymagicc--- is this correct?
The problem is that 32-bit applications (including wine) are no longer supported (see: https://superuser.com/questions/1513877/bad-cpu-type-in-executable-wine-macos-catalina).
If this is the case, could you update the README to make this apparent up front? Otherwise, are there any workarounds?
The text was updated successfully, but these errors were encountered: