<?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: pardiso: exception when solving linear system with mkl_sequential in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1311989#M31979</link>
    <description>&lt;P&gt;Hi Alexey,&lt;/P&gt;
&lt;P&gt;Please turn on matrix checker (iparm[26]=1). It is very likely that something is not right about the matrix pattern (ia, ja). Also check that the indexing and matrix type is set right for the input matrix (e.g., for symmetric matrix types like -2 one needs to pass only the upper triangular part of the matrix).&amp;nbsp;&lt;BR /&gt;In case you get no new insight into the problem, please share with us a reproducer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Kirill&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2021 15:38:03 GMT</pubDate>
    <dc:creator>Kirill_V_Intel</dc:creator>
    <dc:date>2021-09-03T15:38:03Z</dc:date>
    <item>
      <title>pardiso: exception when solving linear system with mkl_sequential</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1311977#M31978</link>
      <description>&lt;P&gt;I have the linear system Ax=b which solve using mkl pardiso&lt;/P&gt;
&lt;P&gt;Number of nonzeros in factors = 697828&lt;/P&gt;
&lt;P&gt;Number of factorization MFLOPS = 593&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It works well and correct. The system is sparse around main diagonal. But when I add additional&amp;nbsp;subdiagonals far left and ar far right from main diagonal, then I have an error when calling&amp;nbsp;&lt;SPAN&gt;function&amp;nbsp; PARDISO (pt, &amp;amp;maxfct, &amp;amp;mnum, &amp;amp;mtype, &amp;amp;phase,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;amp;n, a, ia, ja, &amp;amp;idum, &amp;amp;nrhs, iparm, &amp;amp;msglvl, &amp;amp;ddum, &amp;amp;ddum, &amp;amp;error);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;"Exception at 0x7ffd4633ff10, code: 0xc0000005: write access violation at: 0xf, flags=0x0 (first chance)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Debug:&lt;/P&gt;
&lt;P&gt;1 mkl_pds_lp64_zsytrs_bklbw_pardiso mkl_core_1 0x7ffd4633ff10 &lt;BR /&gt;2 mkl_pds_lp64_zsytrs_bklbw_pardiso mkl_core_1 0x7ffd45dde773 &lt;BR /&gt;3 mkl_pds_lp64_zsytrs_bklbw_pardiso mkl_core_1 0x7ffd45ddab62 &lt;BR /&gt;4 mkl_pds_lp64_metis_mlevelnodebisectionmultiple mkl_core_1 0x7ffd45a5283f &lt;BR /&gt;5 mkl_pds_lp64_metis_mlevelnesteddissection_pardiso mkl_sequential_1 0x7ffd602e5767 &lt;BR /&gt;6 mkl_pds_lp64_metis_mlevelnesteddissection_pardiso mkl_sequential_1 0x7ffd602e5915 &lt;BR /&gt;7 mkl_pds_lp64_metis_splitgraphorder mkl_core_1 0x7ffd45a53d8b &lt;BR /&gt;8 mkl_pds_lp64_zsytrs_bklbw_pardiso mkl_core_1 0x7ffd46372b74 &lt;BR /&gt;9 mkl_pds_lp64_zsytrs_bklbw_pardiso mkl_core_1 0x7ffd4633df19 &lt;BR /&gt;10 mkl_pds_lp64_zsytrs_bklbw_pardiso mkl_core_1 0x7ffd45dd52bf &lt;BR /&gt;11 mkl_pds_lp64_pardiso mkl_core_1 0x7ffd45a6087b&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Iparam:&lt;/P&gt;
&lt;P&gt;iparm[0] = 1; /* No solver default */&lt;BR /&gt;iparm[1] = 2; /* Fill-in reordering from METIS */&lt;BR /&gt;iparm[3] = 0; /* No iterative-direct algorithm */&lt;BR /&gt;iparm[4] = 0; /* No user fill-in reducing permutation */&lt;BR /&gt;iparm[5] = 0; /* Write solution into x */&lt;BR /&gt;iparm[6] = 0; /* Not in use */&lt;BR /&gt;iparm[7] = 2; /* Max numbers of iterative refinement steps */&lt;BR /&gt;iparm[8] = 0; /* Not in use */&lt;BR /&gt;iparm[9] = 13; /* Perturb the pivot elements with 1E-13 */&lt;BR /&gt;iparm[10] = 1; /* Use nonsymmetric permutation and scaling MPS */&lt;BR /&gt;iparm[11] = 0; /* Conjugate transposed/transpose solve */&lt;BR /&gt;iparm[12] = 1; /* Maximum weighted matching algorithm is switched-on (default for non-symmetric) */&lt;BR /&gt;iparm[13] = 0; /* Output: Number of perturbed pivots */&lt;BR /&gt;iparm[14] = 0; /* Not in use */&lt;BR /&gt;iparm[15] = 0; /* Not in use */&lt;BR /&gt;iparm[16] = 0; /* Not in use */&lt;BR /&gt;iparm[17] = -1; /* Output: Number of nonzeros in the factor LU */&lt;BR /&gt;iparm[18] = -1; /* Output: Mflops for LU factorization */&lt;BR /&gt;iparm[19] = 0; /* Output: Numbers of CG Iterations */&lt;BR /&gt;//iparm[20] = 0;&lt;/P&gt;
&lt;P&gt;//iparm[23]=0;&lt;/P&gt;
&lt;P&gt;maxfct = 1; /* Maximum number of numerical factorizations. */&lt;BR /&gt;mnum = 1; /* Which factorization to use. */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Software:&amp;nbsp;MSVC2019, QT 5.15, win 10 x64, mkl 2021.3.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 13:47:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1311977#M31978</guid>
      <dc:creator>Alexey1978</dc:creator>
      <dc:date>2021-09-03T13:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: pardiso: exception when solving linear system with mkl_sequential</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1311989#M31979</link>
      <description>&lt;P&gt;Hi Alexey,&lt;/P&gt;
&lt;P&gt;Please turn on matrix checker (iparm[26]=1). It is very likely that something is not right about the matrix pattern (ia, ja). Also check that the indexing and matrix type is set right for the input matrix (e.g., for symmetric matrix types like -2 one needs to pass only the upper triangular part of the matrix).&amp;nbsp;&lt;BR /&gt;In case you get no new insight into the problem, please share with us a reproducer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Kirill&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 15:38:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1311989#M31979</guid>
      <dc:creator>Kirill_V_Intel</dc:creator>
      <dc:date>2021-09-03T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: pardiso: exception when solving linear system with mkl_sequential</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1312362#M31990</link>
      <description>&lt;P&gt;Thank you very much. You are absolutely right.&lt;/P&gt;
&lt;P&gt;With help of&amp;nbsp;&lt;SPAN&gt;iparm[26]=1 the problem was solved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alexey.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 08:52:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1312362#M31990</guid>
      <dc:creator>Alexey1978</dc:creator>
      <dc:date>2021-09-06T08:52:19Z</dc:date>
    </item>
    <item>
      <title>Re:pardiso: exception when solving linear system with mkl_sequential</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1312395#M31993</link>
      <description>&lt;P&gt;Thanks a lot Kirill.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hi Alexey,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;this&amp;nbsp;resolves your&amp;nbsp;issue, make&amp;nbsp;sure&amp;nbsp;to accept this as a solution. This would help others with similar issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2021 10:34:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1312395#M31993</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-09-06T10:34:32Z</dc:date>
    </item>
    <item>
      <title>Re:pardiso: exception when solving linear system with mkl_sequential</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1312417#M31996</link>
      <description>&lt;P&gt;Hi Alexey,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the confirmation and glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2021 12:14:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/pardiso-exception-when-solving-linear-system-with-mkl-sequential/m-p/1312417#M31996</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-09-06T12:14:02Z</dc:date>
    </item>
  </channel>
</rss>

