I use DSS interface to solve a sparse symmetric linear system. When a matrix is singular, the code is terminated at dss_factor_real() with a message "MKL-DSS-DSS-Error, Zero Pivot detected". It is inconvenient if I have to do it many times.
How do I prevent the termination and instead check whether factorization was successful.
Is this controlled by option=MKL_DSS_TERM__LVL_ERROR? I tried to change it but nothing happened.