PARDISO: different outputs from the same source
Dear all,
I'm using PARDISO to solve a linear system originated from a Stokes problem. The matrix is real and structurally symmetric.
My first problem is that if I treat it as structurally symmetric (mtype=1) the solver fails and returns:
*** error PARDISO ( numerical_factorization) error_num= -1 *** error pardiso: zero pivot
.........
PARDISO statistics
......
error in PARDISO = -4
However, if I treat it as unsymmetric (mtype=11) the solver does not return any error. But perhaps this is not even a problem and depends on the fact that two different methods are used for these two type of matrices.
The second (and more serious) problem is that, using mtype=11, running the same executable twice results in two different solutions. To give an idea, for an element of the solution vector of the order of unity, the differences between the two runs can be up to 1e-5 in double precision. I use standard options (iparm(1)=0). I also tried to use customized options, but (strangely) no matter if I use iparm(2)=0 or iparm(2)=2, after the reordering phase (phase=11) Pardiso returns what follow:
*** error PARDISO (prereordering_mtype11,13) error_num= 0 *** error pardiso: preordering failed after 0 neqns out of 17312 struct. sing. or input/parameter problem (matrixtype 11,13)
.........
PARDISO statistics
......
error in PARDISO = -6
Does anybody have any idea of what can be wrong?
Thank you very much in advance,
Nicola
|