Actions

F77 TO F90

From BAWiki

Revision as of 06:43, 3 May 2023 by Guntram Seiß (talk | contribs) (program version updated)

Basic Information

Name of Program

F77_TO_F90

Version-Date

May 2023

Description-Date

March 2023

Catchwords

FORTRAN source code
FORTRAN 90 syntax
conversion of F77 sources

Short Description of Functionality

The program F77_TO_F90 converts FORTRAN sources which have been written in FORTRAN77 standard syntax into correct FORTRAN90 source code. For sources, which include other sources, also the latter have to be converted.

Obsolescent language elements are prserved and should be substituted by the programmer after conversion.

Remark: The program can also be used with command line arguments since 2023. Help can be found by typing:

   f77_to_f90 -h 

Input-Files

  1. one or more files with FORTRAN77 code
  2. If more then one file shall be processed (optional) a list of the files (type dateiliste.dat)

Output-Files

  1. one or more files with FORTRAN90 code
  2. printer output f77_to_f90.sdr
  3. (optional) file with test output

Methodology

For every file a version written in F90 syntax will be created. The following changes will be done in comparison with the original code:

  • comment lines wich start with C, c or * change their first character to !.
  • for continuation lines (the 6th column is not a blank) the preceeding line will end with a &. The 6th column is changed to blank normally. If a CHARACTER constant is distributed over the two lines, the 6th column is changed to &.

All changes are documented by the printer output file.

Program(s) to run before this Program

-

Program(s) to run after this Program

F90 compiler

Additional Information

Language

Fortran90

Additional software

-

Original Version

G. Seiß

Maintenance

G. Seiß

Documentation/Literature

self-explanatory


back to Program Descriptions


Overview