I am a first time user of CVF but have been writing fortran codes on UNIX and Linux envronments for more than a decade. I moved a program that runs smoothly on HP unix to CVF on win2000 platform and got rid of all compilation errors. I built the executable (TEST.exe) with check:all option (this include checking bounds). I have not been able to execute the program successfully so far.
I keep getting the run time error 157:
forrtl: severe(157): Program Exception - access violation
Image PC Routine Line Source
TEST.exe 0040DB0B CVALLEY_RATES 682 elescat.f
TEST.exe 0040B5CE SCAGAAS 402 elescat.f
TEST.exe 00440BB8 ELMAIN_PARAB 544 mcalnir.f
TEST.exe 004AA2F9 Unknown Unknown Unknown
TEST.exe 0049C6E4 Unknown Unknown Unknown
KERNEL32.dll 77E8D326 Unknown Unknown Unknown
Immediately after line 682 in subroutine cvalley, there is a call to a subroutine. Line 682 is a simple assignment statement (Iva=1). It does not make to thr subroutine.
I used the help menu and got the following about error 157:
"severe(157): Program Exception - access violation
FOR$IOS_ACCVIO. The program tried to read from or write to a virtual address for which it does not have the appropriate access. Try recompiling with the /check:bounds option set to see if the cause is an out-of-bounds memory reference.
This is an operating system error. See your operating system documentation for more information."
The above message did NOT help. I am using option /check:all already.
When I stop the debugger, I get the following message
Loaded symbols for 'D:code01TESTDebugTEST.exe'
Loaded 'C:WINNTsystem32NTDLL.DLL', no matching symbolic information found.
Loaded 'C:WINNTsystem32KERNEL32.DLL', no matching symbolic information found.
Loaded 'C:WINNTsystem32msvcrt.dll', no matching symbolic information found.
Loaded 'C:WINNTsystem32dbghelp.dll', no matching symbolic information found.
The thread 0x654 has exited with code 0 (0x0).
The program 'D:code01TESTDebugTEST.exe' has exited with code 0 (0x0).
So, I went hunting for the above files and found
all the above *.DLL files are in the 'C:WINNTsystem32' directory.
Can any one help me with the above. I hate to switch back to my slow but reliable unix HP workstations.