Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

running "cl_solver_unsym_c.c"

$
0
0

Hi. 

I need to run the code in examples/cluster_sparse_solverc/source of the Intel installation directory with different input data. 
Just as in the example, I am using CSR sparse format. Arrays a, ja and ia are read from files that I generated, and they are as follows:

a : double array of 52 nonzero elements. 

ja : 1     2     3    12     1     2     3     9     1     2     3     4     5     4     5  6    12     4     5     6     8     2     4     5     6    11     7     8     9     1     7     8     9     2     7     8     9    11    12     5     6    10    11    12     1   10    11    12     8    10    11    12

ja[i] = column index of a[i], counting from 1. 

ia :  1     5     9    14    18    22    27    30    34    40    45    49    53

assuming that the full matrix is 12x12, ia[i] = pointer to the first element of the i-th row. ia[12] = 53, that is the number of elements of a and ja + 1. 

when I execute it, I get the following message that appear in phase 22:

 

*** Error in PARDISO  (incorrect input matrix  ) error_num= 21

*** Input check: i=12, ia(i)=49, ia(i+1)=53 are incompatible

ERROR during symbolic factorization: -1

 

I don't see where is the mistake here. Why are those value of ia incompatible? Apart from reading these files, the only thing I changed was n, that is now 12.
Thank you in advance.

 


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>