<?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 info on undocumented difference between /O1 and /O2 please in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788130#M31139</link>
    <description>Is there any other setting that I can change in order to reduce the effect of vectorization on numerical results, e.g. a particular alignment ? Thanks</description>
    <pubDate>Thu, 01 Jul 2010 04:11:04 GMT</pubDate>
    <dc:creator>grant8</dc:creator>
    <dc:date>2010-07-01T04:11:04Z</dc:date>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788124#M31133</link>
      <description>&lt;P&gt;The help page for compiler option O describes the following for the shortcut options /O1 and /O2 on IA32:&lt;/P&gt;&lt;P&gt;/O1:&lt;/P&gt;&lt;P&gt;/Qunroll0, /nofltconsistency (same as /Op-), /Oy, /Os, /Ob2, /Qftz&lt;/P&gt;&lt;P&gt;/O2:&lt;/P&gt;&lt;P&gt;/Og, /Ot, /Oy, /Ob2, /Gs, and /Qftz ... but with the added note This option sets other options that optimize for code speed. The options set are determined by the compiler depending on which architecture and operating system you are using.&lt;/P&gt;&lt;P&gt;I have a situation where the /O1 vs /O2 setting is changing numerical results. Id like to track down exactly which optimization is doing it, so that I can choose one way or the other which setting to use. None of the above-listed /O1 or /O2 settings seems to be the cause ofthis. Is there any way to know what other stuff gets changed by /O1 vs /O2?&lt;/P&gt;&lt;P&gt;I am compiling on an EM64T Windows7 machine, for IA32 and EM64T target machines. &lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 04:06:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788124#M31133</guid>
      <dc:creator>grant8</dc:creator>
      <dc:date>2010-06-30T04:06:07Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788125#M31134</link>
      <description>The biggest difference between -O1 and -O2 is the latter enables auto-vectorization. You would get information on where this occurs by setting /Qvec-report or /Qopt-report. If you have set /arch:ia32, which implies double precision evaluation of scalar single precision expressions, auto-vectorization should not occur. You should identify where you require double precision and write it into the source code.&lt;BR /&gt;If you depend on the order of evaluation of expressions, you should take care with use of parentheses, and set /assume:protect_parens.</description>
      <pubDate>Wed, 30 Jun 2010 12:45:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788125#M31134</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-06-30T12:45:38Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788126#M31135</link>
      <description>There are not distinct options to turn on and off all optimizations that are collected under the O1, O2 levels. I agree with Tim that vectorization is the most likely candidate.</description>
      <pubDate>Wed, 30 Jun 2010 13:28:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788126#M31135</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-30T13:28:51Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788127#M31136</link>
      <description>If the differences arise from latent bugs such as uninitialized or incorrectly declared variables, it's simply not feasible to document the ways in which changing optimization could expose problems.</description>
      <pubDate>Wed, 30 Jun 2010 14:24:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788127#M31136</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-06-30T14:24:06Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788128#M31137</link>
      <description>&lt;P&gt;I have plenty of warnings and checks turned on. As the compiler is not reporting any such nasties, I hope that there are none. &lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2010 03:48:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788128#M31137</guid>
      <dc:creator>grant8</dc:creator>
      <dc:date>2010-07-01T03:48:48Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788129#M31138</link>
      <description>I have discovered that /O2 with /fp:strict is giving me the same results as /O1 for 32-bit. This is good because now it seems like our Debug and Release builds are going to be able to give us the same numerical results, which should be very helpful for debugging problems that come in from the field.&lt;BR /&gt;&lt;BR /&gt;So far, I haven't beenso lucky for 64-bit. /O2 with /fp:strict is stillgiving different results from /O1.</description>
      <pubDate>Thu, 01 Jul 2010 03:53:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788129#M31138</guid>
      <dc:creator>grant8</dc:creator>
      <dc:date>2010-07-01T03:53:11Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788130#M31139</link>
      <description>Is there any other setting that I can change in order to reduce the effect of vectorization on numerical results, e.g. a particular alignment ? Thanks</description>
      <pubDate>Thu, 01 Jul 2010 04:11:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788130#M31139</guid>
      <dc:creator>grant8</dc:creator>
      <dc:date>2010-07-01T04:11:04Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788131#M31140</link>
      <description>Did you try /fp:source (floating point model source) along with /Qfp-speculation=off (floating-point speculation turned off)?</description>
      <pubDate>Thu, 01 Jul 2010 10:01:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788131#M31140</guid>
      <dc:creator>strohhaecker</dc:creator>
      <dc:date>2010-07-01T10:01:12Z</dc:date>
    </item>
    <item>
      <title>info on undocumented difference between /O1 and /O2 please</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788132#M31141</link>
      <description>You could always try /arch:ia32 and see what it gets you (other than lower performance).</description>
      <pubDate>Thu, 01 Jul 2010 12:48:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/info-on-undocumented-difference-between-O1-and-O2-please/m-p/788132#M31141</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-07-01T12:48:09Z</dc:date>
    </item>
  </channel>
</rss>

