Discussion Overview
The discussion focuses on the use of the Include statement in Fortran, particularly regarding its implementation and issues encountered when trying to include subroutines in a main program. Participants also explore challenges related to data transfer between subroutines.
Discussion Character
- Technical explanation
- Debate/contested
- Homework-related
Main Points Raised
- One participant seeks help on using the Include statement with a specific file path and mentions encountering an error.
- Another participant provides a link to documentation for the Include statement in HP Fortran compilers and requests to see the code and error message for more specific assistance.
- A different participant shares their practice of not including drive letters in the Include statement and suggests using a different file extension for include files to distinguish them from compiled files.
- Another participant outlines potential reasons for errors, including incorrect file paths or improper placement of the Include statement within the code structure.
- The original poster reports successfully setting up the Include statement but encounters a new issue related to transferring data between two subroutines, mentioning the use of common blocks without success.
Areas of Agreement / Disagreement
Participants express differing opinions on the correct usage of the Include statement, particularly regarding file paths and naming conventions. The discussion remains unresolved regarding the best approach to transfer data between subroutines.
Contextual Notes
Participants have not reached a consensus on the most effective method for using the Include statement or transferring data between subroutines. There are also unresolved issues regarding the specific error messages encountered.