<?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 Overflow in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802413#M38399</link>
    <description>Dear Respondents:&lt;BR /&gt;&lt;BR /&gt;I set the warn declarations and warn undeclared and that seems to have solved the problem.&lt;BR /&gt;&lt;BR /&gt;I also fixed the implicit none.&lt;BR /&gt;&lt;BR /&gt;I used to use the 4Yd all the time in Powerstation and before in MF.&lt;BR /&gt;&lt;BR /&gt;Fun really.&lt;BR /&gt;&lt;BR /&gt;Fixing all these fixed the stack overflow.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;JMN</description>
    <pubDate>Tue, 21 Jun 2011 04:22:38 GMT</pubDate>
    <dc:creator>JohnNichols</dc:creator>
    <dc:date>2011-06-21T04:22:38Z</dc:date>
    <item>
      <title>Stack Overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802408#M38394</link>
      <description>Dear Steve:&lt;BR /&gt;&lt;BR /&gt;You know you learn things all the time.&lt;BR /&gt;&lt;BR /&gt;I always use the implicit none at the top of my code. When I used the batch files in Microsoft Fortran there was a switch one could set to check that all the variables were declared and used. &lt;BR /&gt;&lt;BR /&gt;I just had a new program Iam developing crash with a Stack Overflow error and a out of bounds in Windows fault. &lt;BR /&gt;&lt;BR /&gt;The code had been working perfectly and I moved the subroutine from the main file to a separate f90 file.&lt;BR /&gt;&lt;BR /&gt;Along the way I found out that I have to set the debug switches in the Preferences, I had always assumed these would be set, dumb really, but a simple trap. &lt;BR /&gt;&lt;BR /&gt;Took an age to fix all the code then.&lt;BR /&gt;&lt;BR /&gt;Question: Do I have to put Implicit None at the top of every routine or just in the main program?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;JMN</description>
      <pubDate>Mon, 20 Jun 2011 20:22:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802408#M38394</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2011-06-20T20:22:49Z</dc:date>
    </item>
    <item>
      <title>Stack Overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802409#M38395</link>
      <description>Dear Steve:&lt;BR /&gt;&lt;BR /&gt;My machine crashed in the middle of the send, so somehow it went a few times&lt;BR /&gt;&lt;BR /&gt;Sorry&lt;BR /&gt;&lt;BR /&gt;JMN</description>
      <pubDate>Mon, 20 Jun 2011 20:26:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802409#M38395</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2011-06-20T20:26:45Z</dc:date>
    </item>
    <item>
      <title>Stack Overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802410#M38396</link>
      <description>IMPLICIT NONE belongs in each program unit. You can use /warn:declarations to have that automatically applied if you wish, but I prefer to have it in the code.&lt;BR /&gt;&lt;BR /&gt;I don't know what switches you thought you had to set - can you explain in more detail? A debug configuration should have what you need by default.</description>
      <pubDate>Mon, 20 Jun 2011 20:36:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802410#M38396</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-06-20T20:36:23Z</dc:date>
    </item>
    <item>
      <title>Stack Overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802411#M38397</link>
      <description>I deleted the duplicates - no worries.&lt;BR /&gt;&lt;BR /&gt;Moving code to another file should not affect how the code runs. Stack overflow can happen for many reasons - see &lt;A href="http://software.intel.com/en-us/forums/showpost.php?p=12913"&gt;this old Doctor Fortran post&lt;/A&gt; for more on stack overflow.</description>
      <pubDate>Mon, 20 Jun 2011 21:13:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802411#M38397</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-06-20T21:13:42Z</dc:date>
    </item>
    <item>
      <title>Stack Overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802412#M38398</link>
      <description>&lt;I&gt;&amp;gt; Do I have to put Implicit None at the top of every routine or just in the main program?&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;Steve already gave you the answer, and here is a hint that will explain why it has to be so. "Implicit None" is a Fortran statement, not a compiler directive. Because Fortran compiles each subprogram separately, the statement applies only to the subprogram in which it is placed. In contrast to C, Fortran statements do not have source-file scope.&lt;BR /&gt;&lt;BR /&gt;A minor clarification: "Implicit None" is a declaration, and must appear &lt;SPAN style="text-decoration: underline;"&gt;after&lt;/SPAN&gt; the subprogram declaration statement and any USE statements.</description>
      <pubDate>Tue, 21 Jun 2011 00:16:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802412#M38398</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-06-21T00:16:24Z</dc:date>
    </item>
    <item>
      <title>Stack Overflow</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802413#M38399</link>
      <description>Dear Respondents:&lt;BR /&gt;&lt;BR /&gt;I set the warn declarations and warn undeclared and that seems to have solved the problem.&lt;BR /&gt;&lt;BR /&gt;I also fixed the implicit none.&lt;BR /&gt;&lt;BR /&gt;I used to use the 4Yd all the time in Powerstation and before in MF.&lt;BR /&gt;&lt;BR /&gt;Fun really.&lt;BR /&gt;&lt;BR /&gt;Fixing all these fixed the stack overflow.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;JMN</description>
      <pubDate>Tue, 21 Jun 2011 04:22:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Stack-Overflow/m-p/802413#M38399</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2011-06-21T04:22:38Z</dc:date>
    </item>
  </channel>
</rss>

