syev_2stage#
Functions
-
void ssyev_2stage(const char *jobz, const char *uplo, const INT n, f32 *A, const INT lda, f32 *W, f32 *work, const INT lwork, INT *info)#
SSYEV_2STAGE computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix
Ausing the 2stage technique for the reduction to tridiagonal.- Further Details:
All details about the 2stage techniques are available in:
Azzam Haidar, Hatem Ltaief, and Jack Dongarra. Parallel reduction to condensed forms for symmetric eigenvalue problems using aggregated fine-grained and memory-aware kernels. In Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘11), New York, NY, USA, Article 8 , 11 pages. https://doi.org/10.1145/2063384.2063394
A. Haidar, J. Kurzak, P. Luszczek, 2013. An improved parallel singular value algorithm and its implementation for multicore hardware, In Proceedings of 2013 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘13). Denver, Colorado, USA, 2013. Article 90, 12 pages. https://doi.org/10.1145/2503210.2503292
A. Haidar, R. Solca, S. Tomov, T. Schulthess and J. Dongarra. A novel hybrid CPU-GPU generalized eigensolver for electronic structure calculations based on fine-grained memory aware tasks. International Journal of High Performance Computing Applications. Volume 28 Issue 2, Pages 196-209, May 2014. https://doi.org/10.1177/1094342013502097
Parameters
injobz'N': Compute eigenvalues only;'V': Compute eigenvalues and eigenvectors. Not available in this release.inuplo'U': Upper triangle ofAis stored;'L': Lower triangle ofAis stored.innThe order of the matrix
A.n>=0.inoutAOn entry, the symmetric matrix
A. Ifuplo='U', the leadingn-by-nupper triangular part ofAcontains the upper triangular part of the matrixA. Ifuplo='L', the leadingn-by-nlower triangular part ofAcontains the lower triangular part of the matrixA. On exit, ifjobz='V', then ifinfo=0,Acontains the orthonormal eigenvectors of the matrixA. Ifjobz='N', then on exit the lower triangle (ifuplo='L') or the upper triangle (ifuplo='U') ofA, including the diagonal, is destroyed.inldaThe leading dimension of the array
A.lda>=max(1,n).outWArray of dimension (
n). Ifinfo=0, the eigenvalues in ascending order.outworkOn exit, if
info=0,work[0]returns the optimallwork.inlworkThe length of the array
work.lwork>=1, whenn<=1; otherwise: Ifjobz='N'andn>1,lworkmust be queried.wherelwork = MAX(1, dimension) where dimension = max(stage1,stage2) + (kd+1)*n + 2*n = n*kd + n*max(kd+1,FACTOPTNB) + max(2*kd*kd, kd*NTHREADS) + (kd+1)*n + 2*nkdis the blocking size of the reduction, FACTOPTNB is the blocking used by the QR or LQ algorithm, usually FACTOPTNB=128 is a good choice, NTHREADS is the number of threads used when openMP compilation is enabled, otherwise =1. Ifjobz='V'andn>1,lworkmust be queried. Not yet available. Iflwork=-1, then a workspace query is assumed; the routine only calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray, and no error message related tolworkis issued.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, the algorithm failed to converge; i off-diagonal elements of an intermediate tridiagonal form did not converge to zero.
void ssyev_2stage(
const char* jobz,
const char* uplo,
const INT n,
f32* A,
const INT lda,
f32* W,
f32* work,
const INT lwork,
INT* info
);
Functions
-
void dsyev_2stage(const char *jobz, const char *uplo, const INT n, f64 *A, const INT lda, f64 *W, f64 *work, const INT lwork, INT *info)#
DSYEV_2STAGE computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix
Ausing the 2stage technique for the reduction to tridiagonal.- Further Details:
All details about the 2stage techniques are available in:
Azzam Haidar, Hatem Ltaief, and Jack Dongarra. Parallel reduction to condensed forms for symmetric eigenvalue problems using aggregated fine-grained and memory-aware kernels. In Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘11), New York, NY, USA, Article 8 , 11 pages. https://doi.org/10.1145/2063384.2063394
A. Haidar, J. Kurzak, P. Luszczek, 2013. An improved parallel singular value algorithm and its implementation for multicore hardware, In Proceedings of 2013 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘13). Denver, Colorado, USA, 2013. Article 90, 12 pages. https://doi.org/10.1145/2503210.2503292
A. Haidar, R. Solca, S. Tomov, T. Schulthess and J. Dongarra. A novel hybrid CPU-GPU generalized eigensolver for electronic structure calculations based on fine-grained memory aware tasks. International Journal of High Performance Computing Applications. Volume 28 Issue 2, Pages 196-209, May 2014. https://doi.org/10.1177/1094342013502097
Parameters
injobz'N': Compute eigenvalues only;'V': Compute eigenvalues and eigenvectors. Not available in this release.inuplo'U': Upper triangle ofAis stored;'L': Lower triangle ofAis stored.innThe order of the matrix
A.n>=0.inoutAOn entry, the symmetric matrix
A. Ifuplo='U', the leadingn-by-nupper triangular part ofAcontains the upper triangular part of the matrixA. Ifuplo='L', the leadingn-by-nlower triangular part ofAcontains the lower triangular part of the matrixA. On exit, ifjobz='V', then ifinfo=0,Acontains the orthonormal eigenvectors of the matrixA. Ifjobz='N', then on exit the lower triangle (ifuplo='L') or the upper triangle (ifuplo='U') ofA, including the diagonal, is destroyed.inldaThe leading dimension of the array
A.lda>=max(1,n).outWArray of dimension (
n). Ifinfo=0, the eigenvalues in ascending order.outworkOn exit, if
info=0,work[0]returns the optimallwork.inlworkThe length of the array
work.lwork>=1, whenn<=1; otherwise: Ifjobz='N'andn>1,lworkmust be queried.wherelwork = MAX(1, dimension) where dimension = max(stage1,stage2) + (kd+1)*n + 2*n = n*kd + n*max(kd+1,FACTOPTNB) + max(2*kd*kd, kd*NTHREADS) + (kd+1)*n + 2*nkdis the blocking size of the reduction, FACTOPTNB is the blocking used by the QR or LQ algorithm, usually FACTOPTNB=128 is a good choice, NTHREADS is the number of threads used when openMP compilation is enabled, otherwise =1. Ifjobz='V'andn>1,lworkmust be queried. Not yet available. Iflwork=-1, then a workspace query is assumed; the routine only calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray, and no error message related tolworkis issued.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal valueinfo>0: ifinfo=i, the algorithm failed to converge; i off-diagonal elements of an intermediate tridiagonal form did not converge to zero.
void dsyev_2stage(
const char* jobz,
const char* uplo,
const INT n,
f64* A,
const INT lda,
f64* W,
f64* work,
const INT lwork,
INT* info
);