<?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 Thanks everyone.  I did a lot in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965517#M95737</link>
    <description>&lt;P&gt;Thanks everyone. &amp;nbsp;I did a lot of hammering through the code and found two errors. The first one was the use of an array in a SUBROUTINE which extended the size of the original array but did not walk beyond bounds in the extended index. &amp;nbsp;The elimination of this bug just meant that the commented WRITE statement and the uncommented WRITE statement caused the code to run the same (poorly). &amp;nbsp;The second bug involved the lack of proper initialization of a variable. &amp;nbsp;This was the real bug, but it was the first which caused the unique behavior.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2013 18:39:59 GMT</pubDate>
    <dc:creator>NotThatItMatters</dc:creator>
    <dc:date>2013-10-30T18:39:59Z</dc:date>
    <item>
      <title>Adding WRITE statement causes code to execute differently</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965511#M95731</link>
      <description>&lt;P&gt;I have an application which demonstrates a bug. &amp;nbsp;I "uncommented" a specific debug line, recompiled the application and ran it. &amp;nbsp;The bug mysteriously disappears. &amp;nbsp;I have at my disposal Intel Inspector and Intel VTune Amplifier. &amp;nbsp;For what sort of bug should I be looking? &amp;nbsp;Will any tools help?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 14:07:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965511#M95731</guid>
      <dc:creator>NotThatItMatters</dc:creator>
      <dc:date>2013-10-25T14:07:46Z</dc:date>
    </item>
    <item>
      <title>The usual suspects;</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965512#M95732</link>
      <description>&lt;P&gt;The usual suspects; incompletely initialized data, array over-runs, and, since you're using Inspector, data race (e.g. problems with private/shared).&lt;/P&gt;
&lt;P&gt;comparing what comes out in opt-report-file may give a clue about changes in optimization which could be associated with the bug.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 14:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965512#M95732</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-10-25T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Adding a WRITE often changes</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965513#M95733</link>
      <description>&lt;P&gt;Adding a WRITE often changes code generator choices about what data lives where (memory, registers, etc.) It can also interfere with vectorization. You may have to get creative in your analysis. Tim's suggestions are good, though I expect that you won't find the optimization reports helpful here. Is this in a Release or Debug configuration?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 15:36:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965513#M95733</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-10-25T15:36:34Z</dc:date>
    </item>
    <item>
      <title>This is in a Release</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965514#M95734</link>
      <description>&lt;P&gt;This is in a Release configuration. &amp;nbsp;I am currently noting that, in Debug configuration, without the debug WRITE statement the code craters in a similar manner to the release configuration. &amp;nbsp;Is this "helpful"?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 23:44:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965514#M95734</guid>
      <dc:creator>NotThatItMatters</dc:creator>
      <dc:date>2013-10-25T23:44:03Z</dc:date>
    </item>
    <item>
      <title>Well, it means you can debug</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965515#M95735</link>
      <description>&lt;P&gt;Well, it means you can debug it, so that should be helpful to you toi find out what is going wrong.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 23:56:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965515#M95735</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-10-25T23:56:17Z</dc:date>
    </item>
    <item>
      <title>FYI, there was a similar case</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965516#M95736</link>
      <description>&lt;P&gt;FYI, there was a similar case earlier this year that was a compiler error: Issue 698745, I believe.&amp;nbsp; It was hard to reproduce but Steve finally did and it is being worked on.&amp;nbsp; In the meantime, we rewrote code to workaround the problem.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2013 15:35:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965516#M95736</guid>
      <dc:creator>lklawrie</dc:creator>
      <dc:date>2013-10-26T15:35:59Z</dc:date>
    </item>
    <item>
      <title>Thanks everyone.  I did a lot</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965517#M95737</link>
      <description>&lt;P&gt;Thanks everyone. &amp;nbsp;I did a lot of hammering through the code and found two errors. The first one was the use of an array in a SUBROUTINE which extended the size of the original array but did not walk beyond bounds in the extended index. &amp;nbsp;The elimination of this bug just meant that the commented WRITE statement and the uncommented WRITE statement caused the code to run the same (poorly). &amp;nbsp;The second bug involved the lack of proper initialization of a variable. &amp;nbsp;This was the real bug, but it was the first which caused the unique behavior.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 18:39:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Adding-WRITE-statement-causes-code-to-execute-differently/m-p/965517#M95737</guid>
      <dc:creator>NotThatItMatters</dc:creator>
      <dc:date>2013-10-30T18:39:59Z</dc:date>
    </item>
  </channel>
</rss>

