<?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 Geoff, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029525#M110221</link>
    <description>&lt;P&gt;Geoff,&lt;/P&gt;

&lt;P&gt;Assuming the license I found for your company is correct - it's the only one for the Fortran Windows product that is still valid - then yes, you would be able to install and use version 16 when it first releases, and maybe even the first update. I see a support end date of November 28, 2015.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Version 16 beta is pretty good, but you can keep multiple versions around and select which one you want in Visual Studio. However, you must not "go to production" using a beta compiler!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2015 23:30:17 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2015-04-23T23:30:17Z</dc:date>
    <item>
      <title>intel fortran DLL is klobbering my SIGINT handler!</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029522#M110218</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;

&lt;P&gt;I'm doing an integration piece between a Java front-end and a very mathy chunk of fortran we've written. We've got it being loaded and executed properly.&lt;/P&gt;

&lt;P&gt;The one annoying thing is that I'm using the JVM to subscribe to SIGINT, so I can do some persistence-ee things if the user hits Ctrl + C on one of our command line tools. This works well, except for that if I load the fortran dll after the signal handler was registered with the JVM, the fortran DLL appears to over-write the signal handler I put in with its own.&lt;/P&gt;

&lt;P&gt;Fortran's default SIGINT handler prints out this:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;error (200): program aborting due to control-C event
Image              PC        Routine            Line        Source
SOGOV1.dll         6B0B69C8  Unknown               Unknown  Unknown
KERNELBASE.dll     772123C4  Unknown               Unknown  Unknown
KERNEL32.DLL       74E07C04  Unknown               Unknown  Unknown
ntdll.dll          775DB54F  Unknown               Unknown  Unknown
ntdll.dll          775DB51A  Unknown               Unknown  Unknown
&lt;/PRE&gt;

&lt;P&gt;Whereas mine is a little more subtle, and I've got it working so long as I use stub code and avoid loading the fortran code (SOGOV1.dll).&lt;/P&gt;

&lt;P&gt;Thanks for any help!&lt;/P&gt;

&lt;P&gt;-Geoff&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 05:30:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029522#M110218</guid>
      <dc:creator>Groos__Geoff</dc:creator>
      <dc:date>2015-04-17T05:30:37Z</dc:date>
    </item>
    <item>
      <title>Actually, it's the Console</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029523#M110219</link>
      <description>&lt;P&gt;Actually, it's the Console Control Event Handler that is doing this. In version 16, currently in beta, we have introduced a new environment variable FOR_DISABLE_CONSOLE_CTRL_HANDLER which, if you set it to 1 before running the program, will prevent the run-time library (RTL) from establishing this handler. Feel free to download the beta and try this.&lt;/P&gt;

&lt;P&gt;The RTL does check to see if you have a SIGINT handler and should avoid overriding it if there is one, but perhaps this test is not working for your environment. It can't check for use of SetConsoleCtrlEventHandler, though, which is why we created this new environment variable.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 15:36:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029523#M110219</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-04-17T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029524#M110220</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Actually, it's the Console Control Event Handler that is doing this. In version 16, currently in beta, we have introduced a new environment variable FOR_DISABLE_CONSOLE_CTRL_HANDLER which, if you set it to 1 before running the program, will prevent the run-time library (RTL) from establishing this handler. Feel free to download the beta and try this.&lt;/P&gt;

&lt;P&gt;The RTL does check to see if you have a SIGINT handler and should avoid overriding it if there is one, but perhaps this test is not working for your environment. It can't check for use of SetConsoleCtrlEventHandler, though, which is why we created this new environment variable.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks Dr Fortran!&lt;/P&gt;

&lt;P&gt;I must admit I've had much more success asking technical questions on this board than I have technical ones about java on stack overflow.&lt;/P&gt;

&lt;P&gt;I suppose this question is better off aimed at the Intel sales support, but we purchased our compiler license about 8 months ago now and I'm wondering: will we be able to upgrade to version 16 without additional cost? Also, are you confident enough in the current beta to suggest that we go to production with it if we cant find any problems? I would really like to get the ability to hit Ctrl + C to our customers soon, and this is the only thing blocking that.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;-Geoff&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 21:59:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029524#M110220</guid>
      <dc:creator>Groos__Geoff</dc:creator>
      <dc:date>2015-04-23T21:59:57Z</dc:date>
    </item>
    <item>
      <title>Geoff,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029525#M110221</link>
      <description>&lt;P&gt;Geoff,&lt;/P&gt;

&lt;P&gt;Assuming the license I found for your company is correct - it's the only one for the Fortran Windows product that is still valid - then yes, you would be able to install and use version 16 when it first releases, and maybe even the first update. I see a support end date of November 28, 2015.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Version 16 beta is pretty good, but you can keep multiple versions around and select which one you want in Visual Studio. However, you must not "go to production" using a beta compiler!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 23:30:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/intel-fortran-DLL-is-klobbering-my-SIGINT-handler/m-p/1029525#M110221</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-04-23T23:30:17Z</dc:date>
    </item>
  </channel>
</rss>

