<?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 OpenMP accuracy in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938704#M89431</link>
    <description>&lt;P&gt;I am compiling my project with /Qopenmp to process some simple do loops without any reduction. I get vastly different results in terms of accuracy with and without openmp. Any suggestions to overcome this ?&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2013 02:47:20 GMT</pubDate>
    <dc:creator>MiB19801</dc:creator>
    <dc:date>2013-07-01T02:47:20Z</dc:date>
    <item>
      <title>OpenMP accuracy</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938704#M89431</link>
      <description>&lt;P&gt;I am compiling my project with /Qopenmp to process some simple do loops without any reduction. I get vastly different results in terms of accuracy with and without openmp. Any suggestions to overcome this ?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 02:47:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938704#M89431</guid>
      <dc:creator>MiB19801</dc:creator>
      <dc:date>2013-07-01T02:47:20Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...I am compiling my</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938705#M89432</link>
      <description>&amp;gt;&amp;gt;...I am compiling my project with /Qopenmp to process some simple do loops without any reduction. I get vastly different results
&amp;gt;&amp;gt;in terms of accuracy with and without openmp. Any suggestions to overcome this?..

It would be nice if you provide example of differences ( that is, numbers ). In general, it is possible that results of some computations will differ for threaded and non-threaded versions of the same algorithm.</description>
      <pubDate>Mon, 01 Jul 2013 04:20:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938705#M89432</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-01T04:20:18Z</dc:date>
    </item>
    <item>
      <title>Your program has a bug.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938706#M89433</link>
      <description>&lt;P&gt;Your program has a bug. Disprove this last statement.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 12:55:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938706#M89433</guid>
      <dc:creator>Anthony_Richards</dc:creator>
      <dc:date>2013-07-01T12:55:09Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...Your program has a bug..</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938707#M89434</link>
      <description>&amp;gt;&amp;gt;...Your program has a bug...

What program are you talking about? The question in the Initial Post was too generic and the &lt;STRONG&gt;MiB1980&lt;/STRONG&gt; user did not provide any sources.</description>
      <pubDate>Mon, 01 Jul 2013 15:39:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938707#M89434</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-01T15:39:26Z</dc:date>
    </item>
    <item>
      <title>Quote:Sergey Kostrov wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938708#M89435</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Sergey Kostrov wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The question in the Initial Post was too generic and the &lt;STRONG&gt;MiB1980&lt;/STRONG&gt; user did not provide any sources.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;That is precisely what Tony Richards hinted, but he employed sardonic humor instead of making direct statements!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 16:26:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938708#M89435</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-07-01T16:26:35Z</dc:date>
    </item>
    <item>
      <title>I have a lot of DO statements</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938709#M89436</link>
      <description>&lt;P&gt;I have a lot of DO statements. The calls where I find some precision change looks something like this&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;complex*16 a&lt;BR /&gt; integer*4 iarray,jarray&lt;BR /&gt; allocatable a(:),iarray(:),jarray(:)&lt;BR /&gt; allocate (a(1:n2),iarray(1:n2),jarray(1:n2))&lt;/P&gt;
&lt;P&gt;!$OMP PARALLEL DO &lt;BR /&gt; do k=1,n2&lt;BR /&gt; i=iarray(k)&lt;BR /&gt; j=jarray(k)&lt;BR /&gt; call calculatexij(i,j,a(i))&lt;BR /&gt; enddo&lt;BR /&gt;!$OMP END PARALLEL DO&lt;/P&gt;
&lt;P&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;Above is just an extract. The actual code is more complex than this with logic to populate the iarray, jarray etc. The main change is in the precision of the calculation of a(i).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 03:04:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938709#M89436</guid>
      <dc:creator>MiB19801</dc:creator>
      <dc:date>2013-07-02T03:04:57Z</dc:date>
    </item>
    <item>
      <title>For that specific example,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938710#M89437</link>
      <description>&lt;P&gt;For that specific example, you need to declare i and j as private.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 03:25:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938710#M89437</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2013-07-02T03:25:34Z</dc:date>
    </item>
    <item>
      <title>It doesn't clear what is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938711#M89438</link>
      <description>It doesn't clear what is going on in:
...
call &lt;STRONG&gt;calculatexij&lt;/STRONG&gt;(i,j,a(i)
...
What is a difference when it comes to the precision?</description>
      <pubDate>Tue, 02 Jul 2013 12:23:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938711#M89438</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-07-02T12:23:41Z</dc:date>
    </item>
    <item>
      <title>When i and j are not declared</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938712#M89439</link>
      <description>&lt;P&gt;When i and j are not declared as private(i,j), the default declaration is public(i,j)&lt;/P&gt;
&lt;P&gt;Public(i,j) means all threads share i and j&lt;BR /&gt;The first thread to issue i=iarray(k), will have its result variable i overwritten by the next thread to issue i=iarray(k), and so on.&lt;BR /&gt;This results in some i,j combinations being evaluated twice, and&lt;BR /&gt;some combinations of i,j not being evaluated at all&lt;/P&gt;
&lt;P&gt;Private(i,j) means each thread has separate variables i and j.&lt;BR /&gt;This results in all intended combinations of i,j to be evaluated once.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 15:02:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-accuracy/m-p/938712#M89439</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2013-07-03T15:02:10Z</dc:date>
    </item>
  </channel>
</rss>

