please can you help me with my code - I use Lapack to solve complex matrix (quite biq) and do it in two steps: I call zgetrf (LU factorization) and then zgetrs (solving system).
But the info value for zgetrf is not zero - zgetrf fails to factorize the matrix. The info value is 2. In the manual of Intel MKL (I use Lapack from these) they write:
infoINTEGER.If
info=0, the execution is successful.If
info = -i, the i-th parameter had an illegal value.If
info = i, $u_{ii}$ is 0. The factorization has been completed, but $U$ is exactly singular. Division by 0 will occur if you use the factor $U$ for solving a system of linear equations.
So I understand my matrix is somehow singular. But what does the number say - if my info=2 then the second line in my matrix is linear dependent? Or something like that? Many thanks