<?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 Error Trapping with SIGNALQQ (or other?) in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-Trapping-with-SIGNALQQ-or-other/m-p/938562#M89424</link>
    <description>&lt;P&gt;We are trying to use some signal handling to trap exceptions in our fortran program on Windows using SIGNALQQ.&amp;nbsp;&amp;nbsp; It works for some errors but not for others, for example&lt;/P&gt;
&lt;P&gt;forrtl: severe (408): fort: (10): Subscript #1 of the array TEMP_X has value 45 which is greater than the upper bound of 2&lt;/P&gt;
&lt;P&gt;will not be caught by the error handler, but something like an access violation will be.&amp;nbsp; We&amp;nbsp; are using based off of an intel example we found&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$ABORT, h_abort)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$FPE, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$ILL, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$INT, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$SEGV, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$TERM, h_abort)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are we missing any here or is there a different way to trap 'other' error types before the program crashes?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2013 19:13:23 GMT</pubDate>
    <dc:creator>Austen_D_</dc:creator>
    <dc:date>2013-02-08T19:13:23Z</dc:date>
    <item>
      <title>Error Trapping with SIGNALQQ (or other?)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-Trapping-with-SIGNALQQ-or-other/m-p/938562#M89424</link>
      <description>&lt;P&gt;We are trying to use some signal handling to trap exceptions in our fortran program on Windows using SIGNALQQ.&amp;nbsp;&amp;nbsp; It works for some errors but not for others, for example&lt;/P&gt;
&lt;P&gt;forrtl: severe (408): fort: (10): Subscript #1 of the array TEMP_X has value 45 which is greater than the upper bound of 2&lt;/P&gt;
&lt;P&gt;will not be caught by the error handler, but something like an access violation will be.&amp;nbsp; We&amp;nbsp; are using based off of an intel example we found&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$ABORT, h_abort)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$FPE, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$ILL, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$INT, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$SEGV, h_abort) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;i4ret = SIGNALQQ(SIG$TERM, h_abort)&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are we missing any here or is there a different way to trap 'other' error types before the program crashes?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 19:13:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-Trapping-with-SIGNALQQ-or-other/m-p/938562#M89424</guid>
      <dc:creator>Austen_D_</dc:creator>
      <dc:date>2013-02-08T19:13:23Z</dc:date>
    </item>
    <item>
      <title>Not at this time, but in the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-Trapping-with-SIGNALQQ-or-other/m-p/938563#M89425</link>
      <description>&lt;P&gt;Not at this time, but in the next major release we'll have a new way of establishing a handler for all types of Fortran run-time errors.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 22:24:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Error-Trapping-with-SIGNALQQ-or-other/m-p/938563#M89425</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-02-08T22:24:43Z</dc:date>
    </item>
  </channel>
</rss>

