summaryrefslogtreecommitdiff
path: root/SRC/stgex2.f
AgeCommit message (Collapse)AuthorFilesLines
2016-12-23Updating version number on source file modified since 3.6.1Julie1-3/+3
This is really old school, but a lot of times we have users sending us copy pasting of codes, and that is the only way to know the version of the code.
2016-07-09STYLE: Remove trailing whitespace in Fortran filesHans Johnson1-16/+16
This is mostly a long term maintenance improvement. Many coding styles require elimination of trailing whitespace, and many editors and source code management configurations automatically gobble up whitespace. When these tools gobble up whitespace, it complicates reviewing the meaningful code changes. By removing whitespace on one patch, it makes future code reviews much easier. =SCRIPT==================================================================== if which tempfile &>/dev/null; then TEMPMAKER=tempfile elif which mktemp &>/dev/null; then TEMPMAKER=mktemp else echo "Cannot find tempfile program." 2>&1 exit 1 fi MYTEMP=$($TEMPMAKER) trap 'rm -f $MYTEMP' SIGINT SIGTERM stripit() { echo "stripping $1" sed 's/[ \t]*$//' "$1" > $MYTEMP cp $MYTEMP "$1" } if [ $# -gt 0 ]; then while [ "$1" != "" ]; do stripit $1 shift done else while read -t 2; do stripit $REPLY done fi rm $MYTEMP =================================================
2015-11-15Updating version numberjulie1-3/+3
2015-01-30Ed Anderson Improvement - Jan 26 2015julie1-3/+1
STGEX2 can call Level 3 BLAS and I did this in LAPACK3E. I replaced STGEX2 with the LAPACK3E version (when I say STGEX2, I mean DTGEX2 too) and also fixed an incorrect leading dimension in DTGEX2.
2012-09-25(no commit message)julie1-2/+2
2012-08-25(no commit message)julie1-3/+3
2012-07-03Add Brief description for auxiliary routinesjulie1-1/+1
2011-11-11Update version number to 3.4.0julie1-1/+1
2011-11-03Cosmetic changes in Doxygen presentation.julie1-23/+24
Use \par instead of \details for section. add a Contributors Section and a Reference Section. Remove (some) verbatim section when not needed. Those changes have been done by hand so I am not sure I manage to catch them all.
2011-11-01Last commit related to Doxygen integration following Albert's commentjulie1-1/+3
2011-10-13adding link to individual download, the links will appear directly in ↵julie1-0/+8
Doxygen html documentation
2011-10-06Integrating Doxygen in commentsjulie1-113/+210
2011-04-13Upadte header for the modified routine for the 3.3.1 releasejulie1-2/+2
2011-04-02First pass to homgenize notation for transpose (**T) and conjugate transpose ↵julie1-7/+7
(**H) Corresponds to bug0024
2010-06-23Update date and version for 3.2.2 releasejulie1-2/+2
2010-04-02&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ↵langou1-3/+12
&&&&& "Bug" reported by Ondra Kamenik, confirmed by Julie Langou, fixed by Jim Demmel and Guillaume Revy. See forum post 1783. &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Fix problem in xTGEX2. The threshold value is too stringent and some matrices are failing. Relax the threshold by a factor 2. More below. &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& See: http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&t=1783 dgges issue >> by OndraKamenik >> Tue Mar 16, 2010 6:01 am All, I have the following problem with dgges. For version 3.1.1 and sooner, I get a reasonable result, for version 3.2 and 3.2.1 I get info=n+2. I am separating eigenvalues in the unit circle from one outside the unique circle. The two D and E matrices have relatively well separated null spaces, the minimum angle is acos(0.97). However, if i calculate condition numbers of E-lambda*D of lambda=[-1:0.01:1], they are quite bad. The matrices are attached with a small c++ program which calls dgges and sorts eigenvalues for a better comparison. There is also a Makefile, which links with different version of lapack. I use the reference blas. My question is if it is a bug in Lapack introduced between 3.2. and 3.1.1 or the matrix is just very bad and in version 3.1.1 I was just lucky to get a reasonable solution. Many thanks for any help. Ondra Kamenik &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Much more conversation on mailing list and forum [ skipped ] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Date: Wed, 31 Mar 2010 19:53:11 -0600 From: James Demmel This bug was introduced by changing the routine that computes Householder transformations in the last release of LAPACK from dlarfg to the new dlarfp, which makes the diagonal of the R factor in QR nonnegative. The bug was a failure (INFO = N+3) in the dgges routine for computing selected deflating subspaces of a matrix pencil A - lambda*B. I will describe the bug, a quick fix, and implications for the floating point debugging project that Guillaume and others of us are working on. The bug occurred in dtgex2, in the swapping of eigenvalues (adjacent 1x1 and/or 2x2 blocks on the diagonal of the generalized Schur form) in order to compute a selected subspace. The swapping involves QR decompositions of small (n <= 4) matrices. The code in dtgex2 performs two of its own internal correctness tests (a "weak" one and a "strong" one) to see if the swapping has been performed stably. The two tests compute a residual in slightly different ways. The weak test passed, but the strong test (which can be commented out by setting the internal parameter WANDS to be .false.) failed, leading to returning INFO = N+3. However, it failed by exceeding the threshold THRESH only by a factor like 1.2 or less. THRESH is set to 10*macheps*dnorm, so if we changed the (probably somewhat arbitrary) factor from 10 to 20, it would work. Or we could set WANDS = false. Since Bo's name is on this routine, his comments are particularly welcome. Guillaume and I spent a while tracking this down, and will continue to find out why dlarfp led to a (slightly!) larger residual than the old dlarfg. &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Date: Thu, 1 Apr 2010 20:01:21 -0600 From: James Demmel <demmel@cs.berkeley.edu> Actually, on reexamining the data, this example would be fixed by changing 10 to 11, but let's go with 20 to be on the safe side :) . I think it would be most efficient if Julie or you appropriately change the one line of code in DTGEX2: THRESH = MAX( TEN*EPS*DNORM, SMLNUM ) All versions (S/D/C/Z) have an analogous line of code with the same constant TEN that I would change. Sorry, I've lost track of the Mathworks bug report on dlarfp. Can you remind me? Thanks, Jim &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
2009-04-16Big commit before 3.2.1 release.julie1-1/+2
Those are just cosmetic changes to update version number and various other minor change.
2008-12-16(no commit message)julie1-1/+1
2008-10-28Move LAPACK trunk into position.jason1-0/+581