- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to run a FORTRAN program in Debug-Modus andit stops with theError-Message: "Array Bounds Exceeded".
The problem is a globaltwo dimensional array DELTA(LI,LK) which is allocated with LI=110 and LK=110 at the beginning of theprogram(total element number of 12100). The application stops when an array element greater than 1000 in total is used in a loop:
(DELTA(11,10)-> 990 elements till DELTA(110,9) plus the 10 elements DELTA(10,10))
(message for the last element: Array expansion limited to 1000 nodes).
Is there any compiler option to increase this number of nodes?
Regards
Dnger
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(a) An array of 110 by 110 is not very big at all so your problem sounds like a code error.
(b) Can you show us the code, including the definitions?
(c) The "array expansion" message is in the debug watch window. For nodes after 1000 you can specify the ARRAY(1001:) and BARRAY(100:,100:)
ie you can specify the starting subscript number (and the ending subscript if you want to)
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page