<?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 Re: stack size, heap size, large data set in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-heap-size-large-data-set/m-p/853709#M66837</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I suggest that you add the /heap-arrays option to your build - then you will likely not have to worry about the stack. You can set a higher stack size in the Linker &amp;gt; System &amp;gt; Stack Reserve Size property. Note, though, that the stack is still limited to about 1GB even on the 64-bit platform. I thing in version 10, there is no property for heap arrays so you can add it on the "Command Line" property page under "Additional Options".&lt;BR /&gt;&lt;BR /&gt;I also recommend using ALLOCATABLE arrays for your large arrays rather than declaring them some large fixed size.&lt;BR /&gt;&lt;BR /&gt;Lastly, version 10.0 is old and you may run into some issues. Version 11 is current.&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Jan 2009 14:28:58 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2009-01-30T14:28:58Z</dc:date>
    <item>
      <title>stack size, heap size, large data set</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-heap-size-large-data-set/m-p/853708#M66836</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I am using Microsoft Visual Studio 2005 and the Intel Visual Fortran Compiler 10.0. Also, I am using the compiler on a 64 bit platform. &lt;BR /&gt;&lt;BR /&gt;I would like to read a large data matrix into fortran and I am worried about my program crashing because of stack size or other memory limitations. Is there a way to increase the stack size so this will not happen? Or should I increase the heap size instead of, or in addition to,increasing the stack size? Also, when I increase the stack size or heap size for the overall program, does this limit the amount of memory that I can allocate to each thread when I parallelize in the program?&lt;BR /&gt;&lt;BR /&gt;I appreciate any advice. Thanks!</description>
      <pubDate>Fri, 30 Jan 2009 06:44:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-heap-size-large-data-set/m-p/853708#M66836</guid>
      <dc:creator>dsmanoli</dc:creator>
      <dc:date>2009-01-30T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: stack size, heap size, large data set</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-heap-size-large-data-set/m-p/853709#M66837</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
I suggest that you add the /heap-arrays option to your build - then you will likely not have to worry about the stack. You can set a higher stack size in the Linker &amp;gt; System &amp;gt; Stack Reserve Size property. Note, though, that the stack is still limited to about 1GB even on the 64-bit platform. I thing in version 10, there is no property for heap arrays so you can add it on the "Command Line" property page under "Additional Options".&lt;BR /&gt;&lt;BR /&gt;I also recommend using ALLOCATABLE arrays for your large arrays rather than declaring them some large fixed size.&lt;BR /&gt;&lt;BR /&gt;Lastly, version 10.0 is old and you may run into some issues. Version 11 is current.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:28:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-heap-size-large-data-set/m-p/853709#M66837</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-01-30T14:28:58Z</dc:date>
    </item>
  </channel>
</rss>

