Disclaimer: I have no experience with Fortran, and I do not expect to use it for my research outside of this one case. This is why my goal (for now at least) is simply getting to code to run instead of really understanding the cause of the issues.
I’m trying to use publicly available Fortran code to analyze tidal constituents (computing nodal factors and equilibrium arguments).
I attempted to use an online Fortran compiler. After replacing “C” with “!” for comments, it still failed to compile. My guess is the code is for an older version of Fortran: one warning I got was “Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 1 at (1)”, but I also got several errors. Here is the code in the online compiler.
Based on the code output, would anyone know if the errors are due to Fortran versions. If so, what might be the simplest way to successfully compile it?
Thank you!