Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Paradiso Direct Sparse Solver Example

marcias_martinez
Beginner
258 Views
Hi Guys,
Can some one help clarify this issue:
Direct Sparse Solver Code Examples
that apperas on the MKL operations manual shows the following matrix:
Values 9 1.5 6 .75 3 0.5 12 .625 16
RHS 1 2 3 4 5
Columns 1 2 3 4 5 2 3 4 5
Rowindex 1 6 7 8 9 10
The results for this problem is:

Solution Array: -326.333 983.000 163.417 398.000 61.500

Now if in the value array I change the 12 for lets say a 10

I get the program to exit with an error -1 in the section

error = dss_factor_real( handle, type, values );

while in mathcad I get the answer to be:

22.89,-62.87, -13.07, -20.34, -3.86

Can someone explain what is going on.

Thanks

Marcias

P.S. Example found on page C-27 of the MKL manual.

0 Kudos
0 Replies
Reply