Fortran compiler for mac to read program -


i'm using g77 compiler (on terminal type g77 filename.for ) on mac. can't read fortran program , can't modify program (very old program, not mine, , need output it). suggestion compiler read program?

here kind of error get:

android-ae71922e0bc4a747:~ jadecheclair$ g77 geomalb.for  geomalb.for: in program `geometric': geomalb.for:61:           accept *,fhaze          1      2 unrecognized statement name @ (1) , invalid form assignment or statement-function definition @ (2) 

the accept statement not part of fotran standard. non-standard extension , therefore program not fortran 77 program , cannot expect compilers compile it.

notably, g77 not support extension https://gcc.gnu.org/onlinedocs/g77/type-and-accept-i_002fo-statements.html modern successor of g77 - gfortran - not support either.

you can try intel compiler (costs money), oracle compiler (free linux, not available mac) or (much better) convert source code fortran changing accept read.


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -