| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE>HPL_pdlaprnt HPL 2.0 Library Functions September 10, 2008</TITLE> |
| 4 | </HEAD> |
| 5 | |
| 6 | <BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099" |
| 7 | ALINK = "#ffff00"> |
| 8 | |
| 9 | <H1>Name</H1> |
| 10 | <B>HPL_pdlaprnt</B> Print a distributed matrix A. |
| 11 | |
| 12 | <H1>Synopsis</H1> |
| 13 | <CODE>#include "hpl.h"</CODE><BR><BR> |
| 14 | <CODE>void</CODE> |
| 15 | <CODE>HPL_pdlaprnt(</CODE> |
| 16 | <CODE>const HPL_T_grid *</CODE> |
| 17 | <CODE>GRID</CODE>, |
| 18 | <CODE>const int</CODE> |
| 19 | <CODE>M</CODE>, |
| 20 | <CODE>const int</CODE> |
| 21 | <CODE>N</CODE>, |
| 22 | <CODE>const int</CODE> |
| 23 | <CODE>NB</CODE>, |
| 24 | <CODE>double *</CODE> |
| 25 | <CODE>A</CODE>, |
| 26 | <CODE>const int</CODE> |
| 27 | <CODE>LDA</CODE>, |
| 28 | <CODE>const int</CODE> |
| 29 | <CODE>IAROW</CODE>, |
| 30 | <CODE>const int</CODE> |
| 31 | <CODE>IACOL</CODE>, |
| 32 | <CODE>const char *</CODE> |
| 33 | <CODE>CMATNM</CODE> |
| 34 | <CODE>);</CODE> |
| 35 | |
| 36 | <H1>Description</H1> |
| 37 | <B>HPL_pdlaprnt</B> |
| 38 | prints to standard error a distributed matrix A. The |
| 39 | local pieces of A are sent to the process of coordinates (0,0) in |
| 40 | the grid and then printed. |
| 41 | |
| 42 | <H1>Arguments</H1> |
| 43 | <PRE> |
| 44 | GRID (local input) const HPL_T_grid * |
| 45 | On entry, GRID points to the data structure containing the |
| 46 | process grid information. |
| 47 | </PRE> |
| 48 | <PRE> |
| 49 | M (global input) const int |
| 50 | On entry, M specifies the number of rows of the coefficient |
| 51 | matrix A. M must be at least zero. |
| 52 | </PRE> |
| 53 | <PRE> |
| 54 | N (global input) const int |
| 55 | On entry, N specifies the number of columns of the |
| 56 | coefficient matrix A. N must be at least zero. |
| 57 | </PRE> |
| 58 | <PRE> |
| 59 | NB (global input) const int |
| 60 | On entry, NB specifies the blocking factor used to partition |
| 61 | and distribute the matrix. NB must be larger than one. |
| 62 | </PRE> |
| 63 | <PRE> |
| 64 | A (local input) double * |
| 65 | On entry, A points to an array of dimension (LDA,LocQ(N)). |
| 66 | This array contains the coefficient matrix to be printed. |
| 67 | </PRE> |
| 68 | <PRE> |
| 69 | LDA (local input) const int |
| 70 | On entry, LDA specifies the leading dimension of the array A. |
| 71 | LDA must be at least max(1,LocP(M)). |
| 72 | </PRE> |
| 73 | <PRE> |
| 74 | IAROW (global input) const int |
| 75 | On entry, IAROW specifies the row process coordinate owning |
| 76 | the first row of A. IAROW must be larger than or equal to |
| 77 | zero and less than NPROW. |
| 78 | </PRE> |
| 79 | <PRE> |
| 80 | IACOL (global input) const int |
| 81 | On entry, IACOL specifies the column process coordinate |
| 82 | owning the first column of A. IACOL must be larger than or |
| 83 | equal to zero and less than NPCOL. |
| 84 | </PRE> |
| 85 | <PRE> |
| 86 | CMATNM (global input) const char * |
| 87 | On entry, CMATNM is the name of the matrix to be printed. |
| 88 | </PRE> |
| 89 | |
| 90 | <H1>See Also</H1> |
| 91 | <A HREF="HPL_fprintf.html">HPL_fprintf</A>. |
| 92 | |
| 93 | </BODY> |
| 94 | </HTML> |