<?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 Should the column index of CSR matrix be in strictly asending order for LU (Cholesky) decomposition? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1511198#M34905</link>
    <description>&lt;P&gt;It seems that I must sort the column index for each row of a CSR matrix before using LU factorization, otherwise the result is wrong? Is this a requirement of the pardiso library or the bugs exist in somewhere else?&lt;/P&gt;&lt;P&gt;If the answer of above question is yes, then how can we keep the column index of a CSR matrix to be ascending after sparse matrix multiplication (spmm)? Or any quick way to sort each row? The cost is huge if I must sort each row of the CSR matrix with O(nnz_row^2) algorithm.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 14:24:12 GMT</pubDate>
    <dc:creator>kaihuang</dc:creator>
    <dc:date>2023-08-04T14:24:12Z</dc:date>
    <item>
      <title>Should the column index of CSR matrix be in strictly asending order for LU (Cholesky) decomposition?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1511198#M34905</link>
      <description>&lt;P&gt;It seems that I must sort the column index for each row of a CSR matrix before using LU factorization, otherwise the result is wrong? Is this a requirement of the pardiso library or the bugs exist in somewhere else?&lt;/P&gt;&lt;P&gt;If the answer of above question is yes, then how can we keep the column index of a CSR matrix to be ascending after sparse matrix multiplication (spmm)? Or any quick way to sort each row? The cost is huge if I must sort each row of the CSR matrix with O(nnz_row^2) algorithm.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 14:24:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1511198#M34905</guid>
      <dc:creator>kaihuang</dc:creator>
      <dc:date>2023-08-04T14:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Should the column index of CSR matrix be in strictly asending order for LU (Cholesky) decomposit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1511228#M34907</link>
      <description>&lt;P&gt;From documentation:&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-2/pardiso.html" target="_self"&gt;pardiso documentation for C&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"ja: For CSR3 format, array&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ja&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;contains column indices of the sparse matrix&amp;nbsp;&lt;/SPAN&gt;A&lt;SPAN&gt;. It is important that the indices are in increasing order per row... "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From IE Sparse BLAS, a call to&amp;nbsp;mkl_sparse_sp2m() or mkl_sparse_spmm() can be followed by a call to mkl_sparse_order() to get a sorted matrix output.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 16:03:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1511228#M34907</guid>
      <dc:creator>Spencer_P_Intel</dc:creator>
      <dc:date>2023-08-04T16:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Should the column index of CSR matrix be in strictly asending order for LU (Cholesky) decomposit</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1512437#M34926</link>
      <description>&lt;P&gt;Thank you. I didn't try mkl_sparse_order() yet, instead I simply use insertion sort which costs acceptable time for my algorithm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaihuang&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 12:19:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1512437#M34926</guid>
      <dc:creator>kaihuang</dc:creator>
      <dc:date>2023-08-09T12:19:53Z</dc:date>
    </item>
    <item>
      <title>Re:Should the column index of CSR matrix be in strictly asending order for LU (Cholesky) decomposition?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1512810#M34932</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It’s great to know that the issue has been resolved, in case you run into any other issues please feel free to create a new thread.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Shanmukh.SS&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2023 07:50:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Should-the-column-index-of-CSR-matrix-be-in-strictly-asending/m-p/1512810#M34932</guid>
      <dc:creator>ShanmukhS_Intel</dc:creator>
      <dc:date>2023-08-10T07:50:39Z</dc:date>
    </item>
  </channel>
</rss>

