Hi,

I need to calculate the determinant of a large complex sparse matrix.

I start by LU factorization and then perform the sum of all logarithmic entries in order to avoid overflow.

To do the LU factorization I tried cusparseZcsrilu0, cusparseZcsrilu02 and others but all failed

in the manual, it says that using this methods the matrix becomes:

A=LU

However, the results makes non-sense.

The is any better method in cusolver or cupsarse libraries to compute the determimant of a sparse matrix?

Or what is the best method to do the LU factorization?

Also, in some methods we have to create and pass a descriptor for U and L, there is any way to access to this matrices?

Thanks,

Nuno