- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am experimenting the Sparse QR library to solve a linear system of equations. When I run the attached file, I get the following output:
0
0
0
3
The last output "3" indicates "SPARSE_STATUS_INVALID_VALUE The input parameters contain an invalid value."
Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you put the input parameters into wriong order, fixing that, you will see the correct answer:
!stat = MKL_SPARSE_S_QR (SPARSE_OPERATION_NON_TRANSPOSE, csrA, descrA, SPARSE_LAYOUT_ROW_MAJOR, x, cols, ldx, b, ldb)
stat = MKL_SPARSE_S_QR (SPARSE_OPERATION_NON_TRANSPOSE, csrA, descrA, SPARSE_LAYOUT_ROW_MAJOR, cols, x, ldx, b, ldb)
_mkl_forum\u815245>test.exe
0
0
0
0
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you put the input parameters into wriong order, fixing that, you will see the correct answer:
!stat = MKL_SPARSE_S_QR (SPARSE_OPERATION_NON_TRANSPOSE, csrA, descrA, SPARSE_LAYOUT_ROW_MAJOR, x, cols, ldx, b, ldb)
stat = MKL_SPARSE_S_QR (SPARSE_OPERATION_NON_TRANSPOSE, csrA, descrA, SPARSE_LAYOUT_ROW_MAJOR, cols, x, ldx, b, ldb)
_mkl_forum\u815245>test.exe
0
0
0
0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for the prompt reply. It solved the problem.
Here is a feedback: the page 324 of the documentation "Intel Math Kernel Library Developer Reference" is incorrect:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem has been fixed in MKL version 2019 update 5. Please let us know if the problem still exists on your side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MKL v.2020 has been released and contains the fix of this problem either.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page