Fortran for Apple Silicon

Apple will develop a Fortran compiler for the new Apple Silicon platform?
Answered by lorrden in 616394022
Your best bet is probably flang which is part of the LLVM project. Not really production ready yet, but should be usable when the arm64 Macs are released.
No.

As many people (scientists ... as myself), please use gfortran. Compile the GNU CC (gcc) suite, it works well. Currently, I use GCC v. 10.1.0. g95 very likely needs an exeternal free compiler in its binary form (the G95 project for example) with Apple M1, be aware but it should work pretty well.

Sincerely,

lLurent

I am a computational physicist and neuroscientist and I need Intel Fortran to do my work. Without this, I have to switch to Linux.

After enabling flang in homebrew llvm you have on intel:

flang-new --version

Homebrew flang-new version 15.0.5
Target: x86_64-apple-darwin22.1.0
Thread model: posix
InstalledDir: /usr/local/Cellar/llvm/15.0.5/bin

Please test this on M1/M2

Fortran for Apple Silicon
 
 
Q