root / www / HPL_pdinfo.html
Historique | Voir | Annoter | Télécharger (8,51 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_pdinfo 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_pdinfo</B> Read input parameter file. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>void</CODE> |
15 |
<CODE>HPL_pdinfo(</CODE> |
16 |
<CODE>HPL_T_test *</CODE> |
17 |
<CODE>TEST</CODE>, |
18 |
<CODE>int *</CODE> |
19 |
<CODE>NS</CODE>, |
20 |
<CODE>int *</CODE> |
21 |
<CODE>N</CODE>, |
22 |
<CODE>int *</CODE> |
23 |
<CODE>NBS</CODE>, |
24 |
<CODE>int *</CODE> |
25 |
<CODE>NB</CODE>, |
26 |
<CODE>HPL_T_ORDER *</CODE> |
27 |
<CODE>PMAPPIN</CODE>, |
28 |
<CODE>int *</CODE> |
29 |
<CODE>NPQS</CODE>, |
30 |
<CODE>int *</CODE> |
31 |
<CODE>P</CODE>, |
32 |
<CODE>int *</CODE> |
33 |
<CODE>Q</CODE>, |
34 |
<CODE>int *</CODE> |
35 |
<CODE>NPFS</CODE>, |
36 |
<CODE>HPL_T_FACT *</CODE> |
37 |
<CODE>PF</CODE>, |
38 |
<CODE>int *</CODE> |
39 |
<CODE>NBMS</CODE>, |
40 |
<CODE>int *</CODE> |
41 |
<CODE>NBM</CODE>, |
42 |
<CODE>int *</CODE> |
43 |
<CODE>NDVS</CODE>, |
44 |
<CODE>int *</CODE> |
45 |
<CODE>NDV</CODE>, |
46 |
<CODE>int *</CODE> |
47 |
<CODE>NRFS</CODE>, |
48 |
<CODE>HPL_T_FACT *</CODE> |
49 |
<CODE>RF</CODE>, |
50 |
<CODE>int *</CODE> |
51 |
<CODE>NTPS</CODE>, |
52 |
<CODE>HPL_T_TOP *</CODE> |
53 |
<CODE>TP</CODE>, |
54 |
<CODE>int *</CODE> |
55 |
<CODE>NDHS</CODE>, |
56 |
<CODE>int *</CODE> |
57 |
<CODE>DH</CODE>, |
58 |
<CODE>HPL_T_SWAP *</CODE> |
59 |
<CODE>FSWAP</CODE>, |
60 |
<CODE>int *</CODE> |
61 |
<CODE>TSWAP</CODE>, |
62 |
<CODE>int *</CODE> |
63 |
<CODE>L1NOTRAN</CODE>, |
64 |
<CODE>int *</CODE> |
65 |
<CODE>UNOTRAN</CODE>, |
66 |
<CODE>int *</CODE> |
67 |
<CODE>EQUIL</CODE>, |
68 |
<CODE>int *</CODE> |
69 |
<CODE>ALIGN</CODE> |
70 |
<CODE>);</CODE> |
71 |
|
72 |
<H1>Description</H1> |
73 |
<B>HPL_pdinfo</B> |
74 |
reads the startup information for the various tests and |
75 |
transmits it to all processes. |
76 |
|
77 |
<H1>Arguments</H1> |
78 |
<PRE>
|
79 |
TEST (global output) HPL_T_test * |
80 |
On entry, TEST points to a testing data structure. On exit, |
81 |
the fields of this data structure are initialized as follows: |
82 |
TEST->outfp specifies the output file where the results will
|
83 |
be printed. It is only defined and used by the process 0 of |
84 |
the grid. TEST->thrsh specifies the threshhold value for the
|
85 |
test ratio. TEST->epsil is the relative machine precision of
|
86 |
the distributed computer. Finally the test counters, kfail, |
87 |
kpass, kskip, ktest are initialized to zero. |
88 |
</PRE>
|
89 |
<PRE>
|
90 |
NS (global output) int * |
91 |
On exit, NS specifies the number of different problem sizes |
92 |
to be tested. NS is less than or equal to HPL_MAX_PARAM. |
93 |
</PRE>
|
94 |
<PRE>
|
95 |
N (global output) int * |
96 |
On entry, N is an array of dimension HPL_MAX_PARAM. On exit, |
97 |
the first NS entries of this array contain the problem sizes |
98 |
to run the code with. |
99 |
</PRE>
|
100 |
<PRE>
|
101 |
NBS (global output) int * |
102 |
On exit, NBS specifies the number of different distribution |
103 |
blocking factors to be tested. NBS must be less than or equal |
104 |
to HPL_MAX_PARAM. |
105 |
</PRE>
|
106 |
<PRE>
|
107 |
NB (global output) int * |
108 |
On exit, PMAPPIN specifies the process mapping onto the no- |
109 |
des of the MPI machine configuration. PMAPPIN defaults to |
110 |
row-major ordering. |
111 |
</PRE>
|
112 |
<PRE>
|
113 |
PMAPPIN (global output) HPL_T_ORDER * |
114 |
On entry, NB is an array of dimension HPL_MAX_PARAM. On exit, |
115 |
the first NBS entries of this array contain the values of the |
116 |
various distribution blocking factors, to run the code with. |
117 |
</PRE>
|
118 |
<PRE>
|
119 |
NPQS (global output) int * |
120 |
On exit, NPQS specifies the number of different values that |
121 |
can be used for P and Q, i.e., the number of process grids to |
122 |
run the code with. NPQS must be less than or equal to |
123 |
HPL_MAX_PARAM. |
124 |
</PRE>
|
125 |
<PRE>
|
126 |
P (global output) int * |
127 |
On entry, P is an array of dimension HPL_MAX_PARAM. On exit, |
128 |
the first NPQS entries of this array contain the values of P, |
129 |
the number of process rows of the NPQS grids to run the code |
130 |
with. |
131 |
</PRE>
|
132 |
<PRE>
|
133 |
Q (global output) int * |
134 |
On entry, Q is an array of dimension HPL_MAX_PARAM. On exit, |
135 |
the first NPQS entries of this array contain the values of Q, |
136 |
the number of process columns of the NPQS grids to run the |
137 |
code with. |
138 |
</PRE>
|
139 |
<PRE>
|
140 |
NPFS (global output) int * |
141 |
On exit, NPFS specifies the number of different values that |
142 |
can be used for PF : the panel factorization algorithm to run |
143 |
the code with. NPFS is less than or equal to HPL_MAX_PARAM. |
144 |
</PRE>
|
145 |
<PRE>
|
146 |
PF (global output) HPL_T_FACT * |
147 |
On entry, PF is an array of dimension HPL_MAX_PARAM. On exit, |
148 |
the first NPFS entries of this array contain the various |
149 |
panel factorization algorithms to run the code with. |
150 |
</PRE>
|
151 |
<PRE>
|
152 |
NBMS (global output) int * |
153 |
On exit, NBMS specifies the number of various recursive |
154 |
stopping criteria to be tested. NBMS must be less than or |
155 |
equal to HPL_MAX_PARAM. |
156 |
</PRE>
|
157 |
<PRE>
|
158 |
NBM (global output) int * |
159 |
On entry, NBM is an array of dimension HPL_MAX_PARAM. On |
160 |
exit, the first NBMS entries of this array contain the values |
161 |
of the various recursive stopping criteria to be tested. |
162 |
</PRE>
|
163 |
<PRE>
|
164 |
NDVS (global output) int * |
165 |
On exit, NDVS specifies the number of various numbers of |
166 |
panels in recursion to be tested. NDVS is less than or equal |
167 |
to HPL_MAX_PARAM. |
168 |
</PRE>
|
169 |
<PRE>
|
170 |
NDV (global output) int * |
171 |
On entry, NDV is an array of dimension HPL_MAX_PARAM. On |
172 |
exit, the first NDVS entries of this array contain the values |
173 |
of the various numbers of panels in recursion to be tested. |
174 |
</PRE>
|
175 |
<PRE>
|
176 |
NRFS (global output) int * |
177 |
On exit, NRFS specifies the number of different values that |
178 |
can be used for RF : the recursive factorization algorithm to |
179 |
be tested. NRFS is less than or equal to HPL_MAX_PARAM. |
180 |
</PRE>
|
181 |
<PRE>
|
182 |
RF (global output) HPL_T_FACT * |
183 |
On entry, RF is an array of dimension HPL_MAX_PARAM. On exit, |
184 |
the first NRFS entries of this array contain the various |
185 |
recursive factorization algorithms to run the code with. |
186 |
</PRE>
|
187 |
<PRE>
|
188 |
NTPS (global output) int * |
189 |
On exit, NTPS specifies the number of different values that |
190 |
can be used for the broadcast topologies to be tested. NTPS |
191 |
is less than or equal to HPL_MAX_PARAM. |
192 |
</PRE>
|
193 |
<PRE>
|
194 |
TP (global output) HPL_T_TOP * |
195 |
On entry, TP is an array of dimension HPL_MAX_PARAM. On exit, |
196 |
the first NTPS entries of this array contain the various |
197 |
broadcast (along rows) topologies to run the code with. |
198 |
</PRE>
|
199 |
<PRE>
|
200 |
NDHS (global output) int * |
201 |
On exit, NDHS specifies the number of different values that |
202 |
can be used for the lookahead depths to be tested. NDHS is |
203 |
less than or equal to HPL_MAX_PARAM. |
204 |
</PRE>
|
205 |
<PRE>
|
206 |
DH (global output) int * |
207 |
On entry, DH is an array of dimension HPL_MAX_PARAM. On |
208 |
exit, the first NDHS entries of this array contain the values |
209 |
of lookahead depths to run the code with. Such a value is at |
210 |
least 0 (no-lookahead) or greater than zero. |
211 |
</PRE>
|
212 |
<PRE>
|
213 |
FSWAP (global output) HPL_T_SWAP * |
214 |
On exit, FSWAP specifies the swapping algorithm to be used in |
215 |
all tests. |
216 |
</PRE>
|
217 |
<PRE>
|
218 |
TSWAP (global output) int * |
219 |
On exit, TSWAP specifies the swapping threshold as a number |
220 |
of columns when the mixed swapping algorithm was chosen. |
221 |
</PRE>
|
222 |
<PRE>
|
223 |
L1NOTRA (global output) int * |
224 |
On exit, L1NOTRAN specifies whether the upper triangle of the |
225 |
panels of columns should be stored in no-transposed form |
226 |
(L1NOTRAN=1) or in transposed form (L1NOTRAN=0). |
227 |
</PRE>
|
228 |
<PRE>
|
229 |
UNOTRAN (global output) int * |
230 |
On exit, UNOTRAN specifies whether the panels of rows should |
231 |
be stored in no-transposed form (UNOTRAN=1) or transposed |
232 |
form (UNOTRAN=0) during their broadcast. |
233 |
</PRE>
|
234 |
<PRE>
|
235 |
EQUIL (global output) int * |
236 |
On exit, EQUIL specifies whether equilibration during the |
237 |
swap-broadcast of the panel of rows should be performed |
238 |
(EQUIL=1) or not (EQUIL=0). |
239 |
</PRE>
|
240 |
<PRE>
|
241 |
ALIGN (global output) int * |
242 |
On exit, ALIGN specifies the alignment of the dynamically |
243 |
allocated buffers in double precision words. ALIGN is greater |
244 |
than zero. |
245 |
</PRE>
|
246 |
|
247 |
<H1>See Also</H1> |
248 |
<A HREF="HPL_pddriver.html">HPL_pddriver</A>, |
249 |
<A HREF="HPL_pdtest.html">HPL_pdtest</A>. |
250 |
|
251 |
</BODY>
|
252 |
</HTML>
|