accessing LU matrices in Pardiso

accessing LU matrices in Pardiso


is it possible to access directly the LU matrices after the factorization stage in Pardiso?


11 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,LU matrices stored internally but you can get diagonal elements of Cholesky decomposition, number of positive and negative elements on diagonal an so on. What exactly you what to do with LU matrices obtained from PARDISO?With best regards,Alexander Kalinkin

I am thinking of using LU matrices to compute some elements (or blocks) of the inverse matrix using recursive
algorithms. For this, I need full access to LU (or L for Cholesky factorization) matrices.


Could you provide block-scheme of this algorithms or some articles about them? Maybe I could provide some ideas how PARDISO can be used to improve it.With best regards,Alexander Kalinkin

Hi Alexander,

thank you for your help. An example of recursive computing of inverse elements using LU matrices is given in Niessner et al. "On computing the inverse of a sparse matrix," International Journal for Numerical Methods in Engineering, Vol. 19, 1513-1526 (1983).
(I can send a pdf file vie email).

I am thinking of putting the block that I need in the lower right part of the inverse matrix and then applying formulas (21) and (22) [see also Figs.3,4]. My original matrix is symmetric and I was wondering whether PARDISO could be used to make Cholesky factorization and return the L-matrix (instead of actually solving the linear system of equations).


Hi,Could you upload this pdf by this forum? You can do it by private reply on this topic if there are some problem with sharing this article.With best regards,Alexander Kalinkin

Hi Alexander,

I need to access diagonal elements of sparse Cholesky, could you please show how these may be accessed? Thanks, RT

Hi Russ,Are your matrix symmetric? If yes the way how to find diagonal elements from Cholesky decomposition describe in this topic: ( or in PARDISO example folder (example name -pardiso_sym_getdiag_c.c).With best regards,Alexander Kalinkin

Thanks for the very quick reply. Yes, matrix is SPD.
thanks again,


Hi Alexander,

Two questions:

(1) I couldn't tell if LDL' or LL' is being computed?
(2) What is the cost of the two extra steps?

Thanks again,


Hi Russ,1. If mtype is equal 2 than LL^T decomposition will be computed,if mtype is equal -2 then LDL^T decomposition will be computed.2. It's depend on initial matrix size and structure.With best regards,Alexander Kalinkin

Leave a Comment

Please sign in to add a comment. Not a member? Join today