Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Application Error

elf
Novice
694 Views
I'm using CVF6.5a and I got the following error when I tried to execute a program. What does it mean? In fact, I've tried to run the same program under MSFPS4.0 which appeared to be okay. Please help. Thank you

The exception Array bounds exceeded.
(0xc000008c) occued in the application at location 0x00403352
0 Kudos
1 Reply
james1
Beginner
694 Views
It is telling you that you used an array subscript that is not within the defined limit of the array being accessed, for example if you defined an array INTEGER A(10) and accessed A(11) or A(0), etc while the code is executing.

By default I believe CVF IDE has array bounds checking turned on. You can either turn it off (/check:nobounds) or change the code to only access array elements within the defined range. Usually the latter is preferable.

James
0 Kudos
Reply