Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- solving sparse systems of linear equations

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

Highlighted
##

stansy

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-15-2012
02:54 PM

17 Views

solving sparse systems of linear equations

Hi,

I tried to use DSS to solve systems of linear equations in the optimization process. Unfortunately, my sparse matrix is ill-defined for the calculations and the result is erroneous results. Is it possible to use Intel MKL to solve this problem?

Enclosed is a simple example that explains my problem. Note:onlydiagonalelements arechanged duringoptimization.

Regards,

Stan

2 Replies

Highlighted
##

Hi,
Matrix from your example correspond grid version of operator of 4th derivatives with Neumann boundary condition so it's has at least 2 vectors in Kernel space. This vector correlate const and linear function (x_1 = (1,1,1,1,1,....) and x_2 = (1,2,3,4,5,6,....)). System Ax=b with symmetric degenerate matrix have a solution if and only if rhs vector orthogonal kernel space. Moreover in such case the solution is not unique. In your example b is a part of kernel space so there is not any algebraic solution of you system.
With best regards,
Alexander Kalinkin

Alexander_K_Intel2

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-19-2012
03:57 AM

17 Views

Highlighted
##

Hi,
Alexander, thank you very much for an interesting answer. As I pointed, the calculations (optimization process) are determined diagonal elements of the matrix. I used an the iterative sparse solvers based on the reverse communication interface RCI CG and calculations give good results. Unfortunately, the number of iterations must be very large (about 2000) and my calculations are performed slower than MATLAB.
With greetings
Stan

stansy

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-19-2012
09:30 AM

17 Views

For more complete information about compiler optimizations, see our Optimization Notice.