openscm / pymagicc

Python wrapper for the simple climate model MAGICC
https://pymagicc.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
39 stars 27 forks source link

Unable to run on up-to-date Mac #341

Open grahamas opened 1 year ago

grahamas commented 1 year ago

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?

rgieseke commented 1 year ago

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.

grahamas commented 1 year ago

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.

Aq0amancer commented 10 months ago

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!