Program that converts f77 to f90/95?

  • Thread starter Thread starter NoobixCube
  • Start date Start date
  • Tags Tags
    Program
Click For Summary

Discussion Overview

The discussion revolves around the conversion of FORTRAN 77 (f77) code to FORTRAN 90/95 (f90/95), particularly in the context of working with source code provided by a supervisor. Participants explore compatibility issues and the implications of modifying f77 code.

Discussion Character

  • Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant inquires about the existence of a program that converts f77 to f90/95.
  • Another participant asserts that most f77 code is also valid in f90, indicating that f90 introduces new features rather than altering existing ones.
  • A participant expresses hope that modifying the supervisor's f77 code will not lead to errors due to the differences between the FORTRAN versions.
  • It is noted that while f77 code can be compiled in a f90 environment, the reverse is not true, suggesting a one-way compatibility.
  • A later reply comments on the notion that "time only goes forward," seemingly in response to the discussion about version compatibility.

Areas of Agreement / Disagreement

Participants generally agree that f77 code can be compiled in a f90 environment, but there is no consensus on the necessity or effectiveness of a conversion program, and the implications of modifying the code remain somewhat contested.

Contextual Notes

The discussion does not address specific limitations or assumptions regarding the compatibility of features between f77 and f90/95, nor does it explore the potential challenges in modifying the code.

Who May Find This Useful

This discussion may be useful for programmers transitioning from FORTRAN 77 to FORTRAN 90/95, particularly those dealing with legacy code and compatibility issues.

NoobixCube
Messages
154
Reaction score
0
Hi all,
I was wondering whether there is a prgramme that converts f77 to f90/95? Because I am about to get source code from a supervisor, and I know f90 but he's written it in f77 :(
 
Technology news on Phys.org


Most (all ?) f77 code is also legal f90. F90 just adds new features.
 


You don't say. So if I were to modify my supervisor's code, hopefully I shouldn't run into any errors regarding the differing versions of FORTRAN?
 


You can compile f77 in f90, you can't compile f90 with f77. Time only goes forward.
 


mgb_phys said:
Time only goes forward.
very profound, thank you for your insight dear sir
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
8K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K