<?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 Quote:Ying H (Intel) wrote: in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037770#M20517</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Ying H (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Paul,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I happened to see the same issue in&amp;nbsp;&lt;A href="https://software.intel.com/en-us/forums/topic/489205"&gt;https://software.intel.com/en-us/forums/topic/489205&lt;/A&gt; &amp;nbsp;( in Quota 7&amp;amp; 25)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;The discussion thread&amp;nbsp;&amp;nbsp;is long, but there are two key points with the errors ( &lt;/STRONG&gt;other is about the &amp;nbsp;Jacobin&amp;nbsp;matrix has the zero rows)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. zero based CSR format &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2. ignore the phase steps.. &amp;nbsp;(the last steps).&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;
	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
		Hi, mr. Ying!&lt;BR /&gt;
		&lt;BR /&gt;
		Thanks you very much for your attention!&lt;BR /&gt;
		Your advices were very useful - in my case error was a result of incorrect &lt;STRONG&gt;ia &lt;/STRONG&gt;and &lt;STRONG&gt;ja &lt;/STRONG&gt;arrays. As you said, I checked last index in &lt;STRONG&gt;ia &lt;/STRONG&gt;array.&lt;BR /&gt;
		Base on indexing was correct, error was completely on my side: &lt;STRONG&gt;ia &lt;/STRONG&gt;and &lt;STRONG&gt;ja &lt;/STRONG&gt;arrays were swapped in input parameters.&lt;BR /&gt;
		After fixing it pardiso worked just fine.&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Best regards, Paul.&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2014 19:01:20 GMT</pubDate>
    <dc:creator>Paul_O_</dc:creator>
    <dc:date>2014-06-26T19:01:20Z</dc:date>
    <item>
      <title>Error in simmetric sparse matrix analysis step</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037763#M20510</link>
      <description>&lt;P&gt;I am a new user of a MKL, so question will be silly.&lt;BR /&gt;
	I am trying to use pardiso_64 function to solve a system with symmetric sparse matrix.&lt;BR /&gt;
	IDE is MS VS 2013, language is C++. Matrix size in test case is relatively small (about 4000 of rows).&lt;/P&gt;

&lt;P&gt;Here is an error i am getting.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;IMG alt="" src="http://i61.tinypic.com/20lb13.png" height="109" width="465" /&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	I read documentation about pardiso solvers, and as fas as i see, error -8 is an 32-bit integer overflow, but that doesn't make sense in my case.&lt;BR /&gt;
	What are the possible reasons and where should i start to locate an error?&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Source code attached.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2014 19:11:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037763#M20510</guid>
      <dc:creator>Paul_O_</dc:creator>
      <dc:date>2014-06-10T19:11:29Z</dc:date>
    </item>
    <item>
      <title>Have you set all integer</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037764#M20511</link>
      <description>&lt;P&gt;Have you set all integer inputs as 64-bit ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 15:25:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037764#M20511</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2014-06-11T15:25:55Z</dc:date>
    </item>
    <item>
      <title>Quote:Gennady Fedorov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037765#M20512</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Gennady Fedorov (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Have you set all integer inputs as 64-bit ?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	I use double for floating point inputs and MKL_INT for integers.&lt;BR /&gt;
	MKL_INT is defined as __int64 in mkl_types.h.&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 15:33:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037765#M20512</guid>
      <dc:creator>Paul_O_</dc:creator>
      <dc:date>2014-06-11T15:33:32Z</dc:date>
    </item>
    <item>
      <title>what are the contents of</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037766#M20513</link>
      <description>&lt;P&gt;what are the contents of include file "solver.h"? We need that file in order to compile solver.cpp.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 16:20:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037766#M20513</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-06-11T16:20:06Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037767#M20514</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;what are the contents of include file "solver.h"? We need that file in order to compile solver.cpp.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Here it is.&lt;P&gt;&lt;/P&gt;

&lt;P&gt;UPDATE:&lt;BR /&gt;
	Correct header uploaded, name differs because of upload system, i guess.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2014 16:57:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037767#M20514</guid>
      <dc:creator>Paul_O_</dc:creator>
      <dc:date>2014-06-11T16:57:20Z</dc:date>
    </item>
    <item>
      <title>Hi Paul, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037768#M20515</link>
      <description>&lt;P&gt;Hi Paul,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;For the error message, it seems you get -1 &lt;B&gt;&lt;I&gt;-1:&amp;nbsp;&lt;B&gt;&lt;I&gt;Input inconsistency&amp;nbsp;&lt;/I&gt;&lt;/B&gt;&lt;/I&gt;&lt;/B&gt;at first phase, phase = 11;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;ia[neqns]-1=2220 , neqns=3369. &amp;nbsp; is neqns&amp;nbsp;the equation number? &amp;nbsp;is the matrix &amp;nbsp;MKL_INT mtype = 2;&amp;nbsp;// 2&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;real and symmetric positive definite&lt;/P&gt;

&lt;P&gt;And how do you link MKL, is it X64 project, then IPL64 + MKL option is on.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;As your test matrix is not bigger, have you tried to use pardiso ( X64 project + MKL option)?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2014 05:51:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037768#M20515</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-06-17T05:51:32Z</dc:date>
    </item>
    <item>
      <title>Hi Paul, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037769#M20516</link>
      <description>&lt;P&gt;Hi Paul,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I happened to see the same issue in&amp;nbsp;https://software.intel.com/en-us/forums/topic/489205 &amp;nbsp;( in Quota 7&amp;amp; 25)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;&lt;SPAN style="background-color: rgb(238, 238, 238);"&gt;&lt;FONT color="#606060"&gt;&lt;SPAN style="font-size: 11px; line-height: 16.5px;"&gt;&amp;nbsp;The discussion thread&amp;nbsp;&amp;nbsp;is long, but there are two key points with the errors ( &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5; background-color: rgb(238, 238, 238);"&gt;&lt;FONT color="#606060"&gt;&lt;SPAN style="font-size: 11px; line-height: 16.5px;"&gt;other is about the &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;Jacobin&amp;nbsp;matrix has the zero rows)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. zero based CSR format &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;( you set&amp;nbsp;iparm[34] = 1; /* = 1 for zero-based indexing; = 0 for one-based indexing */1, &amp;nbsp;// PARDISO: use C-style indexing for ia and ja arrays.)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;The basic rule is that Last element of ia&amp;nbsp;is equal to number of nonzero elements in case of zero based numbering and number of nonzero elements + 1 in case of 1 based format.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;For example, in &lt;/SPAN&gt;489205, it has 459 equation, and &amp;nbsp;4746 nonzero elements, so the ia[459]=4746, not 4747. &amp;nbsp;so with his ia.txt and phase 11 pardiso, he will get the error .&amp;nbsp;&lt;/P&gt;

&lt;P&gt;val: 0.020833&lt;BR /&gt;
	ia&lt;N&gt;: 4739 /t ia[n+1]: 4747&lt;BR /&gt;
	*** Error in PARDISO &amp;nbsp;(incorrect input matrix &amp;nbsp;) error_num= 22&lt;BR /&gt;
	*** Input check: i=4746, ja&lt;I&gt;=-33686019, neqns=458 are incompatible&lt;/I&gt;&lt;/N&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If change the ia[459] = 4746, the phase 11 will pass. .&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2. ignore the phase steps.. &amp;nbsp;(the last steps).&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;For example, if jared just call Phase 331 no Phase 1 and Phase 2. &amp;nbsp;He will get the error as your.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;val: 0.020833&lt;BR /&gt;
	ia&lt;N&gt;: 4739 /t ia[n+1]: 4747&lt;BR /&gt;
	*** Error in PARDISO &amp;nbsp;( sequence_ido,parameters) error_num= 8&lt;BR /&gt;
	*** Input check: ia[neqns]_new -1 _old -1 are incompatible&lt;BR /&gt;
	*** Input parameters: inconsistent error= 8 max_fac_store_in: 1&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; matrix_number_in: 1 matrix_type_in: 11&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ido_in &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: 331 neqns_in &amp;nbsp; &amp;nbsp; &amp;nbsp;: 459&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ia[neqns_in]-1 &amp;nbsp;: -1 nb_in &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : 1&lt;/N&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;• Phase 1: Fill-reduction analysis and symbolic factorization&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Sparse Solver Routines8&lt;BR /&gt;
	2351&lt;BR /&gt;
	• Phase 2: Numerical factorization&lt;BR /&gt;
	• Phase 3: Forward and Backward solve including optional iterative&lt;BR /&gt;
	refinement&lt;BR /&gt;
	This phase can be divided into two or three separate substitutions:&lt;BR /&gt;
	forward, backward, and diagonal (see Separate Forward and Backward&lt;BR /&gt;
	Substitution).&lt;BR /&gt;
	• Memory release phase (phase= 0 or phase= -1)&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So please pay attention the two places and let us know if any news.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 06:58:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037769#M20516</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2014-06-18T06:58:35Z</dc:date>
    </item>
    <item>
      <title>Quote:Ying H (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037770#M20517</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Ying H (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Paul,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I happened to see the same issue in&amp;nbsp;&lt;A href="https://software.intel.com/en-us/forums/topic/489205"&gt;https://software.intel.com/en-us/forums/topic/489205&lt;/A&gt; &amp;nbsp;( in Quota 7&amp;amp; 25)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;The discussion thread&amp;nbsp;&amp;nbsp;is long, but there are two key points with the errors ( &lt;/STRONG&gt;other is about the &amp;nbsp;Jacobin&amp;nbsp;matrix has the zero rows)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. zero based CSR format &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2. ignore the phase steps.. &amp;nbsp;(the last steps).&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;
	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
		Hi, mr. Ying!&lt;BR /&gt;
		&lt;BR /&gt;
		Thanks you very much for your attention!&lt;BR /&gt;
		Your advices were very useful - in my case error was a result of incorrect &lt;STRONG&gt;ia &lt;/STRONG&gt;and &lt;STRONG&gt;ja &lt;/STRONG&gt;arrays. As you said, I checked last index in &lt;STRONG&gt;ia &lt;/STRONG&gt;array.&lt;BR /&gt;
		Base on indexing was correct, error was completely on my side: &lt;STRONG&gt;ia &lt;/STRONG&gt;and &lt;STRONG&gt;ja &lt;/STRONG&gt;arrays were swapped in input parameters.&lt;BR /&gt;
		After fixing it pardiso worked just fine.&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Best regards, Paul.&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2014 19:01:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-simmetric-sparse-matrix-analysis-step/m-p/1037770#M20517</guid>
      <dc:creator>Paul_O_</dc:creator>
      <dc:date>2014-06-26T19:01:20Z</dc:date>
    </item>
  </channel>
</rss>

