<?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 Stack Size in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808127#M41252</link>
    <description>If you don't absolutely know how much stack you're going to need, /heap-arrays is a win. This is especially true with 64-bit applications where the stack is limited to 1GB just as it is on 32-bits.&lt;BR /&gt;&lt;BR /&gt;Yes, if you set the stack reserve size high enough for your program to run, you won't lose any performance.&lt;BR /&gt;&lt;BR /&gt;As for doing both - you can, but with /heap-arrays enabled, the use of the stack will be much lower.&lt;BR /&gt;&lt;BR /&gt;You may want to read &lt;A target="_blank" href="http://software.intel.com/en-us/forums/showpost.php?p=12913"&gt;Doctor Fortran - Don't Blow Your Stack!&lt;/A&gt;</description>
    <pubDate>Fri, 17 Feb 2012 02:31:06 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2012-02-17T02:31:06Z</dc:date>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808124#M41249</link>
      <description>Hi, I have IVF 2008 Version 9.0 complier.&lt;BR /&gt;&lt;BR /&gt;Recently, I run into stack overflow problem. The problem went away with either increasing the stack sizeor using heap array compiler option. My question is that if we are going to distribute theexecutibles to end users, which option we should choose, increasing stack size or using heap array compiler option? We know that heap array option makes the program 5% slower for certain cases and no significant slow down for most our cases.&lt;BR /&gt;Any cons if we increase the stack size while making executibles? I mean what if someone's memory is much smaller than our specified stack size, will it cause problems? I am asking since the recommendation is to use heap array compiler option and I just want to know why. &lt;BR /&gt;&lt;BR /&gt;Thanks, Maria&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2012 13:32:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808124#M41249</guid>
      <dc:creator>maria</dc:creator>
      <dc:date>2012-02-16T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808125#M41250</link>
      <description>It is unlikely that you would be setting the stack size high enough to pose a problem for your users, unless you "go crazy" with it, but there is the possibility that you don't set it high enough and a stack error will happen. This is why I generally recommend /heap-arrays.</description>
      <pubDate>Thu, 16 Feb 2012 14:30:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808125#M41250</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-16T14:30:56Z</dc:date>
    </item>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808126#M41251</link>
      <description>Thanks Steve.&lt;BR /&gt;&lt;BR /&gt;Just want to make sure that I understand your recommendation. You said that 'I generally&lt;BR /&gt;recommend /heap arrays'. Does this mean that in general /heap arrays is better when you &lt;BR /&gt;are not sure the size? If you 100% sure about temp array size, you may increase stack size only without losing the speed. Is this a true statement? One more question, canI do /heap arrays and increasing stack size at the &lt;BR /&gt;same time? What will happen if I do this? Sorry that I don't totally understand stack and help size, so I am asking all these entry level questions. &lt;BR /&gt;&lt;BR /&gt;Maria</description>
      <pubDate>Thu, 16 Feb 2012 23:53:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808126#M41251</guid>
      <dc:creator>maria</dc:creator>
      <dc:date>2012-02-16T23:53:25Z</dc:date>
    </item>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808127#M41252</link>
      <description>If you don't absolutely know how much stack you're going to need, /heap-arrays is a win. This is especially true with 64-bit applications where the stack is limited to 1GB just as it is on 32-bits.&lt;BR /&gt;&lt;BR /&gt;Yes, if you set the stack reserve size high enough for your program to run, you won't lose any performance.&lt;BR /&gt;&lt;BR /&gt;As for doing both - you can, but with /heap-arrays enabled, the use of the stack will be much lower.&lt;BR /&gt;&lt;BR /&gt;You may want to read &lt;A target="_blank" href="http://software.intel.com/en-us/forums/showpost.php?p=12913"&gt;Doctor Fortran - Don't Blow Your Stack!&lt;/A&gt;</description>
      <pubDate>Fri, 17 Feb 2012 02:31:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808127#M41252</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-17T02:31:06Z</dc:date>
    </item>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808128#M41253</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;I don't find the article in your link.</description>
      <pubDate>Fri, 17 Feb 2012 19:07:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808128#M41253</guid>
      <dc:creator>a_leonard</dc:creator>
      <dc:date>2012-02-17T19:07:54Z</dc:date>
    </item>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808129#M41254</link>
      <description>Sorry - I should have linked to the specific post. Fixed.</description>
      <pubDate>Fri, 17 Feb 2012 19:18:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808129#M41254</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-17T19:18:50Z</dc:date>
    </item>
    <item>
      <title>Stack Size</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808130#M41255</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1329714666343="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=321057" href="https://community.intel.com/en-us/profile/321057/" class="basic"&gt;maria&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...I mean what if someone's &lt;SPAN style="text-decoration: underline;"&gt;memory is much smaller than our specified stack size, will it cause problems&lt;/SPAN&gt;?...&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;Yes.An applicationwon't be able to allocate a requested memory block and it will exit or even crash at a startup.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Feb 2012 05:16:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Size/m-p/808130#M41255</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-20T05:16:17Z</dc:date>
    </item>
  </channel>
</rss>

