<?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 Thanks...this helped. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147383#M26807</link>
    <description>&lt;P&gt;Thanks...this helped.&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;int my_cbwr_branch = mkl_cbwr_get_auto_branch();
if (mkl_cbwr_set(my_cbwr_branch))
{
     printf("Error in setting MKL_CBWR_BRANCH! Aborting…\n”);
     return -1;
}&lt;/PRE&gt;

&lt;P&gt;at the beginning of my program and now diff_sum is zero.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2020 07:02:38 GMT</pubDate>
    <dc:creator>dread__am</dc:creator>
    <dc:date>2020-03-25T07:02:38Z</dc:date>
    <item>
      <title>DGESV gives different results on subsequent runs</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147378#M26802</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got a 181x181 system matrix AA and a 181x1 right hand side bb. In my test program (please see attachment) I solve this equation&lt;/P&gt;&lt;P&gt;system twice and I get two slightly different results. Are there any explanations for this ?&lt;/P&gt;&lt;P&gt;The test was carried out on Windows 10 and I used VS 2017 Version 19.13.26131.1&amp;nbsp; x86.&lt;/P&gt;&lt;P&gt;To compile and link please use:&lt;/P&gt;&lt;P&gt;cl /Fodgesv_test.obj /c dgesv_test.cpp /EHsc /IC:\&amp;lt;path to MKL headers&amp;gt;&lt;/P&gt;&lt;P&gt;link /nologo /OUT:dgesv_test.exe /LIBPATH:C:\&amp;lt;path to MKL libraries&amp;gt; mkl_intel_c.lib mkl_sequential.lib mkl_core.lib dgesv_test.obj&lt;/P&gt;&lt;P&gt;Then simply run dgesv_test.exe.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 10:00:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147378#M26802</guid>
      <dc:creator>dread__am</dc:creator>
      <dc:date>2020-03-24T10:00:04Z</dc:date>
    </item>
    <item>
      <title>I forgot to mention the MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147379#M26803</link>
      <description>&lt;P&gt;I forgot to mention the MKL version in my previous post.&lt;/P&gt;&lt;P&gt;I am using version 2020.0.166&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 10:04:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147379#M26803</guid>
      <dc:creator>dread__am</dc:creator>
      <dc:date>2020-03-24T10:04:51Z</dc:date>
    </item>
    <item>
      <title>I forgot to mention the MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147380#M26804</link>
      <description>&lt;P&gt;I forgot to mention the MKL version I am using in my previous post.&lt;/P&gt;&lt;P&gt;I am using MKL version 2020.0.166&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 12:38:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147380#M26804</guid>
      <dc:creator>dread__am</dc:creator>
      <dc:date>2020-03-24T12:38:07Z</dc:date>
    </item>
    <item>
      <title>When I compile for x64 and</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147381#M26805</link>
      <description>&lt;P&gt;When I compile for x64 and run, I don't see any differences. The vector &lt;STRONG&gt;diff &lt;/STRONG&gt;has all zero valued elements. I changed the program to output &lt;STRONG&gt;diff_sum&lt;/STRONG&gt; instead of &lt;STRONG&gt;diff&lt;/STRONG&gt;, and I get&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark;"&gt;Info:0
Info:0
Difference:0
&lt;/PRE&gt;

&lt;P&gt;When I compile for x86, I see&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;Info:0
Info:0
Difference:2.03139e-06&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 02:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147381#M26805</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-03-25T02:25:00Z</dc:date>
    </item>
    <item>
      <title>That's might be the problem.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147382#M26806</link>
      <description>&lt;P&gt;That's might be the problem. Please try to set MKL_CBWR=&amp;nbsp;SSE4_2/AVX/AVX2/AVX512 and check if the problem will still exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 04:00:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147382#M26806</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-25T04:00:51Z</dc:date>
    </item>
    <item>
      <title>Thanks...this helped.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147383#M26807</link>
      <description>&lt;P&gt;Thanks...this helped.&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;int my_cbwr_branch = mkl_cbwr_get_auto_branch();
if (mkl_cbwr_set(my_cbwr_branch))
{
     printf("Error in setting MKL_CBWR_BRANCH! Aborting…\n”);
     return -1;
}&lt;/PRE&gt;

&lt;P&gt;at the beginning of my program and now diff_sum is zero.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 07:02:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147383#M26807</guid>
      <dc:creator>dread__am</dc:creator>
      <dc:date>2020-03-25T07:02:38Z</dc:date>
    </item>
    <item>
      <title>CNR model affects performance</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147384#M26808</link>
      <description>&lt;P&gt;CNR model affects performance. if the level of degradation will be significant, please report this case.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 08:44:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147384#M26808</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2020-03-25T08:44:44Z</dc:date>
    </item>
    <item>
      <title>Ok...thanks. As far as I can</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147385#M26809</link>
      <description>&lt;P&gt;Ok...thanks. As far as I can see there is no performance impact for the cases I am analyzing.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 08:46:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/DGESV-gives-different-results-on-subsequent-runs/m-p/1147385#M26809</guid>
      <dc:creator>dread__am</dc:creator>
      <dc:date>2020-03-26T08:46:33Z</dc:date>
    </item>
  </channel>
</rss>

