<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic My guess is that the IA-32 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929663#M87502</link>
    <description>&lt;P&gt;My guess is that the IA-32 compiler is being used.&lt;/P&gt;
&lt;P&gt;As also mentioned in the StackOverflow discussion where you also posted this, your use of 20 dimensions is non-standard and non-portable.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2013 19:04:37 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2013-09-16T19:04:37Z</dc:date>
    <item>
      <title>Cannot allocate array - overflow on array size calculation.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929661#M87500</link>
      <description>&lt;P&gt;I am trying to run a simulation program on my laptop (Linux 3.8.0-25-generic x86_64, with Ubuntu 13.04). it compiles ok but when getting to allocation of some array sizes i get:&lt;/P&gt;
&lt;P&gt;forrtl: severe (179): Cannot allocate array - overflow on array size calculation.&lt;/P&gt;
&lt;P&gt;what I did is:&lt;/P&gt;
&lt;P&gt;Some googling about this message (some links attached) led me to conclude that this is generated because my program is out of memory.&lt;/P&gt;
&lt;P&gt;But, then I made my array very small, but still got the same problem.&lt;/P&gt;
&lt;P&gt;Some found threads about my error:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/269131" target="_blank"&gt;http://software.intel.com/en-us/forums/topic/269131&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But did not help.&lt;/P&gt;
&lt;P&gt;This is the code:&lt;/P&gt;
&lt;P&gt;program memoria&lt;BR /&gt;implicit none&lt;BR /&gt;integer :: n,num&lt;BR /&gt;complex, dimension(:,:,:,:,:,:,:,:,:,:,:,&amp;amp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :,:,:,:,:,:,:,:,:,:,&amp;amp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :), allocatable :: ddptrj&lt;BR /&gt;n=4&lt;BR /&gt;num=21&lt;BR /&gt;allocate(ddptrj(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,num))&lt;BR /&gt;deallocate(ddptrj)&lt;BR /&gt;endprogram memoria&lt;/P&gt;
&lt;P&gt;Does anybody see what is the problem?&lt;/P&gt;
&lt;P&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2013 14:42:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929661#M87500</guid>
      <dc:creator>beñat_m_</dc:creator>
      <dc:date>2013-09-15T14:42:30Z</dc:date>
    </item>
    <item>
      <title>So you're asking for:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929662#M87501</link>
      <description>&lt;P&gt;So you're asking for:&lt;/P&gt;
&lt;P&gt;4^21 x 21 elements, each 8 bytes, or 738,871,813,865,472 bytes of memory - 738 terabytes of RAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I can compile this code with the latest Composer XE 2013 SP1 compiler - what version are you using.&amp;nbsp; But this will never never never run, not even close.&amp;nbsp; Even though you can have VIRTUALLY unlimited memory with 64 bit addressing, you have to have on your PC or server (PHYSICAL RAM + PAGE SPACE) in bytes sufficient to hold the array.&amp;nbsp; Do you have 738TB of Ram, or even 738TB of disk space allocated for paging space?&amp;nbsp; I doubt it.&lt;/P&gt;
&lt;P&gt;One must size a problem to fit their server or PC capacity.&amp;nbsp; This is RAM + PAGE space, ideally you want about 80% of that MAXIMUM for your arrays or less. And even then, you'll be paging which will grind your code to a crawl.&amp;nbsp; Best case: take 80% of RAM and target that for all arrays.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;ron&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:18:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929662#M87501</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2013-09-16T18:18:00Z</dc:date>
    </item>
    <item>
      <title>My guess is that the IA-32</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929663#M87502</link>
      <description>&lt;P&gt;My guess is that the IA-32 compiler is being used.&lt;/P&gt;
&lt;P&gt;As also mentioned in the StackOverflow discussion where you also posted this, your use of 20 dimensions is non-standard and non-portable.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 19:04:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929663#M87502</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-09-16T19:04:37Z</dc:date>
    </item>
    <item>
      <title>Ok, thanks both Ron and Steve</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929664#M87503</link>
      <description>&lt;P&gt;Ok, thanks both Ron and Steve, I think I need to figure out something else in order to not allocate such huge array. Because it is obvious from everybodie's comments about this issue, that is not a common thing to do such thing, therefore, there must be another way to do what I want to do.&lt;/P&gt;
&lt;P&gt;Thanks wise people!!&lt;/P&gt;
&lt;P&gt;Be&lt;EM&gt;ñ&lt;/EM&gt;at&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 08:53:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929664#M87503</guid>
      <dc:creator>beñat_m_</dc:creator>
      <dc:date>2013-09-17T08:53:13Z</dc:date>
    </item>
    <item>
      <title>What is your need for that</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929665#M87504</link>
      <description>&lt;P&gt;What is your need for that many dimensions? &amp;nbsp;Running a typical "3D" simulation that varies in time generally only requires 5 dimensions: x, y, z, time, variable (Often represented as many 3d or 4d array variables and not a single 5d array). &amp;nbsp;Also keep in mind, as noted above, using more than 7 dimensions (15 in Fortran 2008) is nonconforming to the standard and your code is not guaranteed to compile with other fortran compilers.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 15:50:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929665#M87504</guid>
      <dc:creator>Casey</dc:creator>
      <dc:date>2013-09-17T15:50:56Z</dc:date>
    </item>
    <item>
      <title>Sorry guys,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929666#M87505</link>
      <description>&lt;P&gt;Sorry guys,&lt;/P&gt;

&lt;P&gt;I need to post a new question and I can't see where, I do not see the option to post a question :(&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:43:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929666#M87505</guid>
      <dc:creator>beñat_m_</dc:creator>
      <dc:date>2014-07-08T14:43:50Z</dc:date>
    </item>
    <item>
      <title>Go back to the forum main</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929667#M87506</link>
      <description>&lt;P&gt;Go back to the forum main page (https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x) and look for the New Topic button on the left, below the Announcements box.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2014 14:58:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Cannot-allocate-array-overflow-on-array-size-calculation/m-p/929667#M87506</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-07-08T14:58:38Z</dc:date>
    </item>
  </channel>
</rss>

