LAPACK Archives

[Lapack] patches for scalapack to reduce use of uninitialized variables

On Mon, 2007-03-19 at 12:51 +0100, ?
ke Sandgren wrote:
Hi!

The attached set of patches for scalapack 1.7.4 does two things.
1 - reduce the usage of uninitialized variables
2 - fix a couple of incorrect calls to blacs (bad LDA)

Upcoming is a patch to pxlahqr to fix at least some of the uninitialized
variables and some other problems.

Attached is the lahqr patch and a fix to lasorte needed by lahqr which
used to get IERR != 0 back from lasorte.

The T2 = T1*V2 and T3 = T1*V3 moves are needed due to uninitialized
data.
The 2 changed IF-statements where brought about to make getting and
sending SMALLA consistent.
The ISTOP change at the bottom is a copy of the corresponding statement
at the top of the loop.

The init of VCOPY and SMALLA are neccesary.

lasorte couldn't handle a situation where the top S(1,1) eigenvalue was
real.

This set of patches have been tested as can be seen on
https://icl.cs.utk.edu/lapack-forum/viewtopic.php?p=1196#1196
so i'm fairly certain that they work correctly.

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: ake@Domain.Removed   Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lahqr.patch
Type: text/x-patch
Size: 43490 bytes
Desc: not available
Url : 
http://lists.cs.utk.edu/private/lapack/attachments/20070320/495c32c1/lahqr-0001.bin
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lasorte.patch
Type: text/x-patch
Size: 1356 bytes
Desc: not available
Url : 
http://lists.cs.utk.edu/private/lapack/attachments/20070320/495c32c1/lasorte-0001.bin
 

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or