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

What's the total amount of addressable memory?

youyu
Beginner
384 Views

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.

0 Kudos
2 Replies
TimP
Honored Contributor III
384 Views

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?

0 Kudos
Steven_L_Intel1
Employee
384 Views

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.)

0 Kudos
Reply