Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28996 Discussions

Fortran source pretty printer/refactoring tool

rase
New Contributor I
956 Views

When I switched to IVF/F90/F95 many years ago I used the plusFORT tool from Polyhedron to modernize the hundreds of source files in my Fortran projects saving me a lot of time and effort.Today I tried to use plusFORT again, but the program told me that my license is no longer valid. I wonder if there is free pretty printer/refactoring tool for Fortran available which might include support for the more recent standards. Any suggestions?

0 Kudos
1 Solution
Steven_L_Intel1
Employee
956 Views

Have you tried contacting Polyhedron about your license? I find them quite responsive overall.

View solution in original post

0 Kudos
5 Replies
TimP
Honored Contributor III
956 Views

I doubt there is much along this line which is both supported and free.

Mike Metcalf's convert.f90 seems one of the better choices for including indentation. 

I've modified ratfor to output much prettier than standard code, with indentation.  I wrote a lex processor so that most mixtures of f66 and f95 can be fed through struct and ratfor.

0 Kudos
mecej4
Honored Contributor III
956 Views

PlusFort appears to be still available free for academic/educational use -- I don't know if you qualify.

0 Kudos
rase
New Contributor I
956 Views

mecej4, plusFort is not avaible free of charge for educational use. The licence cost is too high compared to the frequency I will use it. I found a free tool (f90ppr), but it seems to be restricted to f90 format and is not easy to operate. Well, I think I will restructure the sources without software support, as I used to do it in ancient times.

0 Kudos
Steven_L_Intel1
Employee
957 Views

Have you tried contacting Polyhedron about your license? I find them quite responsive overall.

0 Kudos
rase
New Contributor I
956 Views

Steve, thanks a lot for your advice. I contacted Polyhedron, they sent me a new license file rightaway (free of charge), and plusFORT is back to normal operation.

0 Kudos
Reply