Try improve convergence dlaed4#655
Conversation
e252100 to
db0abe5
Compare
|
We are merging this issue. Quick update before the merge. This was a bug report from MathWorks, Intel looked at it, then Prof. Ren-Cang Li proposed a fix, then Intel confirmed that the fix fixed the issue. So we consider this as a legit fix, and we are merging. I hope we can write more on this thread to give more details. Stay tuned. |
|
For the record, I am adding an explanation of the fix from Prof Ren-Cang Li. This was done over email, so I am copy-pasting his email.
|
Description, and suggested fix from Professor Ren-Cang Li, University of Texas at Arlington
Consider the case of computing the last updated eigenvalue using
DLAED4. IfC=0,ETAis currently set toChances exist that
TAUis close to the desired valueDLAM - D(N). In such a case, the current initial guess forETAwould be very close to the upper bound (eitherRHOorRHO/2). As a result, it may take a lot more iterations to get toDLAM - D(N)eventually.One idea is to use a Newton step instead, i.e.,
This is the same initial step adopted when
W*ETA.GT.ZERO.