On entry to ZGEBAL parameter number 3 had an illegal value

Open discussion regarding features, bugs, issues, vendors, etc.

On entry to ZGEBAL parameter number 3 had an illegal value

Postby seyman » Fri May 24, 2013 8:14 am

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.
Last edited by seyman on Sat May 25, 2013 2:20 pm, edited 1 time in total.
seyman
 
Posts: 2
Joined: Fri May 24, 2013 5:28 am

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

Postby CyLith » Sat May 25, 2013 5:48 am

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.
CyLith
 
Posts: 35
Joined: Sun Feb 08, 2009 7:23 am
Location: Stanford, CA

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

Postby seyman » Sat May 25, 2013 2:22 pm

Thank you very much, it was so simple ^^
seyman
 
Posts: 2
Joined: Fri May 24, 2013 5:28 am


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests