In a fortran-77 written program, the real variables are defined as: Implicit double precision (A-H, O-Z).
When the program was compiled using FTN-95, link errors come up with the values of KIND for some arrays seemingly different in differnt subroutines. I am wondering if the real variable must be defined in each subroutine by adding up the the following two lines:
integer, parameter :: dp=kind(1.d0) real (kind=dp) :: x,y,z....
Values of KIND for those real and integer variables should be the same in the program?
Thanks,