FRBs / pygedm

Python bindings for YMW16, NE2001 and YT2020 electron density models
https://pygedm.readthedocs.io/
42 stars 17 forks source link

No fortran support on Apple Silicon M1 (dlopen error: mach-o, but wrong architecture) #8

Closed telegraphic closed 3 years ago

telegraphic commented 3 years ago

As such pygedm (or any other FORTRAN) will not compile on M1 macs until they support gfortran.

There is an experimental release: https://github.com/fxcoudert/gfortran-for-macOS/releases/tag/11-arm-alpha2

So might not have to wait too long.

telegraphic commented 3 years ago

I have switched to using f2c to avoid fortran requirement (although it ads f2c requirement, which can be installed on M1 with conda install -c conda-forge f2c