F77 TO F90: Difference between revisions
From BAWiki
Guntram Seiß (talk | contribs) m (some corrections) |
Guntram Seiß (talk | contribs) mNo edit summary |
||
Line 34: | Line 34: | ||
|language=Fortran 2003 | |language=Fortran 2003 | ||
|add_software= - | |add_software= - | ||
|contact_original= | |contact_original=G. Seiß | ||
|contact_maintenance=[mailto:guntram.seiss@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
- one or more files with FORTRAN77 code
- If more then one file shall be processed (optional) a list of the files (type dateiliste.dat)
Output-Files
- one or more files with FORTRAN90 code
- printer output f77_to_f90.sdr
- (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
Documentation/Literature
self-explanatory
back to Program Descriptions