<?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 Optimization problem in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Optimization-problem/m-p/745641#M3725</link>
    <description>Hi,

&lt;BR /&gt;&lt;BR /&gt;compiling the attached code (&amp;lt;50 lines) with -O0 gives
&lt;PRE&gt;ifort -O0 test.f&lt;BR /&gt;a.out &lt;INPUT /&gt;&lt;BR /&gt;d=1.00000000000000&lt;BR /&gt;&lt;/PRE&gt; 
while -O1 breaks it and gives different results with each run.
&lt;PRE&gt;ifort -O1 test.f&lt;BR /&gt;a.out &lt;INPUT /&gt;&lt;BR /&gt;d= 6.953301764193981E-310&lt;BR /&gt;a.out &lt;INPUT /&gt;&lt;BR /&gt;d= 6.953263450359657E-310&lt;BR /&gt;&lt;/PRE&gt;The input used is&lt;SPAN&gt;&lt;BR /&gt;&lt;PRE&gt;cat input&lt;BR /&gt; 1.  0.  0.&lt;BR /&gt;-1.  0.  0.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
 
All this is on a Core2Quad, Suse 10.2 (64bit) using ifort Version 10.1    Build 20070913 Package ID: l_fc_p_10.1.008&lt;BR /&gt;&lt;BR /&gt;I think the code is valid Fortran90. &lt;BR /&gt;Any ideas on what might be the problem will be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Volker&lt;/SPAN&gt;</description>
    <pubDate>Mon, 26 Nov 2007 12:41:12 GMT</pubDate>
    <dc:creator>v_koch</dc:creator>
    <dc:date>2007-11-26T12:41:12Z</dc:date>
    <item>
      <title>Optimization problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Optimization-problem/m-p/745641#M3725</link>
      <description>Hi,

&lt;BR /&gt;&lt;BR /&gt;compiling the attached code (&amp;lt;50 lines) with -O0 gives
&lt;PRE&gt;ifort -O0 test.f&lt;BR /&gt;a.out &lt;INPUT /&gt;&lt;BR /&gt;d=1.00000000000000&lt;BR /&gt;&lt;/PRE&gt; 
while -O1 breaks it and gives different results with each run.
&lt;PRE&gt;ifort -O1 test.f&lt;BR /&gt;a.out &lt;INPUT /&gt;&lt;BR /&gt;d= 6.953301764193981E-310&lt;BR /&gt;a.out &lt;INPUT /&gt;&lt;BR /&gt;d= 6.953263450359657E-310&lt;BR /&gt;&lt;/PRE&gt;The input used is&lt;SPAN&gt;&lt;BR /&gt;&lt;PRE&gt;cat input&lt;BR /&gt; 1.  0.  0.&lt;BR /&gt;-1.  0.  0.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
 
All this is on a Core2Quad, Suse 10.2 (64bit) using ifort Version 10.1    Build 20070913 Package ID: l_fc_p_10.1.008&lt;BR /&gt;&lt;BR /&gt;I think the code is valid Fortran90. &lt;BR /&gt;Any ideas on what might be the problem will be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Volker&lt;/SPAN&gt;</description>
      <pubDate>Mon, 26 Nov 2007 12:41:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Optimization-problem/m-p/745641#M3725</guid>
      <dc:creator>v_koch</dc:creator>
      <dc:date>2007-11-26T12:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Optimization-problem/m-p/745642#M3726</link>
      <description>I see, on my SuSE 10.3 32-bit installation, it works again at -O2 (default), but fails, as you said, at -O1. I agree that -O1 is an important option level. I assume this example is cut down from a meaningful case, so you should submit a problem report on premier.intel.com.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2007 15:02:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Optimization-problem/m-p/745642#M3726</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-11-26T15:02:34Z</dc:date>
    </item>
  </channel>
</rss>

