- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the total amount of addressable memory for ifort 9.1.029 on a Mac OS X 10.4.11?
I was trying to allocate a big array (~4.5 GB) when I had like 6.7 GB free memory, but my program crashed with the error "forrtl: severe (179): Cannot allocate array - overflow on array size calculation," for which the documentation says "FOR$IOS_ARRSIZEOVF. An attempt to dynamically allocate storage for an array failed because the required storage size exceeds addressable memory."
Then I tried splitting my array to two piece, each of which ~2.2 GB. This time, the first array was allocated o.k., but the second one gave me the error "forrtl: severe (41): insufficient virtual memory".
I searched the whole ifort documentation but got no answer. Can anyone help me out?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So your machine is acting as if you are running a 32-bit OS? Are you running the 32-bit ifort? Are your ifort and OS versions matched up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9.1 is 32-bit only on OS X. The amount of physical memory does not directly affect the amount of virtual memory available per-process. The limit for a 32-bit OS is 2GB. For more, you need the 64-bit version of OS X and the Intel 64-bit compiler (10.1 has this I think.)

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