<?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 Antonio, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028254#M109843</link>
    <description>&lt;P&gt;Antonio,&lt;/P&gt;

&lt;P&gt;In my limited experience, many convergence routines derived the&amp;nbsp;convergence epsilon by&amp;nbsp;hand on a specific machine. These convergence routines will be problematic when you migrate to different machine architectures. Results are not the same, the routine never converges, the routine diverges. To complicate matters, if you are in an organization that has test data and "certified" results data you may find it difficult, if not impossible to get the code to pass. Additionally, the QA department, verifying your results, typically are administrative and do not have a clue as to floating point approximations. This may require you to not only revise your algorithms, but also to prove results are accurate to the degree necessary, and then produce a new set of certified results data. So your problem may be much larger than fixing a few convergence routines.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2014 17:16:48 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2014-12-18T17:16:48Z</dc:date>
    <item>
      <title>From PowerStation 4.0 to Intel Fortran 12</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028252#M109841</link>
      <description>Hello,

At our laboratory we have some old Fortran code which has always been compiled by Power Station 4.0. Now, we want to migrate to Intel Fortran 12, but we are facing some problems. 
When we create a dynamic link library using Intel Fortran, the subroutines compiled seem overall to work fine, but we have detected that for some problems, the accuracy of the Intel Fortran library is much lower (algorithms converge to looser tolerance) and sometimes, for complex models, it does not even work. Our code has many subroutines, so, in principle, we cannot analyze them one by one. 
I would really appreciate it if someone could give me some ideas on what to look at to solve this problem. I have unsuccessfully looked into some of compiler compatibility options.
I know this is a general problem, but I would be really grateful if I can get some feedback. 

Thank you.</description>
      <pubDate>Thu, 18 Dec 2014 02:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028252#M109841</guid>
      <dc:creator>Antonio_R_1</dc:creator>
      <dc:date>2014-12-18T02:03:30Z</dc:date>
    </item>
    <item>
      <title>PowerStation used the old x87</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028253#M109842</link>
      <description>&lt;P&gt;PowerStation used the old x87 instructions which often carried precision beyond what you declared. Intel Fortran uses the newer (and faster) SSE instructions which operate in the precision you declared, but this sometimes means that calculations are somewhat less precise because PowerStation was giving you "extra" precision, unpredictably.&lt;/P&gt;

&lt;P&gt;Another difference is that Intel Fortran defaults to a "fast" floating point model where it may do some calculations in ways that give slightly different results. The first thing I suggest you try is setting the option Fortran &amp;gt; Floating Point Model to Source. A second thing to try, though I don't recommend it as it will significantly reduce performance, is Code Generation &amp;gt; Enable Enhanced Instruction Set &amp;gt; No enhanced instruction sets. This controls what the compiler uses, but not the math library.&lt;/P&gt;

&lt;P&gt;See where these get you. Keep in mind that if you have unstable algorithms the answers you were getting before might not have been valid.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2014 02:20:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028253#M109842</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-12-18T02:20:54Z</dc:date>
    </item>
    <item>
      <title>Antonio,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028254#M109843</link>
      <description>&lt;P&gt;Antonio,&lt;/P&gt;

&lt;P&gt;In my limited experience, many convergence routines derived the&amp;nbsp;convergence epsilon by&amp;nbsp;hand on a specific machine. These convergence routines will be problematic when you migrate to different machine architectures. Results are not the same, the routine never converges, the routine diverges. To complicate matters, if you are in an organization that has test data and "certified" results data you may find it difficult, if not impossible to get the code to pass. Additionally, the QA department, verifying your results, typically are administrative and do not have a clue as to floating point approximations. This may require you to not only revise your algorithms, but also to prove results are accurate to the degree necessary, and then produce a new set of certified results data. So your problem may be much larger than fixing a few convergence routines.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2014 17:16:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028254#M109843</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-12-18T17:16:48Z</dc:date>
    </item>
    <item>
      <title>Good afternoon,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028255#M109844</link>
      <description>&lt;P style="line-height: 19.5120010375977px;"&gt;Good afternoon,&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I have tried the options&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;"Fortran &amp;gt; Floating Point Model to Source" and "Code Generation &amp;gt; Enable Enhanced Instruction Set &amp;gt; No enhanced instruction sets". But there is still no luck. I noticed that there are a few compatibility options in Fortran&amp;gt;Compatibility. I enabled I/O compatibility &amp;nbsp;(Use Power Station I/O Format), as we are reading from files, but I am getting the same behavior.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Unfortunately, there was no luck by modifying the value of some convergence epsilons in some key subroutines. However, it really looks like there are a subset of subroutines behaving poorly (some algorithms behave better than others), so precision seems to be playing a role in one way or the other.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;We have had a number of&amp;nbsp;benchmark&amp;nbsp;models which have been run over the years to test new developments. With the Intel Fortran library, there is a need to loosen the tolerances in a couple of orders of magnitude. In the past we did not notice instabilities, which does not mean they are not showing up now. It may well be that there are a few subroutines producing this problem.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thank you very much Steve and Jim for your help. If you come up with any other suggestion, your ideas would be very appreciated!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height: 19.5120010375977px;"&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Antonio&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2014 21:12:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-PowerStation-4-0-to-Intel-Fortran-12/m-p/1028255#M109844</guid>
      <dc:creator>Antonio_R_1</dc:creator>
      <dc:date>2014-12-18T21:12:55Z</dc:date>
    </item>
  </channel>
</rss>

