Discussion Overview
The discussion revolves around the challenge of integrating two FORTRAN codes, where one serves as the main program and the other performs calculations related to geophysics. Participants explore potential methods for combining these codes, particularly in the context of using the Intel Fortran compiler on a Linux system.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant expresses uncertainty about whether the second code can be represented as a subroutine due to its size and complexity, suggesting the possibility of one executable calling the other.
- Another participant identifies issues with using the second program as a module, citing specific error messages related to the placement of OPEN statements within the module's specification part.
- A later reply points out that the OPEN statements in the second program are incorrectly placed and suggests that variable declarations should be moved above any executable statements to resolve the errors.
- Another suggestion is made to either merge the second program into the first to create a single source file or to adapt the routines of the second program for compilation into a callable code library.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the best approach to integrate the two codes, as multiple strategies are proposed and debated.
Contextual Notes
Limitations include the specific errors encountered with the module implementation and the potential complexity of merging large codebases. The discussion does not resolve the best method for integration.
Who May Find This Useful
Readers interested in FORTRAN programming, code integration, and those facing similar challenges in combining large codebases may find this discussion relevant.