- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As emphasized in the mkl reference, the conjugate gradient sparse iterative solver is for positive symmetric matrices (call them A).
However there are two variations, that utilize A*A^t or A^t*A, that allow the usage of cg for arbitrary A.
Is there a way to fool the current cg to do it ? (the obvious way of forming the products before employing cg,
kills the sparsity, of course ).
Thank you in advance for your help,
Petros
As emphasized in the mkl reference, the conjugate gradient sparse iterative solver is for positive symmetric matrices (call them A).
However there are two variations, that utilize A*A^t or A^t*A, that allow the usage of cg for arbitrary A.
Is there a way to fool the current cg to do it ? (the obvious way of forming the products before employing cg,
kills the sparsity, of course ).
Thank you in advance for your help,
Petros
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
MKL CG doesn't support multiplication of A on A^t. Moreover, from my point of view, it's not a good idea to use CG for solving system like A^tAx=A^tb instead of Ax=b because number of CG iteration depend on condition number of stiffness matrix. In your case condition number of stiffness matrix is squaredcondition number of matrix A. If you matrix is not symmetric try to use fgmres solver from MKL
With best regards,
Alexander Kalinkin
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page