Matrix Eigensystem Tutorial For Parallel Computation.ppt
《Matrix Eigensystem Tutorial For Parallel Computation.ppt》由会员分享,可在线阅读,更多相关《Matrix Eigensystem Tutorial For Parallel Computation.ppt(31页珍藏版)》请在麦多课文档分享上搜索。
1、10/4/2018,1,Matrix Eigensystem Tutorial For Parallel Computation,High Performance Computing Center (HPC)http:/www.hpc.unm.edu,10/4/2018,2,Outline,10/4/2018,3,Outline Continued,10/4/2018,4,Outline Continued,10/4/2018,5,Main Purpose Of This Tutorial,Short and concise complement to the ScaLAPACK Users
2、Guide and Tutorial and other package documentation To explain the problems a user encounters using ScaLAPACK on a typical Linux cluster To provide solutions for the typical problems,10/4/2018,6,The Assumptions Made About The Users Of This Tutorial,The parallel eigensystem software is installed in an
3、 appropriate location in the machine and user needs to be aware of that location Users are assumed to be familiar with: The definition of the matrix eigensystem problem Using an editor The Fortran programming language Program compilation and makefiles Debugging a parallel program Setting the necessa
4、ry environment variables on a specific machine to submit and run a parallel program,10/4/2018,7,Important Points To Be Noted,The application code should be compiled with the same compiler that the parallel eigensystem library is built with. Otherwise, your driver code may not compile and/or link cor
5、rectly, or may not produce the correct results Later slides will be provided on the topics of: How to create a Makefile (Specific to the Linux) How to submit and run a parallel job on Linux system using PBS,10/4/2018,8,Organization Of ScaLAPACK,Organization A library of parallel math procedures Comp
6、onents of ScaLAPACK (dependency graph) PBLAS: Parallel BLAS (Basic Linear Algebra Subroutines) BLACS: Parallel Communication LAPACK: Serial linear algebra computation BLAS: Serial BLAS Note: The compilation and linking of the users program must provide access to these libraries In the linking proces
7、s, the more general libraries (highest in the dependency graph) should be first with the BLAS last,10/4/2018,9,References To ScaLAPACK,ScaLAPACK Users Guide (published by SIAM Press) Parallel Mathematical Libraries (http:/webct.ncsa.uiuc.edu:8900) Describes the structure of ScaLAPACK Provides a guid
8、e for using ScaLAPACK routines Highlights processor grid creation and ScaLAPACK data distribution; this tutorial assumes knowledge of this topic Provides a working example for matrix-vector multiplication, using ScaLAPACK ScaLAPACK Tutorial (http:/lib.org/scalapack/tutorial) Highlights structure, de
9、sign, content, performance of ScaLAPACK and other libraries (EISPACK, LINPACK, LAPACK, BLAS, BLACS, PBLAS, ATLAS) Provides examples of calls to ScaLAPACK and other library routines ScaLAPACK Example Programs (http:/lib.org/scalapack/examples) Provides working examples for solving symmetric, Hermitia
10、n, generalized symmetric, and generalized Hermitian eigenproblems,10/4/2018,10,Brief Definition Of Eigensystem,Right eigensystem To compute the non-zero right eigenvector (x) of matrix A corresponding to the eigenvalue , satisfying the equation A x = x Left eigensystem To compute the non-zero left e
11、igenvector (x) of matrix A corresponding to the eigenvalue , satisfying the equation xT A = xT,10/4/2018,11,Why You Need To Study This Tutorial Before Calling ScaLAPACK Routines,Calling an inappropriate routine for your eigenproblem may create very inaccurate results For example, dont solve the symm
12、etric eigenproblem with the general matrix eigenproblem routines Some important concerns: The type of input matrix A (complex, hermitian, symmetric, banded, dense, sparse, ) The data storage and distribution (determined by the user or by the library) Picking the correct algorithm for the following c
13、ases Standard problem (Ax = x) Generalized eigensystems (Ax = Bx, ABx = x) Symmetric and non-symmetric eigensystem problems Singular values and pseudo-inverses Least squares problem (may be),10/4/2018,12,Generic Steps In Solving The Eigenvalue Problem,Reduce the original matrix to a condensed form b
14、y similarity transformations Kinds of condensed form: Reduce a symmetric matrix to tridiagonal form Reduce a non-symmetric matrix to Hessenberg form, and the Hessenberg form to the Schur form Reduce a rectangular matrix to bidiagonal form to compute a singular value decomposition Compute the eigensy
15、stem of the condensed form Transform the eigenvectors of the condensed form back to the original matrix eigenvectors. The eigenvalues of the condensed form are the same as the eigenvalues of the original matrix,10/4/2018,13,Data-type And Matrix-type Designators In The ScaLAPACK Routines,Data-type S:
16、 Real (Single precision) D: Double precision C: Complex Z: Double complex(or Complex*16)Note: The list is shown for the Fortran language and Fortran is not case sensitive,Matrix-type SY: SYmmetric (real) HE: HErmitian (complex) OR: ORthogonal (real) UN: UNitary (complex) GE: GEneral (nonsymmetric, a
17、nd may be rectangular) TR: Tridiagonal ST: Symmetric Tridagonal PO: POsitive definite,10/4/2018,14,Classification Of ScaLAPACK Routines,Routines in ScaLAPACK are classified as: Driver, Computational, and Auxiliary routines Driver routines: Simple Driver A single driver computes all the eigenvalues a
18、nd eigenvectors of a matrix Expert Driver An expert driver computes all or a selected subset of the eigenvalues and eigenvectors of a matrix Computational routines More than one routine is necessary to complete the eigensystem computations Auxiliary routines Compute certain subtask or common low-lev
19、el computations (e.g, max, min, abs routines),10/4/2018,15,ScaLAPACK Generic Naming Conventions For Drivers And Computational Routines,SCALAPACK naming system is essentially the same as LAPACK with P added in the beginning of the name (P stands for parallel) The general form of names of Drivers and
20、Computational routines are as follows (includes at most 7 characters with only 2 ZZZ characters for the Driver routines) Pxyyzzz Symbols represent:P: Parallelx: Datatype designator such as S: real, D: double, .yy: Matrix type designator such as: GE: general, SY: symmetric, , or LA: auxiliary routine
21、 zzz: Computation type such as: EV: eigenvalues and eigenvectors As an example, PSSYEV is the driver for the parallel (P) eigensystem solver for a single (S) precision symmetric (SY) matrix which finds all eigenvalues (E) and eigenvectors (V),10/4/2018,16,ScaLAPACK Generic Naming Convention For Auxi
22、liary Routines,In the Auxiliary routines A similar naming scheme as the previous slide except that YY is replaced with LA Exceptions: The non-blocked version of the blocked algorithms have the character 2 instead of a letter at the end (e.g., PSGETF2 is the unblocked version of PSGETRF) A few routin
23、es which are regarded as extensions to BLAS have similar names to the BLAS routines,10/4/2018,17,Naming Convention For The Driver Routines,Computational part (ZZZ) in Driver routine names: Simple Driver ZZZ string is EV (EigenValues & eigenVectors) Expert Driver Computes all or a selected subset of
24、the eigenvalues and eigenvectors ZZZ string is EVX Computes the solution to the Generalized Symmetric Definite Eigenproblems zzz string is with GVX,10/4/2018,18,Naming Convention For The Computational Routines,In the Computational routines:ZZZ is replaced with several acronyms depending on the matri
25、x-type as described below Symmetric eigenproblem Computes eigenvalues and eigenvectors of real-symmetric or complex-Hermitian matrix A Steps in computation When reducing A to tridiagonal form, the zzz string is TRD, meaning Tridiagonal ReDuction When computing eigenvalues/eigenvectors of a tridigona
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- MATRIXEIGENSYSTEMTUTORIALFORPARALLELCOMPUTATIONPPT

链接地址:http://www.mydoc123.com/p-372984.html