- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
=-=
I am trying to solve a large and sparse system of linear equations with multiple right hand sides using pardiso in mkl. The system has a structure (H-tI)x=b, where H is the large sparse matrix (symmetric), t is a real number and I is the unit matrix. I need the solution for several different values of the parameter t. Therefore, in every case only the diagonal elements change, the rest of the matrix is untouched. The right hand side is the same in all cases as well. I would like to know, whether it is enough to perform the symbolic factorization (phase 1) only once or whether it is necessary to perform it every time I change the value of t again and again.
Thank you for any reaction.
Michal
=-=
I am trying to solve a large and sparse system of linear equations with multiple right hand sides using pardiso in mkl. The system has a structure (H-tI)x=b, where H is the large sparse matrix (symmetric), t is a real number and I is the unit matrix. I need the solution for several different values of the parameter t. Therefore, in every case only the diagonal elements change, the rest of the matrix is untouched. The right hand side is the same in all cases as well. I would like to know, whether it is enough to perform the symbolic factorization (phase 1) only once or whether it is necessary to perform it every time I change the value of t again and again.
Thank you for any reaction.
Michal
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
It's depend on type of your matrix H and H-tI. Are they always positive defined or not?
With best regards,
Alexander Kalinkin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Matrix H is postive definite and H-tI can be indefinite. I use mtype=-2. Thank you for your flexible reaction.
Michal
Michal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In such case you need to use mtype = -2 for all cases and disable scaling and matching (iparm(11) and iparm(13)). But if you disable them for some matrices (for example indefinite or near indefinite) result will be quite wrong so I recommend you to use symbolic factorization for each matrix.
With best regards,
Alexander Kalinkin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
Michal
Michal
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