<?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 Re: mkl_dcoomm (sparse x dense) multiplication in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846690#M6304</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/371334"&gt;vasci_intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Are you running MKL 10.2 prior to update 3. There are bugs in 10.2 , fixed in Update 3, that can cause mkl_dcoom to give incorrect results when using more than 1 thread.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Dan, as Andrew mentioned, we had the problem caused by internally threading. &lt;BR /&gt;The problem has been fixed in version MKL 10.2 Update3. the similar problem discussed &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=68860"&gt;here&lt;/A&gt;. &lt;BR /&gt;Please try to link your application with sequential libraries (e.g for win32: mkl_solver_sequential.lib mkl_intel_c.lib mkl_sequential.lib mkl_core.lib ) and check if the problem is still there and &lt;BR /&gt;then you can update the latest version. &lt;BR /&gt;Please let us know the result.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Jan 2010 17:11:58 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2010-01-06T17:11:58Z</dc:date>
    <item>
      <title>mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846687#M6301</link>
      <description>&lt;BR /&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;I am using mkl_dcoom function for "sparse x dense" operation. The problem is that I get correct result only and only when my sparse matrix is diagonal. I am using the function as below and sparse matrix has been saved in "coordinates" fomat. I am wondering if I need to sort rows and columns coordinates when I am using "coordinate" format because it is already sorted when I have diagonal matrix. I am not sure though.&lt;BR /&gt;&lt;BR /&gt;alpha=1.0;&lt;BR /&gt;beta=0.0;&lt;BR /&gt;transA='T';&lt;BR /&gt;m=nCells;&lt;BR /&gt;n=nCells;&lt;BR /&gt;k=nNodes;&lt;BR /&gt;&lt;BR /&gt;// only first four elements of this array is used and // the rest is ignored&lt;BR /&gt;MATDESC[0]='G';&lt;BR /&gt;MATDESC[1]=0;&lt;BR /&gt;MATDESC[2]=0;&lt;BR /&gt;MATDESC[3]='C';&lt;BR /&gt;&lt;BR /&gt;ldb=nCells;&lt;BR /&gt;ldc=nCells;&lt;BR /&gt;&lt;BR /&gt;// MKL solution to calculate A=Rv'*inv(P)&lt;BR /&gt;mkl_dcoomm(&amp;amp;transA, &amp;amp;m, &amp;amp;n, &amp;amp;k, α, MATDESC, &lt;BR /&gt; MKLRv-&amp;gt;values, MKLRv-&amp;gt;rows,&lt;BR /&gt; MKLRv-&amp;gt;cols, &amp;amp;MKLRv-&amp;gt;nnz, MKLinvP, &amp;amp;ldb, &lt;BR /&gt; β, MKLtmp, &amp;amp;ldc);&lt;BR /&gt;&lt;BR /&gt;Any tip you have?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;D.&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jan 2010 20:37:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846687#M6301</guid>
      <dc:creator>Dan4</dc:creator>
      <dc:date>2010-01-04T20:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846688#M6302</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;Dan, &lt;BR /&gt;it's not clear why mkl_dcoom produces the correct result only and only when your sparse matrix is diagonal. It's an unexpected issue.&lt;BR /&gt;Could you please look at the the  see Sparse BLAS examples located in the following subdirectory of the Intel MKL installation directory: examples/spblas/cspblas_dcoo.c?&lt;BR /&gt;Will it help you?&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jan 2010 10:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846688#M6302</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-01-05T10:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846689#M6303</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;Dan, &lt;BR /&gt;it's not clear why mkl_dcoom produces the correct result only and only when your sparse matrix is diagonal. It's an unexpected issue.&lt;BR /&gt;Could you please look at the the  see Sparse BLAS examples located in the following subdirectory of the Intel MKL installation directory: examples/spblas/cspblas_dcoo.c?&lt;BR /&gt;Will it help you?&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Are you running MKL 10.2 prior to update 3. There are bugs in 10.2 , fixed in Update 3, that can cause mkl_dcoom to give incorrect results when using more than 1 thread.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 15:35:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846689#M6303</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2010-01-06T15:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846690#M6304</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/371334"&gt;vasci_intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Are you running MKL 10.2 prior to update 3. There are bugs in 10.2 , fixed in Update 3, that can cause mkl_dcoom to give incorrect results when using more than 1 thread.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Dan, as Andrew mentioned, we had the problem caused by internally threading. &lt;BR /&gt;The problem has been fixed in version MKL 10.2 Update3. the similar problem discussed &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=68860"&gt;here&lt;/A&gt;. &lt;BR /&gt;Please try to link your application with sequential libraries (e.g for win32: mkl_solver_sequential.lib mkl_intel_c.lib mkl_sequential.lib mkl_core.lib ) and check if the problem is still there and &lt;BR /&gt;then you can update the latest version. &lt;BR /&gt;Please let us know the result.&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 17:11:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846690#M6304</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-01-06T17:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846691#M6305</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/371334"&gt;vasci_intel&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Are you running MKL 10.2 prior to update 3. There are bugs in 10.2 , fixed in Update 3, that can cause mkl_dcoom to give incorrect results when using more than 1 thread.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I ran get version example code shipped with MKL and the version is:&lt;BR /&gt;&lt;BR /&gt;Intel Math Kernel Library Version 10.1.0 Product Build 081809.14 for Intel 64 architecture applications&lt;BR /&gt;&lt;BR /&gt;I guess this is quite old. I tested the code by adding this line:&lt;BR /&gt;&lt;BR /&gt; omp_set_num_threads(1);&lt;BR /&gt;&lt;BR /&gt;and the results are still wrong. I am not sure if I have forced MKL to use only 1 processor (sequential) in a proper way or have to link it to use sequential routines instead of threaded using another way. Have I tested correctly?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 17:34:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846691#M6305</guid>
      <dc:creator>Dan4</dc:creator>
      <dc:date>2010-01-07T17:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846692#M6306</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/410217"&gt;danltu.se&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;I ran get version example code shipped with MKL and the version is:&lt;BR /&gt;&lt;BR /&gt;Intel Math Kernel Library Version 10.1.0 Product Build 081809.14 for Intel 64 architecture applications&lt;BR /&gt;&lt;BR /&gt;I guess this is quite old. I tested the code by adding this line:&lt;BR /&gt;&lt;BR /&gt; omp_set_num_threads(1);&lt;BR /&gt;&lt;BR /&gt;and the results are still wrong. I am not sure if I have forced MKL to use only 1 processor (sequential) in a proper way or have to link it to use sequential routines instead of threaded using another way. Have I tested correctly?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;STRONG&gt;Have I tested correctly?&lt;/STRONG&gt; Yes, you've tested correctly.&lt;BR /&gt;the second way - to use sequential libraries for linking your application:&lt;BR /&gt;for win64: mkl_solver_lp64_sequential.lib mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib&lt;BR /&gt;2) if the problem is still there - how can we investigate the problem on our side?&lt;BR /&gt;Can you give the testcase? &lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 18:55:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846692#M6306</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-01-07T18:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_dcoomm (sparse x dense) multiplication</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846693#M6307</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;STRONG&gt;Have I tested correctly?&lt;/STRONG&gt; Yes, you've tested correctly.&lt;BR /&gt;the second way - to use sequential libraries for linking your application:&lt;BR /&gt;for win64: mkl_solver_lp64_sequential.lib mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib&lt;BR /&gt;2) if the problem is still there - how can we investigate the problem on our side?&lt;BR /&gt;Can you give the testcase? &lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Just a FYI, The problem I was referring to only existed in 10.2 ( fixed in update 3), the 10.1 versions of mkl_dcoomm always worked fine for me.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 23:06:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-dcoomm-sparse-x-dense-multiplication/m-p/846693#M6307</guid>
      <dc:creator>AndrewC</dc:creator>
      <dc:date>2010-01-07T23:06:08Z</dc:date>
    </item>
  </channel>
</rss>

