Click to See Complete Forum and Search --> : Compiling fortan 77 as fortran 90 on linux


NeilBlue
10-25-2002, 05:05 AM
Hello,

I have some fortran 77 code that I would like to compile with a fortan 90 compiler, in order to allow me to do a few search/replaces on variable names, which will go past the 80 column limit.

Please could anyone tell me if this is possible on linux, or can g77 be told to treat the code as free format.

Cheers
Neil

furrycat
10-25-2002, 05:55 AM
g77 is a FORTRAN 77 compiler. Hence the name g77. I don't know if it supports free format code. I don't think it does, since when I needed a FORTRAN 90 compiler (many years ago) I didn't use it :)

Intel ride to the rescue (too late for me) with an F90 compiler which you can get here (http://developer.intel.com/software/products/compilers/f60l/index.htm). It is free for non-commercial use.

NeilBlue
10-25-2002, 06:13 AM
thank you, I am just downloading now :)