- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I am using an evaluation version of Intel Visual fortran for windows xp64 with 8GB of RAM. I noticed that when I define a real or integer type Array with size more than536700000 elements, the code does not compile (code 3) or gives the error "image exceeds maximum array size(80000000).
Is this due to being an evaluation version, a bug or a compiler option? Because in 64bit versions, there shouldn't be any limitation on the array size except of physical memory.
Thanks!
Hossein
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The static data section of a program (including preallocated arrays) cannot exceed 2GB. Make the array ALLOCATABLE then at start of program add
CALL InitArrays()
And write an InitArrays subroutine to perform your allocations (name this subroutine whatever make sense to you)
Jim Dempsey
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The static data section of a program (including preallocated arrays) cannot exceed 2GB. Make the array ALLOCATABLE then at start of program add
CALL InitArrays()
And write an InitArrays subroutine to perform your allocations (name this subroutine whatever make sense to you)
Jim Dempsey
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page