Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6977 Discussions

What is error code -4 for cluster_sparse_solver routine

Piotr_G_1
Beginner
267 Views

Hi,

I am using CLUSTER_SPARSE_SOLVER with real symmetric matrices. During phase 22 (Numerical factorization) I obtained error code equal to -4. Unfortunately, in the reference manual there is no explanation for -4. Could you help me to interpret it?

Thanks,
Piotr

0 Kudos
2 Replies
Alexander_K_Intel2
267 Views

Hi,

What is the matrix type of your matrix? Such situation can appeared in case of zero pivot on diagonal for positive defined matrix

Thanks,

Alex

0 Kudos
Piotr_G_1
Beginner
267 Views

Hi Alexander,

I am defining mtype as 2 (real and symmetric positive definite). I have checked the diagonal and there are no zeros. The sparse matrix I am using was generated by external tool and this matrix is supposed to be of mtype 2 (positive definite). So, -4 means that there is something wrong with the matrix?

Thanks,
Piotr

0 Kudos
Reply