views:

110

answers:

4

i have coding for fortran 77 but i want to converted to fortran 90..where can i donwload the converter software??

+2  A: 

The first hit on a Google query for "fortran 77 convert 90" returned this page, which has 3 free tools and 2 commercial ones listed (after clicking the link for "Subprograms, Converters, Key Works"). I've not used Fortran in quite a while, and can't vouch for the quality of any of these tools.

PTBNL
+1  A: 

The free program convert (http://www.nag.co.uk/nagware/Examples/convert.f90) will convert from Fortran 77 fixed-source form to Fortran 90/95/2003 free-source form and make some simple transformations, such as declarations. There are also some commercial products, such as SPAG (http://www.polyhedron.com/spag0html).

M. S. B.
A: 

I have found and used three programs convert.f90 (Michael Metcalf), preconvert.f90 (Purple Sage Computing Solutions, Inc.) and to_f90.f90 (Alan Miller).

None of them worked 100% like I expected. Results depends on how closely your source matches what the programs expect to see.

For your convenience I have zipped the source files up and hosted them here: Source Files

I have used Compaq Visual Fortran 6.5 to compile into three separate projects. If you want the projects also use this link CVF 6.5 Projects

Best of luck.

jalexiou
A: 

I'd recommend f2f (http://bitbucket.org/lemonlab/f2f/). I'm a bit biased, since I was the original developer, but my motivation was due to the fact that I didn't think the alternatives worked very well. Give it a try if you like.

Colby Lemon