PDSYNTRD not available for UPLO = 'U'

Post here if you would like to submit a feature request to the LAPACK or ScaLAPACK library

PDSYNTRD not available for UPLO = 'U'

Postby naromero » Tue Dec 21, 2010 2:26 pm


This is a feature request. It would be nice to see:

work with the fast algorithm for the UPLO = 'U' case.

Additionally, it would be good if all the eigensolver made use of the
faster House holder algorithm, i.e.

Nichols A. Romero
Argonne Leadership Computing Facility
Posts: 11
Joined: Wed Jan 14, 2009 7:20 pm

Re: PDSYNTRD not available for UPLO = 'U'

Postby Julien Langou » Wed Jan 26, 2011 4:33 pm

Hi Nichols,

Thanks for pointing this out. I believe you are referring to the master thesis of Jack Poulson for PDSYNTRD, and the paper "Accumulating Householder Transformations, Revisited" from Joffrain, Low, Quintana-Ortí, van de Geijn, and Van Zee for the "faster Householder algorithm".

Well, yes, we might definitely want to consider adding these. I am not too familiar with the work personally.

Thanks for pointing these, we will let you know the status of these items if it gets changed.
See: http://www.netlib.org/lapack/WishList/

Julien Langou
Posts: 727
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA

Re: PDSYNTRD not available for UPLO = 'U'

Postby jackpoulson » Tue Feb 15, 2011 12:07 pm


My master's thesis included work on an algorithm similar to PDSYNGST, not PDSYNTRD, but, at the time, I was unfortunately not aware of the existence of the work of Sears/Stanley/Henry and the resulting PDSYNGST/PZHENGST algorithm. Since ScaLAPACK already contains the lower-triangular routines, it is simply a matter of transcription to write the upper triangular routines. Because the upper triangle is the conjugate-transpose of the lower-triangle, simply conjugate-transposing each lower-triangular update yields the upper-triangular update, for both PDSYNGST/PZHENGST and PDSYNTRD/PZHENTRD.

For instance, suppose the lower-triangular update was:

CALL PZTRSM( 'Right', 'Lower', 'Conjugate transpose', 'Non-Unit',
$ K, JB, ONE, A, I, J, DESCA, A, I+JB,
$ J, DESCA )

This is simply A21 := A21 tril(A11)^{-H}, and so the conjugate-transpose update is A21^H := tril(A11)^{-1} A21^H, which is clearly equivalent to A12 := triu(A11)^{-H} A12. That update is translated back into PBLAS as

CALL PZTRSM( 'Left', 'Upper', 'No transpose', 'Non-Unit',
$ JB, K, ONE, A, I, J, DESCA, A, I,

This is obviously a simple case (and forgive me if I translated back into PBLAS incorrectly), but the idea is pretty simple: conjugate-transpose the updates and you can easily translate a lower-triangular storage symmetric routine into an upper-triangular storage version.

This approach would require barely any work for PDSYNGST/PZHENGST, but PDSYNTRD/PZHENTRD is quite detailed...

As for the UT transform blocked Householder application algorithm, it relies on having computed 'true' (generalized) Householder reflectors. In particular, since identity is not a Householder transform, the identity shortcuts would have to be removed in favor of a legal reflection of the form:
H = I - 2 [1; zeros(n-1,1)] [1 zeros(1,n-1)], so that H [alpha11; 0] = [-alpha11; 0].

Posts: 2
Joined: Tue Feb 15, 2011 11:19 am

Return to Feature Request

Who is online

Users browsing this forum: No registered users and 0 guests