Software Archive
Read-only legacy content

Fortran 66

Intel_C_Intel
Employee
636 Views
I am trying to complice a program written in Fortran 66 in CVF. The original user's manual said that it should compile in 77, however. I have run into a reoccuring error and I'm not sure what the source is.

severe(157) : Program exception - access violation

I have the /check:nobounds option on because of the "tricks" the original programmer used. I read Steve's article in the Visual Fortran newsletter, which lead me notice that several arrays were dimensioned with (0). For example,

DO 60 ID=1,18
TITLE(ID) = AREAD(0)
60 CONTINUE

This happens several times through out the program, and I'm not sure if it could be causing the error or if it's something else. Also, I'm not sure how to fix it without drastically changing a long and complicated program. Any suggestions or tips?

Thanks
0 Kudos
1 Reply
Steven_L_Intel1
Employee
636 Views
Using an array index of 0 isn't necessarily an error, but it could be, especially if the actual array was declared as having a lower bound of 1. I'd need to see the whole program to know for sure. Send it as a ZIP file attachment to us at [email protected] and we'll take a look.

Steve
0 Kudos
Reply