Actions

F77 TO F90: Difference between revisions

From BAWiki

(commandline arguments and other remarks)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|name_de=F77_TO_F90  
|name_de=F77_TO_F90  
|name=F77_TO_F90  
|name=F77_TO_F90  
|version=March 2023  
|version=May 2023  
|version_descr=March 2023  
|version_descr=March 2023  
|catchwords=
|catchwords=
Line 31: Line 31:
  -  
  -  
|postprocessor=
|postprocessor=
F90 compiler  
FORTRAN compiler, e.g. ifort, gfortran, nagfor
|language=Fortran90
|language=Fortran 2003
|add_software= -  
|add_software= -  
|contact_original=[mailto:guntram.seiß@baw.de G. Seiß]
|contact_original=G. Seiß
|contact_maintenance=[mailto:guntram.seiß@baw.de G. Seiß]
|contact_maintenance=[mailto:guntram.seiss@baw.de G. Seiß]
|documentation=self-explanatory
|documentation=self-explanatory
}}
}}

Latest revision as of 06:52, 3 May 2023

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

FORTRAN compiler, e.g. ifort, gfortran, nagfor

Additional Information

Language

Fortran 2003

Additional software

-

Original Version

G. Seiß

Maintenance

G. Seiß

Documentation/Literature

self-explanatory


back to Program Descriptions


Overview