<?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 Different results with F90 higher level optimization in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092198#M92299</link>
    <description>&lt;BR /&gt;We have a large (and old) code that performs heavy floating-point operations (thermal-hydraulic transient analysis). We have been compiling the code with +O1 optimization and with some other options, which yield identical results as the debug version. When we tried higher level of optimization, +O2 or +O3, we noticed that some problems yield different numerical results relative to the +O1 or debug version and sometimes even crash. I used the following options for conservative optimization to no avail.&lt;BR /&gt;&lt;BR /&gt;+Ofltacc=strict +Onomoveflops +Oparmsoverlap +DAportable +Ofenvaccess&lt;BR /&gt;&lt;BR /&gt;I would like to know if there are other options that can be used to avoid this much numerical sensitivity when going to higher level compiler optimization. &lt;BR /&gt;&lt;BR /&gt;The operating system is:&lt;BR /&gt;HP-UX B.11.11 U 9000/785&lt;BR /&gt;Fortran version:&lt;BR /&gt;HP F90 v2.8.2&lt;BR /&gt;&lt;BR /&gt;Thanks very much,&lt;BR /&gt;&lt;BR /&gt;-Vefa Kucukboyaci</description>
    <pubDate>Thu, 25 Oct 2007 08:43:28 GMT</pubDate>
    <dc:creator>Vefa Kucukboyaci</dc:creator>
    <dc:date>2007-10-25T08:43:28Z</dc:date>
    <item>
      <title>Different results with F90 higher level optimization</title>
      <link>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092198#M92299</link>
      <description>&lt;BR /&gt;We have a large (and old) code that performs heavy floating-point operations (thermal-hydraulic transient analysis). We have been compiling the code with +O1 optimization and with some other options, which yield identical results as the debug version. When we tried higher level of optimization, +O2 or +O3, we noticed that some problems yield different numerical results relative to the +O1 or debug version and sometimes even crash. I used the following options for conservative optimization to no avail.&lt;BR /&gt;&lt;BR /&gt;+Ofltacc=strict +Onomoveflops +Oparmsoverlap +DAportable +Ofenvaccess&lt;BR /&gt;&lt;BR /&gt;I would like to know if there are other options that can be used to avoid this much numerical sensitivity when going to higher level compiler optimization. &lt;BR /&gt;&lt;BR /&gt;The operating system is:&lt;BR /&gt;HP-UX B.11.11 U 9000/785&lt;BR /&gt;Fortran version:&lt;BR /&gt;HP F90 v2.8.2&lt;BR /&gt;&lt;BR /&gt;Thanks very much,&lt;BR /&gt;&lt;BR /&gt;-Vefa Kucukboyaci</description>
      <pubDate>Thu, 25 Oct 2007 08:43:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092198#M92299</guid>
      <dc:creator>Vefa Kucukboyaci</dc:creator>
      <dc:date>2007-10-25T08:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with F90 higher level optimization</title>
      <link>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092199#M92300</link>
      <description>&amp;gt;I used the following options for conservative optimization to no avail.&lt;BR /&gt;+Ofltacc=strict +Onomoveflops +Oparmsoverlap +DAportable +Ofenvaccess&lt;BR /&gt;&lt;BR /&gt;(You may want to remove +DAportable.)&lt;BR /&gt;You seem to have used all of the PA options that control accuracy.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;sometimes even crash.&lt;BR /&gt;&lt;BR /&gt;Any particular signal?&lt;BR /&gt;You should contact the Response Center to have them look into your issues.</description>
      <pubDate>Fri, 26 Oct 2007 01:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092199#M92300</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-26T01:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with F90 higher level optimization</title>
      <link>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092200#M92301</link>
      <description>Thanks very much for your response. &lt;BR /&gt;&lt;BR /&gt;Removing +DAportable has helped somewhat; now results are closer but still not identical. &lt;BR /&gt;&lt;BR /&gt;I might have misled you by using the word "crash". I realized it was the code that was  stopping because the transient calculations were going to a different and unacceptable physical state (i.e., below some limits etc..). It is actually really bothering to see how sensitive the FP operations in this code are.&lt;BR /&gt;&lt;BR /&gt;Anyways, I will keep trying few other things, and most likely we will keep running the code with O1 optimization, which is slow but at least consistent with the debug version.&lt;BR /&gt;&lt;BR /&gt;Thanks again...&lt;BR /&gt;&lt;BR /&gt;-Vefa&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2007 15:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092200#M92301</guid>
      <dc:creator>Vefa Kucukboyaci</dc:creator>
      <dc:date>2007-10-26T15:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Different results with F90 higher level optimization</title>
      <link>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092201#M92302</link>
      <description>&amp;gt;I will keep trying few other things, and most likely we will keep running the code with O1 optimization, which is slow but at least consistent with the debug version.&lt;BR /&gt;&lt;BR /&gt;I talked with our IPF expert and said this shouldn't happen on our Integrity compilers.  With the right options, increasing the opt level should provide the same answers.&lt;BR /&gt;&lt;BR /&gt;If you have a support contract you could contact the Response Center to see if this is a bug with the PA-RISC optimizer.&lt;BR /&gt;&lt;BR /&gt;Have you looked at the "HP-UX Floating-Point Guide: HP 9000 Computers"?&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3906-90006/index.html" target="_blank"&gt;http://docs.hp.com/en/B3906-90006/index.html&lt;/A&gt;</description>
      <pubDate>Fri, 26 Oct 2007 21:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/different-results-with-f90-higher-level-optimization/m-p/4092201#M92302</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-26T21:55:09Z</dc:date>
    </item>
  </channel>
</rss>

