next up previous contents
Next: Example: Parallelizing Matrix-Matrix Multiplication Up: Triangular Solve with Multiple Previous: PLAPACK FORTRAN-C interface

PLAPACK calls

The PLAPACK equivalent local and global level-3 BLAS calls are given by place HR here

figure9722

figure9726

figure9729

place HR here Parameters SIDE, UPLO, TRANSA, and DIAG have been replaced by integer parameters side, uplo, transa, and diag, which can take on the values indicated in Table gif. All other parameters are now passed as part of linear algebra objects alpha, a, and b.

Local call:

When a node calls PLA_Local_trsm, the operation is equivalent to extracting the local information (datatype, dimensions, and pointers to the buffers) and locally performing the triangular solve with multiple right-hand-sides. Notice that the local portion of a must be square and stored in the indicated portion of the buffer. The local dimensions of alpha must be tex2html_wrap_inline15089 , but it can be of any object type. The local dimensions of a and b must be such that the operation is well-defined. All objects must have the same datatype. Notice: no communication is performed as part of this call. Thus, all information must be locally available.

Global call:

All nodes must simultaneously call PLA_Trsm, which performs the BLAS call on the distributed objects. Parameters side, uplo, trans, and diag still have the same meaning. Parameter alpha must now be a tex2html_wrap_inline15091 multiscalar. Parameters a and b must be of object type matrix. The global dimensions of the different objects must be such that the operation is well-defined.


next up previous contents
Next: Example: Parallelizing Matrix-Matrix Multiplication Up: Triangular Solve with Multiple Previous: PLAPACK FORTRAN-C interface

rvdg@cs.utexas.edu