<?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: sparse_matrix_checker reports MKL_SPARSE_CHECKER_OUT_OF_RANGE for a very simple matrix in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-checker-reports-MKL-SPARSE-CHECKER-OUT-OF-RANGE/m-p/1562296#M35721</link>
    <description>&lt;P&gt;The sparse matrix checker is part of the sparse solvers system APIs.&amp;nbsp; the matrix handle there only has a single dimension size meaning it is assuming that the matrix is square (sparse solvers in pardiso depend on matrix being square even though QR can be rectangular, it is a separate set of algorithms and APIs), so the&amp;nbsp;&lt;SPAN&gt;sparse_matrix_checker assumes your matrix is square.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In your case, you have provided neqns = 3 so it is assuming you have a 3x3 matrix ,&lt;/SPAN&gt; but you have a rectangular matrix input with a column index which is 3 (base 0) which is out of range, hence the&amp;nbsp;&lt;SPAN&gt;MKL_SPARSE_CHECKER_OUT_OF_RANGE return value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Spencer&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 16:33:23 GMT</pubDate>
    <dc:creator>Spencer_P_Intel</dc:creator>
    <dc:date>2024-01-12T16:33:23Z</dc:date>
    <item>
      <title>sparse_matrix_checker reports MKL_SPARSE_CHECKER_OUT_OF_RANGE for a very simple matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-checker-reports-MKL-SPARSE-CHECKER-OUT-OF-RANGE/m-p/1562176#M35718</link>
      <description>&lt;P&gt;I have a 3x4 matrix&lt;/P&gt;&lt;P&gt;0 1 0 0&lt;/P&gt;&lt;P&gt;0 0 2 0&lt;/P&gt;&lt;P&gt;0 0 0 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the corresponding CSR format is:&lt;/P&gt;&lt;P&gt;ia= [0,1,2,3]&lt;/P&gt;&lt;P&gt;ja= [1,2,3]&lt;/P&gt;&lt;P&gt;va= [1,2,3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I check it with&amp;nbsp;sparse_matrix_checker, it says:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;*** Input check: i=2, ja[i]=3, neqns=3 are incompatible&lt;BR /&gt;Matrix check details: (2, 3, 3)&lt;BR /&gt;Matrix check result: MKL_SPARSE_CHECKER_OUT_OF_RANGE&lt;/P&gt;&lt;P&gt;Is there any special request&amp;nbsp; for MKL's sparse matrix that are not listed in the&amp;nbsp;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2024-0/sparse-blas-csr-matrix-storage-format.html" target="_self"&gt;reference&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 07:38:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-checker-reports-MKL-SPARSE-CHECKER-OUT-OF-RANGE/m-p/1562176#M35718</guid>
      <dc:creator>miaodi1987</dc:creator>
      <dc:date>2024-01-12T07:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: sparse_matrix_checker reports MKL_SPARSE_CHECKER_OUT_OF_RANGE for a very simple matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-checker-reports-MKL-SPARSE-CHECKER-OUT-OF-RANGE/m-p/1562296#M35721</link>
      <description>&lt;P&gt;The sparse matrix checker is part of the sparse solvers system APIs.&amp;nbsp; the matrix handle there only has a single dimension size meaning it is assuming that the matrix is square (sparse solvers in pardiso depend on matrix being square even though QR can be rectangular, it is a separate set of algorithms and APIs), so the&amp;nbsp;&lt;SPAN&gt;sparse_matrix_checker assumes your matrix is square.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In your case, you have provided neqns = 3 so it is assuming you have a 3x3 matrix ,&lt;/SPAN&gt; but you have a rectangular matrix input with a column index which is 3 (base 0) which is out of range, hence the&amp;nbsp;&lt;SPAN&gt;MKL_SPARSE_CHECKER_OUT_OF_RANGE return value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Spencer&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 16:33:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/sparse-matrix-checker-reports-MKL-SPARSE-CHECKER-OUT-OF-RANGE/m-p/1562296#M35721</guid>
      <dc:creator>Spencer_P_Intel</dc:creator>
      <dc:date>2024-01-12T16:33:23Z</dc:date>
    </item>
  </channel>
</rss>

