<?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: FORTRAN Runtime Error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597639#M172142</link>
    <description>&lt;P&gt;I had previously tried the Heap Array setting the Heap Array to 0 but did not know about setting the stack reserve size--that solved the problem ... thank you so much! beaucoup kudos!!&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 19:01:30 GMT</pubDate>
    <dc:creator>jph</dc:creator>
    <dc:date>2024-05-14T19:01:30Z</dc:date>
    <item>
      <title>FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1596369#M172105</link>
      <description>&lt;P&gt;I 'inherited' some FORTRAN/IMSL code that I can get to compile and link cleanly, but am getting the error below at runtime, for both the 'Debug' and 'Release' versions of the *.exe file ... this is my first FORTRAN application and I will confess to being a definite 'novice' in the "FORTRAN' department ... here's the error msg:&lt;/P&gt;&lt;P&gt;'The procedure entry point for_allocate_handle could not be located in the dynamic link library &amp;lt;path to exe&amp;gt;\&amp;lt;name of executable&amp;gt;.exe&lt;/P&gt;&lt;P&gt;If I try to run the (Debug) version within the IDE (MS Visual Studio Professional 2022, version 17.9.2), Intel FORTRAN Compiler 2024.0), I get an 'Unhandled Exception Stack Overflow' error on the 'PROGRAM' statement. I'm running this on a machine not connected to the internet, so it would take 'awhile' to paste in (er, retype) all of the messages that are dumped out to the 'Output' tab in the IDE, although I could do that (I think) with some effort. There are several references to 'Win32' though--not sure whether this could be causing the problem as I thought that this was a 64-bit application.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated--I'm just not sure where to start at this point. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 15:21:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1596369#M172105</guid>
      <dc:creator>jph</dc:creator>
      <dc:date>2024-05-09T15:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1596379#M172109</link>
      <description>&lt;P&gt;You seem to have several things going on.&lt;/P&gt;&lt;P&gt;The first message you describe about for_allocate_handle is a bit strange. That is the name of a procedure in the Intel Fortran run-time library, typically accessed from libifcorert.dll. Perhaps you transcribed the error incorrectly, as it should not name your executable as where it was looking for the function. Note that you will not be able to run a Debug configuration executable outside of the Visual Studio environment.&lt;/P&gt;&lt;P&gt;The first thing I would try is to build a "hello world" program in Visual Studio and run it there.&amp;nbsp; Create a new project and select the project type Fortran &amp;gt; Main Program Code. Build that and run it from within Visual Studio (I suggest using Debug &amp;gt; Start without debugging (CTRL-F5), otherwise you won't get to see the output.&lt;/P&gt;&lt;P&gt;Did you inherit the Visual Studio project that builds this application? It may have set some inappropriate values for the link properties that lead to the stack overflow error.&lt;/P&gt;&lt;P&gt;Most of those messages you see when starting a program in the debugger can be ignored.&lt;/P&gt;&lt;P&gt;As for 32-bit vs. 64-bit, this would be controlled by the build configuration, Win32 vs. x64.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 15:44:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1596379#M172109</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-05-09T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597597#M172137</link>
      <description>&lt;P&gt;Steve--&lt;/P&gt;&lt;P&gt;thanks so much for your help: I did verify that I could build/run 'hello world' and also determined that there was an issue reading an updated IMSL license file, which I corrected. So now, the 'Release' version (in MS Visual Studio 2022, 17.9.2 and Intel FORTRAN Compiler ifx 2024.0) of this code builds and runs (x64) ... however, I'm having issues with the 'Debug' (also x64) version (which is the version that I sort of need to run) ... I'm getting the error "forrtl: severe (170): Program Exception - stack overflow" when I attempt to run the Debug version, which was created with the same source as the Release version. I was attempting to match the compiler settings (between 'Release' and 'Debug') but so far cannot seem to get rid of this error. Unfortunately, this code is running on a 'standalone' system--I could probably retype some selected excerpts of the code if that would help, but I was hoping that there might be some compiler setting that should be set differently for Debug as compared with Release? Thanks again for your help!&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 15:07:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597597#M172137</guid>
      <dc:creator>jph</dc:creator>
      <dc:date>2024-05-14T15:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597604#M172138</link>
      <description>&lt;P&gt;Some progress could be made if you could provide the source code of your test program (along with data files, if any are needed). Quite frequently, "stack overflow" is easy to diagnose and remedy if the source code is available. Sometimes, however, errors in the program can cause the program to abort with stack overflow, but simply increasing the stack size may not solve the problem. Need the source.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 15:59:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597604#M172138</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2024-05-14T15:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597624#M172139</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/339034"&gt;@jph&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If security is a concern - submit a support request via a secure &lt;A href="https://supporttickets.intel.com/s/?language=en_US" target="_blank" rel="noopener"&gt;Online Service Center.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 17:49:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597624#M172139</guid>
      <dc:creator>Devorah_H_Intel</dc:creator>
      <dc:date>2024-05-14T17:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597625#M172140</link>
      <description>&lt;P&gt;Things to try:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Set the option Fortran &amp;gt; Optimization &amp;gt; Heap Arrays to 0 (zero)&lt;/LI&gt;&lt;LI&gt;Set the option Linker &amp;gt; System &amp;gt; Stack Reserve Size to 100000000&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 17:49:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597625#M172140</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-05-14T17:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597639#M172142</link>
      <description>&lt;P&gt;I had previously tried the Heap Array setting the Heap Array to 0 but did not know about setting the stack reserve size--that solved the problem ... thank you so much! beaucoup kudos!!&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 19:01:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597639#M172142</guid>
      <dc:creator>jph</dc:creator>
      <dc:date>2024-05-14T19:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597651#M172143</link>
      <description>&lt;P&gt;Be careful with that setting and don't make it excessively large, or else your program won't start.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 20:25:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1597651#M172143</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-05-14T20:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1598312#M172183</link>
      <description>&lt;P&gt;well, now that I can run the debug version of this code, I'm having some issues setting breakpoints in the debugger--I can click on the line on which I'm trying to set a break and the red, filled in circle appears (F9 also does this) ... however, when I attempt to run the program in the debugger, it seems to skip all of the breakpoints and (attempts to) run to the end--is there some 'setting' that I need to use to have it recognize breakpoints? sorry--I have used VS before, but not recently ... thanks (again)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 16:16:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1598312#M172183</guid>
      <dc:creator>jph</dc:creator>
      <dc:date>2024-05-16T16:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1598322#M172184</link>
      <description>&lt;P&gt;This is a debug build?&amp;nbsp; Is this just an executable, or a DLL that is called from something else? Please show a screenshot of the entire VS window with the breakpoint visible.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:09:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1598322#M172184</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-05-16T17:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: FORTRAN Runtime Error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1598581#M172197</link>
      <description>&lt;P&gt;Check the Configuration Manager and assure that the Build check box is checked for the configuration you are building. If it is not, you may be linking an older version of an object file into the executable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimdempseyatthecove_0-1715949231410.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/54823iCDE8833E95387E12/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="jimdempseyatthecove_0-1715949231410.png" alt="jimdempseyatthecove_0-1715949231410.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 12:34:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/FORTRAN-Runtime-Error/m-p/1598581#M172197</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2024-05-17T12:34:13Z</dc:date>
    </item>
  </channel>
</rss>

