LAPACK Archives

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

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

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
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

This set of patches have been tested as can be seen on
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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lahqr.patch
Type: text/x-patch
Size: 43490 bytes
Desc: not available
Url :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lasorte.patch
Type: text/x-patch
Size: 1356 bytes
Desc: not available
Url :

<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