Page 1 of 1

On entry to ZGEBAL parameter number 3 had an illegal value

PostPosted: Fri May 24, 2013 8:14 am
by seyman
Using ZGEEV, I get the folowing error message :
On entry to ZGEBAL parameter number 3 had an illegal value

Obviously ZGEEV uses ZGEBAL. ZGEBAL parameter number 3 is the input matrix.

In my program I have to get the eigenvalues of a complex(8) hamiltonian matrix.
The issue disapears when I change some terms in my matrix.

Does that mean that my matrix is not diagonalizable, or is it another technical problem?

PS : I'm french, so excuse my language.

Re: On entry to ZGEBAL parameter number 3 had an illegal va

PostPosted: Sat May 25, 2013 5:48 am
by CyLith
If you look in the source for ZGEBAL, you see that it returns -3 when the input matrix has NaNs in it. So when you changed the entries of the matrix, you must have made the NaNs go away.

Re: On entry to ZGEBAL parameter number 3 had an illegal va

PostPosted: Sat May 25, 2013 2:22 pm
by seyman
Thank you very much, it was so simple ^^