I am trying to modify a Fortran program which consists of a main file and multiple subroutine and module files. I have modified the existing subroutine, and when I was debugging the code, the message appeared where the program has triggered a break point.
I checked the terminal the message is as follows:
forrtl: severe (408): fort: (11): Subscript #2 of the array CHECKED has value 0 which is less than the lower bound of 1
I would greatly appreciate if you could give me advice on how to solve this error.
Thank you so much!