Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
galeriTest.xml
Go to the documentation of this file.
1  <!--
2 
4  REQUIRED BLOCKS:
5  1. Input parameters
6  2. Problem parameters
7 
8  OPTIONAL Blocks:
9  3. Comparison
10 
11  SUPPORTED INPUT FILE TYPES:
12  1. Geometric Generator
13  2. Pamgen
14  3. Chaco
15  4. Matrix Market
16 
17  SUPPORTED PROBLEM TYPES:
18  1. partitioning
19 
20  SUPPORTED INPUT DATA TYPES:
21  1. coordinates
22  2. (x,t,e)petra_crs_matrix
23  3. (x,t,e)petra_crs_graph
24  4. (x,t,e)petra_vector
25  5. (x,t,e)petra_multivector
26 
27  SUPPORTED INPUT ADAPTERS:
28  1. BasicIdentifier
29  2. XpetraMultiVector
30  3. XpetraCrsGraph
31  4. XpetraCrsMatrix
32  5. BasicVector
33  5. PamgenMesh
34 
35  ** REFER TO THE README FOR A MORE DETAILED EXPLANATION
36 
39 
40 <ParameterList name="testDriverExample">
41 
42  <!-- 1. INPUT BLOCK DEFINITION -->
43 
44  <ParameterList name="InputParameters">
45 
46  <Parameter name="debug" type="bool" value="false" />
47  <!-- <Parameter name="distribute input" type="bool" value="False" /> -->
48 
49  <Parameter name="x" type="int" value="40"/>
50  <Parameter name="y" type="int" value="60"/>
51  <Parameter name="z" type="int" value="20"/>
52  <Parameter name="equation type" type="string" value="Laplace3D"/>
53  </ParameterList>
54 
55  <!-- 2. PROBLEM BLOCK DEFINITIONS -->
56 
57  <ParameterList name="Problem 1">
58  <Parameter name="kind" type="string" value="partitioning"/>
59 
60  <ParameterList name="InputAdapterParameters">
61  <!--<Parameter name="data type" type="string" value="tpetra_multivector"/>-->
62  <Parameter name="data type" type="string" value="coordinates"/>
63  <Parameter name="input adapter" type="string" value="XpetraMultiVector"/>
64  </ParameterList>
65 
66  <ParameterList name="Zoltan2Parameters">
67  <Parameter name="timer_output_stream" type="string" value="std::cout"/>
68  <Parameter name="rectilinear" type="bool" value="true"/>
69  <Parameter name="compute_metrics" type="bool" value="true"/>
70  </ParameterList>
71 
72  <ParameterList name="Metrics">
73  <ParameterList name="metriccheck1">
74  <Parameter name="check" type="string" value="imbalance"/>
75  <Parameter name="lower" type="double" value="0.99"/>
76  <Parameter name="upper" type="double" value="1.4"/>
77  </ParameterList>
78  </ParameterList>
79 
80  </ParameterList>
81 
82  <ParameterList name="Problem 2">
83  <Parameter name="kind" type="string" value="partitioning"/>
84 
85  <ParameterList name="InputAdapterParameters">
86  <Parameter name="data type" type="string" value="tpetra_multivector"/>
87  <Parameter name="vector_dimension" type="int" value="3"/>
88  <Parameter name="input adapter" type="string" value="XpetraMultiVector"/>
89  </ParameterList>
90 
91  <ParameterList name="Zoltan2Parameters">
92  <Parameter name="timer_output_stream" type="string" value="std::cout"/>
93  <Parameter name="rectilinear" type="bool" value="true"/>
94  <Parameter name="compute_metrics" type="bool" value="true"/>
95  </ParameterList>
96 
97  <ParameterList name="Metrics">
98  <ParameterList name="metriccheck1">
99  <Parameter name="check" type="string" value="imbalance"/>
100  <Parameter name="lower" type="double" value="0.99"/>
101  <Parameter name="upper" type="double" value="1.4"/>
102  </ParameterList>
103  </ParameterList>
104  </ParameterList>
105 
106  <ParameterList name="Problem 3">
107  <Parameter name="kind" type="string" value="partitioning"/>
108 
109  <ParameterList name="InputAdapterParameters">
110  <Parameter name="data type" type="string" value="xpetra_multivector"/>
111  <Parameter name="vector_dimension" type="int" value="3"/>
112  <Parameter name="input adapter" type="string" value="XpetraMultiVector"/>
113  </ParameterList>
114 
115  <ParameterList name="Zoltan2Parameters">
116  <Parameter name="timer_output_stream" type="string" value="std::cout"/>
117  <Parameter name="algorithm" type="string" value="rcb" />
118  <Parameter name="compute_metrics" type="bool" value="true"/>
119  </ParameterList>
120 
121  <ParameterList name="Metrics">
122  <ParameterList name="metriccheck1">
123  <Parameter name="check" type="string" value="imbalance"/>
124  <Parameter name="lower" type="double" value="0.99"/>
125  <Parameter name="upper" type="double" value="1.4"/>
126  </ParameterList>
127  </ParameterList>
128 
129  </ParameterList>
130 
131  <ParameterList name="Problem 4: mj-basic vector adapter">
132  <Parameter name="kind" type="string" value="partitioning"/>
133 
134  <ParameterList name="InputAdapterParameters">
135  <Parameter name="data type" type="string" value="coordinates"/>
136  <Parameter name="vector_dimension" type="int" value="4"/>
137  <Parameter name="stride" type="int" value="1"/>
138  <Parameter name="input adapter" type="string" value="BasicVector"/>
139  </ParameterList>
140 
141  <ParameterList name="Zoltan2Parameters">
142  <Parameter name="algorithm" type="string" value="multijagged"/>
143  <Parameter name="rectilinear" type="bool" value="true"/>
144  <Parameter name="compute_metrics" type="bool" value="true"/>
145  </ParameterList>
146 
147  <ParameterList name="Metrics">
148  <ParameterList name="metriccheck1">
149  <Parameter name="check" type="string" value="imbalance"/>
150  <Parameter name="lower" type="double" value="0.99"/>
151  <Parameter name="upper" type="double" value="1.4"/>
152  </ParameterList>
153  </ParameterList>
154  </ParameterList>
155 
156  <!-- 3. COMPARISON BLOCK DEFINITIONS -->
157 
158  <!--
159  <ParameterList name="Comparison">
160  <Parameter name="A" type="string" value="Problem 2"/>
161  <Parameter name="B" type="string" value="Problem 3"/>
162  </ParameterList>
163  -->
164 
165  <!--
166  <ParameterList name="Comparison">
167  <Parameter name="Problem" type="string" value="Problem 3"/>
168  <Parameter name="Reference" type="string" value="Problem 2"/>
169 
170  <ParameterList name="Metrics">
171  <ParameterList name="metriccheck1">
172  <Parameter name="check" type="string" value="imbalance"/>
173  <Parameter name="lower" type="double" value="0.1"/>
174  <Parameter name="upper" type="double" value="2.0"/>
175  </ParameterList>
176  </ParameterList>
177 
178  <ParameterList name="solve time">
179  <Parameter name="lower" type="double" value="0.1"/>
180  <Parameter name="upper" type="double" value="1.5"/>
181  </ParameterList>
182 
183  <ParameterList name="problem construction time">
184  <Parameter name="lower" type="double" value="0.1"/>
185  <Parameter name="upper" type="double" value="1.5"/>
186  </ParameterList>
187 
188  <ParameterList name="adapter construction time">
189  <Parameter name="lower" type="double" value="0.1"/>
190  <Parameter name="upper" type="double" value="1.5"/>
191  </ParameterList>
192 
193 </ParameterList>
194 -->
195 
196 </ParameterList>
197 
198 
static RCP< tMVector_t > coordinates