Closed beckermr closed 4 years ago
You mean gfortran 8 or above? We use gfortran 7.3.0 on linux and mac.
Right. Fortran2003 is the language def and we would need at least 4.8. Some features are 4.9
? 7.3 > 4.9
Ach sorry yes. š¤¦āā 8 or above, maybe 9 on both linux and osx
Here is the page. Looks like 8 would do the trick modulo bugs: https://gcc.gnu.org/wiki/Fortran2003Status
scipy issue was closed. closing
Actually, for full support of Fortran2003 (which will surely be necessary eventually), it seems that gcc >= 9.0 is required, see "Asynchronous input/output" in the status page.
Although, one can hope that with LLVM 11 later this year, we might have a x-platform fortran-compiler, depending how things develop with https://github.com/flang-compiler/f18/issues/876 (they were reasonably close to inclusion for LLVM 10 already; let's hope 11's the charm)
Iād be nervous about moving conda-forge to flang. Gfortran seems like a decent standard for now.
flang on windows seems like a reasonable thing to do, though
Sure, start with windows (finally scipy on CF!), and if the standards question comes up again, it can then still be weighed what's the better course of action.
FWIW people have tried this before ( https://github.com/conda-forge/scipy-feedstock/pull/78 ), but maybe the tooling has improved in the intervening time?
Thoughts @isuruf? š
@jakirkham, @isuruf is more than just a little involved already. š
Conda-forge's flang is tracking his personal flang-compiler/flang
fork (predecessor to flang-compiler/f18
), and he's not just actively involved, but actually going to lead the windows support effort for f18
in the context of them merging into LLVM.
I'm very aware of all of this @h-vetinari š
Pardon me if that was all very obvious ('m sure the following will be too š ).
I just misunderstood the question about the scipy-status, as it seems to me from his comments that scipy is clearly a target once that capability lands (originally it was hoped to be windows support in flang itself), but now everyone is putting their efforts into f18, and I would guess that not much will happen before that sees a release in LLVM. Although, to be fair, @mariusvniekerk did prepare a conda-forge scipy build with VS2017 + 2019 and Intel IFort.
PS. Maybe I should just let the man answer for himself... I'll stop now, sorry š
flang development has stopped now and everyone is putting their efforts on f18. code generation in f18 landed 4 days ago and it still experimental and the runtime libraries are being written. It's a long way from being usable, but it'll get there. f18 is more receptive in getting windows patches merged, so when f18 is ready for other platforms, it'll probably be for windows too.
It appears the scipy folks are discussing Fortran2003. I think we would have to migrate our fortran compilers to support this.
xref: https://github.com/scipy/scipy/issues/11421