For context, I’m a complete newbie to fortran and only have limited experience with programming in general. I have mostly worked with python or matlab previously.
I’m trying to wrap some fortran code for solving delay differential equations with f2py. (The code was found here Fortran Codes). While trying to compile the code using gfortran on windows, I saw some errors. I assume I am doing something wrong, since the code itself is from a very reputable source.
I used the command:
gfortran radar5.f -o test
In addition to many errors about array dimensions being out of bounds, there was an error related to one variable’s intent attribute:
As far as I can tell, the variable in question has the attribute intent(inout) everywhere it’s being used. I’m sure the issue has to do with the fact that this code is pretty old, but I’m not sure what options I should be using.
Any help or relevant resources would be greatly appreciated