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

Old Fortran compiled with Fortran Compiler 9.1

postaquestion
Novice
220 Views

We have a very old Fortran program which was written and compiled using Microsoft Fortran in the old DOS system. We recently have the needto modify the code for different task.I tried to compile the code using Intel Fortran Compiler 9.1, but there are lots of compiling errors (however, the source code did work in old system for sure).

I don't know if thereare any solutions for the problem. How do we move the old fortran codes to a new platform and compile them successfully?

Your answer is appreciated.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
220 Views
It would help us if you would detail what the errors were, along with sample source lines. Start with the first five. There may be some old DOS Fortran extensions used but most of those can be discarded. Another error I often see is renaming old files with a .f90 file type which results in lots of errors. .f90 means "free-form source", which was new in Fortran 90, so leave old files as .f or .for.
0 Kudos
Reply