<?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 overflow in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833519#M53673</link>
    <description>Turn on /check:arg_temp_created (Fortran &amp;gt; Run-Time &amp;gt; Check for Actual Arguments using temporary Storage &amp;gt; Yes, rebuild and rerun your program. Look to see if you get messages about a temporary being created. At these locations, your program is doing something inefficient - passing a possibly non-contiguous array section to a routine expecting a contiguous array. If you see this, you can have the called routine accept the argument as assumed-shape (:) and provide an explicit interface to all callers, or do what is needed to pass the array as a contiguous section.&lt;BR /&gt;&lt;BR /&gt;Your program is slow because it requires making large copies of one or more arrays - that you need to set /heap-arrays is an indication of this. If you can eliminate the copies, your program will get MUCH faster.&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Nov 2007 21:41:37 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2007-11-01T21:41:37Z</dc:date>
    <item>
      <title>Intel Fortran compiler 9.1 stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833511#M53665</link>
      <description>&lt;P&gt;I have exactly the same code for three-dimensional CFD simulation (large memory required) and considered dynamic memory allocation for all larger arrays.If compiled by Intel Fortran compiler 7, it runs very well; however if compiled by Intel Fortran compiler 9.1 on the same computer, it gives me "stack overflow". &lt;/P&gt;
&lt;P&gt;Is there any set-up I need to do for Intel Frotran compiler 9.1 to prevent the stack overflow.&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2007 13:48:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833511#M53665</guid>
      <dc:creator>huanghe</dc:creator>
      <dc:date>2007-04-24T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Fortran compiler 9.1 stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833512#M53666</link>
      <description>Try adding the /heap-arrays option to get the same behavior as IFC7.</description>
      <pubDate>Tue, 24 Apr 2007 15:28:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833512#M53666</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-04-24T15:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Fortran compiler 9.1 stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833513#M53667</link>
      <description>Can you tell me how toadd the option in Microsoft Visual Studio 2005 environment? Thanks.</description>
      <pubDate>Tue, 24 Apr 2007 18:10:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833513#M53667</guid>
      <dc:creator>huanghe</dc:creator>
      <dc:date>2007-04-24T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Fortran compiler 9.1 stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833514#M53668</link>
      <description>&lt;P&gt;Go to the property page Fortran &amp;gt; Command Line. In the Additional Options box, type in:&lt;/P&gt;
&lt;P&gt;/heap_arrays&lt;/P&gt;
&lt;P&gt;You will need a version of the compiler released in the last six months in order to use this.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2007 19:50:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833514#M53668</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-04-24T19:50:29Z</dc:date>
    </item>
    <item>
      <title>stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833515#M53669</link>
      <description>Now I'm using Intel Fortran Compiler 10.0.025. I tried the /heap-arrays option as instructed. But it doesn't work.It I still have the stack overflow problem. &lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 21:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833515#M53669</guid>
      <dc:creator>huanghe</dc:creator>
      <dc:date>2007-10-31T21:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833516#M53670</link>
      <description>Did you try /heap_arrays or /heap-arrays ?&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Nov 2007 00:42:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833516#M53670</guid>
      <dc:creator>ssragunath1</dc:creator>
      <dc:date>2007-11-01T00:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833517#M53671</link>
      <description>Doesn't matter - they are equivalent.&lt;BR /&gt;&lt;BR /&gt;Please send a test case to Intel Premier Support so that we can investigate.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Nov 2007 01:01:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833517#M53671</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-11-01T01:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833518#M53672</link>
      <description>After input /heap_arrays at command line, in the optimization set-up window, there is a new Heap Arrays item appears, I inputted 100 (kb) in the blank after it. It works now. The problem now is that it runs very slow. Any suggestions for running the program faster? Does it help if I set the Optimization/Parallization as Yes(/Qparallel)?&lt;BR /&gt;&lt;BR /&gt;thanks a lot,&lt;BR /&gt;&lt;BR /&gt;heqing&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Nov 2007 20:59:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833518#M53672</guid>
      <dc:creator>huanghe</dc:creator>
      <dc:date>2007-11-01T20:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: stack overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833519#M53673</link>
      <description>Turn on /check:arg_temp_created (Fortran &amp;gt; Run-Time &amp;gt; Check for Actual Arguments using temporary Storage &amp;gt; Yes, rebuild and rerun your program. Look to see if you get messages about a temporary being created. At these locations, your program is doing something inefficient - passing a possibly non-contiguous array section to a routine expecting a contiguous array. If you see this, you can have the called routine accept the argument as assumed-shape (:) and provide an explicit interface to all callers, or do what is needed to pass the array as a contiguous section.&lt;BR /&gt;&lt;BR /&gt;Your program is slow because it requires making large copies of one or more arrays - that you need to set /heap-arrays is an indication of this. If you can eliminate the copies, your program will get MUCH faster.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Nov 2007 21:41:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-Fortran-compiler-9-1-stack-overflow/m-p/833519#M53673</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-11-01T21:41:37Z</dc:date>
    </item>
  </channel>
</rss>

