<?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 PARDISO seems to fail with a very simple problem in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-seems-to-fail-with-a-very-simple-problem/m-p/954018#M15380</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This problem might be my own fault, but PARDISO gives erroneous results.&lt;BR /&gt;&lt;BR /&gt;In my own program I copied the solution procedure and parameters from the example file pardiso_unsym.c, and I seem to get bad results.&lt;BR /&gt;&lt;BR /&gt;To eliminate any chance that my own code is wrong, I reproduced this error by replacing the matrix data in the example file with the data below, and also changed the "b" right-hand-side vector (it contained all ones originally).&lt;BR /&gt;&lt;BR /&gt;The results PARDISO returns are way off the true solution (see below).&lt;BR /&gt;&lt;BR /&gt;Since I see PARDISO is capable of solving even 200000 equations, this clearly is the result of some of my wrong doing, but I can't seem to find what it is.&lt;BR /&gt;&lt;BR /&gt;Any help would be kindly appreciated.&lt;BR /&gt;&lt;BR /&gt;Liat Dovrat&lt;BR /&gt;&lt;BR /&gt;PARDISO returns:&lt;BR /&gt;x[0] = -37.0641&lt;BR /&gt;x[1] = -37.0641&lt;BR /&gt;x[2] = 37.1324&lt;BR /&gt;x[3] = -74.1574&lt;BR /&gt;x[4] = -74.0891&lt;BR /&gt;x[5] = -37.1324&lt;BR /&gt;x[6] = -198.74&lt;BR /&gt;x[7] = -35.8923&lt;BR /&gt;x[8] = -133.601&lt;BR /&gt;x[9] = -5.02505e+11&lt;BR /&gt;x[10] = 3.32281&lt;BR /&gt;x[11] = 68.4619&lt;BR /&gt;x[12] = -65.1391&lt;BR /&gt;x[13] = -111.163&lt;BR /&gt;x[14] = 35.8923&lt;BR /&gt;x[15] = 71.7847&lt;BR /&gt;&lt;BR /&gt;and the true solution (obtained in Matlab) is: &lt;BR /&gt;    0.0995&lt;BR /&gt;    0.0995&lt;BR /&gt;   -0.0995&lt;BR /&gt;    0.1989&lt;BR /&gt;    0.1989&lt;BR /&gt;    0.0995&lt;BR /&gt;   -0.1248&lt;BR /&gt;    0.0651&lt;BR /&gt;   -0.0488&lt;BR /&gt;   -0.1736&lt;BR /&gt;   -0.1031&lt;BR /&gt;   -0.0271&lt;BR /&gt;   -0.0759&lt;BR /&gt;    0.2984&lt;BR /&gt;   -0.0651&lt;BR /&gt;   -0.1302&lt;BR /&gt;&lt;BR /&gt;/* Matrix Data in C */&lt;BR /&gt;&lt;BR /&gt;int n=16;  /* number of equations */&lt;BR /&gt;  int ia[17] = {1, 3, 7, 9, 12, 15, 17, 22, 25, 29, 38, 46, 49, 52, 55, 59, 62};&lt;BR /&gt;  int ja[61] = {1, 2, &lt;BR /&gt;		2, 3, 4, 5, &lt;BR /&gt;		3, 6, &lt;BR /&gt;		5, 6, 14, &lt;BR /&gt;		7, 9, 13, &lt;BR /&gt;		8, 15, &lt;BR /&gt;		8, 9, 10, 12, 16, &lt;BR /&gt;		11, 12, 13, &lt;BR /&gt;		11, 14, 15, 16, &lt;BR /&gt;		1, 2, 3, 6, 7, 9, 11, 12, 14, &lt;BR /&gt;		1, 2, 3, 6, 10, 11, 12, 14, &lt;BR /&gt;		1, 2, 4, &lt;BR /&gt;		3, 5, 6, &lt;BR /&gt;		9, 12, 13, &lt;BR /&gt;		8, 11, 12, 15, &lt;BR /&gt;		11, 12, 16};&lt;BR /&gt;  double a[61]={0.5, -0.5, &lt;BR /&gt;		0.5, 0.5, 0.5, -0.5, &lt;BR /&gt;		-0.5, -0.5, &lt;BR /&gt;		0.5, 0.5, -0.5, &lt;BR /&gt;		0.5, -0.5, -0.5, &lt;BR /&gt;		-0.5, -0.5, &lt;BR /&gt;		0.5, 0.5, 0.5, -0.5, -0.5, &lt;BR /&gt;		-0.5, 0.5, 0.5, &lt;BR /&gt;		0.5, 0.5, 0.5, 0.5, &lt;BR /&gt;		-1, -1, 1, -1, 1, 1, 1, 1, -1, &lt;BR /&gt;		-1, -1, 1, -1, 1, 1, 1, -1, &lt;BR /&gt;		1, 1, -1, &lt;BR /&gt;		-1, -1, 1, &lt;BR /&gt;		1, 1, -1, &lt;BR /&gt;		1, 1, 1, -1, &lt;BR /&gt;		1, 1, -1};&lt;BR /&gt;  &lt;BR /&gt;  double b[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0};</description>
    <pubDate>Tue, 03 Jan 2006 16:46:34 GMT</pubDate>
    <dc:creator>ldovrat</dc:creator>
    <dc:date>2006-01-03T16:46:34Z</dc:date>
    <item>
      <title>PARDISO seems to fail with a very simple problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-seems-to-fail-with-a-very-simple-problem/m-p/954018#M15380</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This problem might be my own fault, but PARDISO gives erroneous results.&lt;BR /&gt;&lt;BR /&gt;In my own program I copied the solution procedure and parameters from the example file pardiso_unsym.c, and I seem to get bad results.&lt;BR /&gt;&lt;BR /&gt;To eliminate any chance that my own code is wrong, I reproduced this error by replacing the matrix data in the example file with the data below, and also changed the "b" right-hand-side vector (it contained all ones originally).&lt;BR /&gt;&lt;BR /&gt;The results PARDISO returns are way off the true solution (see below).&lt;BR /&gt;&lt;BR /&gt;Since I see PARDISO is capable of solving even 200000 equations, this clearly is the result of some of my wrong doing, but I can't seem to find what it is.&lt;BR /&gt;&lt;BR /&gt;Any help would be kindly appreciated.&lt;BR /&gt;&lt;BR /&gt;Liat Dovrat&lt;BR /&gt;&lt;BR /&gt;PARDISO returns:&lt;BR /&gt;x[0] = -37.0641&lt;BR /&gt;x[1] = -37.0641&lt;BR /&gt;x[2] = 37.1324&lt;BR /&gt;x[3] = -74.1574&lt;BR /&gt;x[4] = -74.0891&lt;BR /&gt;x[5] = -37.1324&lt;BR /&gt;x[6] = -198.74&lt;BR /&gt;x[7] = -35.8923&lt;BR /&gt;x[8] = -133.601&lt;BR /&gt;x[9] = -5.02505e+11&lt;BR /&gt;x[10] = 3.32281&lt;BR /&gt;x[11] = 68.4619&lt;BR /&gt;x[12] = -65.1391&lt;BR /&gt;x[13] = -111.163&lt;BR /&gt;x[14] = 35.8923&lt;BR /&gt;x[15] = 71.7847&lt;BR /&gt;&lt;BR /&gt;and the true solution (obtained in Matlab) is: &lt;BR /&gt;    0.0995&lt;BR /&gt;    0.0995&lt;BR /&gt;   -0.0995&lt;BR /&gt;    0.1989&lt;BR /&gt;    0.1989&lt;BR /&gt;    0.0995&lt;BR /&gt;   -0.1248&lt;BR /&gt;    0.0651&lt;BR /&gt;   -0.0488&lt;BR /&gt;   -0.1736&lt;BR /&gt;   -0.1031&lt;BR /&gt;   -0.0271&lt;BR /&gt;   -0.0759&lt;BR /&gt;    0.2984&lt;BR /&gt;   -0.0651&lt;BR /&gt;   -0.1302&lt;BR /&gt;&lt;BR /&gt;/* Matrix Data in C */&lt;BR /&gt;&lt;BR /&gt;int n=16;  /* number of equations */&lt;BR /&gt;  int ia[17] = {1, 3, 7, 9, 12, 15, 17, 22, 25, 29, 38, 46, 49, 52, 55, 59, 62};&lt;BR /&gt;  int ja[61] = {1, 2, &lt;BR /&gt;		2, 3, 4, 5, &lt;BR /&gt;		3, 6, &lt;BR /&gt;		5, 6, 14, &lt;BR /&gt;		7, 9, 13, &lt;BR /&gt;		8, 15, &lt;BR /&gt;		8, 9, 10, 12, 16, &lt;BR /&gt;		11, 12, 13, &lt;BR /&gt;		11, 14, 15, 16, &lt;BR /&gt;		1, 2, 3, 6, 7, 9, 11, 12, 14, &lt;BR /&gt;		1, 2, 3, 6, 10, 11, 12, 14, &lt;BR /&gt;		1, 2, 4, &lt;BR /&gt;		3, 5, 6, &lt;BR /&gt;		9, 12, 13, &lt;BR /&gt;		8, 11, 12, 15, &lt;BR /&gt;		11, 12, 16};&lt;BR /&gt;  double a[61]={0.5, -0.5, &lt;BR /&gt;		0.5, 0.5, 0.5, -0.5, &lt;BR /&gt;		-0.5, -0.5, &lt;BR /&gt;		0.5, 0.5, -0.5, &lt;BR /&gt;		0.5, -0.5, -0.5, &lt;BR /&gt;		-0.5, -0.5, &lt;BR /&gt;		0.5, 0.5, 0.5, -0.5, -0.5, &lt;BR /&gt;		-0.5, 0.5, 0.5, &lt;BR /&gt;		0.5, 0.5, 0.5, 0.5, &lt;BR /&gt;		-1, -1, 1, -1, 1, 1, 1, 1, -1, &lt;BR /&gt;		-1, -1, 1, -1, 1, 1, 1, -1, &lt;BR /&gt;		1, 1, -1, &lt;BR /&gt;		-1, -1, 1, &lt;BR /&gt;		1, 1, -1, &lt;BR /&gt;		1, 1, 1, -1, &lt;BR /&gt;		1, 1, -1};&lt;BR /&gt;  &lt;BR /&gt;  double b[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0};</description>
      <pubDate>Tue, 03 Jan 2006 16:46:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/PARDISO-seems-to-fail-with-a-very-simple-problem/m-p/954018#M15380</guid>
      <dc:creator>ldovrat</dc:creator>
      <dc:date>2006-01-03T16:46:34Z</dc:date>
    </item>
  </channel>
</rss>

