test.mpi.cmake
Go to the documentation of this file.
1 
2 list(APPEND TESTS_WITH_BASELINES
3  # Test uses D3 which is available in MPI only builds.
4  D3SmallCells.xml
5  EDLWithSubsampling.xml
6  # Test uses D3 which is available in MPI only builds.
7  ExportSelectionToCSV.xml
8  # This test check spreadsheet values which include processID
9  ManyTypesXMLWriterReaderMPI.xml
10  # Test Use Data Partitions for volume rendering
11  #UseDataPartitions.xml
12  # This tests uses PIOReader which requires MPI
13  ReadPIOWithHTG.xml
14  )
15 
16 list(APPEND TESTS_WITH_INLINE_COMPARES
17  # needs parallel server for the columns to match those in the test.
18  SpreadSheetParallelData.xml)
19 
20 # test only checks for spreadsheet columns correctly in
21 # parallel client-server mode.
22 set (SpreadSheetParallelData_DISABLE_C TRUE)
23 
24 # DistributePoints is only tested in non-built-in mode.
25 paraview_add_client_server_tests(
26  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
27  TEST_SCRIPTS DistributePoints.xml
28  )
30  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
31  TEST_SCRIPTS DistributePoints.xml
32  )
33 
34 # Process IDs tests are only tested in non-built-in mode.
35 paraview_add_client_server_tests(
36  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
37  TEST_SCRIPTS GenerateProcessIds.xml ProcessIdsHTG.xml
38  )
40  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
41  TEST_SCRIPTS GenerateProcessIds.xml ProcessIdsHTG.xml
42  )
43 
44 # Global IDs tests are only tested in non-built-in mode.
45 paraview_add_client_server_tests(
46  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
47  TEST_SCRIPTS GlobalPointAndCellIdsHTG.xml
48  )
50  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
51  TEST_SCRIPTS GlobalPointAndCellIdsHTG.xml
52  )
53 
54 # Volume rendering seems to work better in serial
55 set (UseDataPartitions_FORCE_SERIAL TRUE)
56 # This test requires a parallel partition to make sense so we
57 # skip running it with the built-in server.
59  TEST_SCRIPTS UseDataPartitions.xml
60  )
61 
62 # Test a bug (#22337) that could only happen in non built-in mode
63 # This test has no baseline.
65  TEST_SCRIPTS POpenFoamUpdate.xml
66  )
67 
68 # Test AppendReduce which can only be tested with non-built-in mode
70  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
71  TEST_SCRIPTS AppendReduce.xml
72  )
73 # Test AppendReduce which can only be tested with non-built-in mode
75  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
76  TEST_SCRIPTS AppendReduce.xml
77  )
78 
79 # Test uses GhostCellsGenerator which is available in MPI only builds.
80 # As the test use pvtu writer/reader it does not work in built-in mode.
81 paraview_add_client_server_tests(
82  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
83  TEST_SCRIPTS GhostCellsGenerator.xml
84  )
86  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
87  TEST_SCRIPTS GhostCellsGenerator.xml
88  )
89 
90 # HTG Source has special features when used in an MPI setting
92  TEST_SCRIPTS HyperTreeGridSourceDistributed.xml
93  )
94 
95 # GhostCellGeneratorSynchronize is only tested in non-built-in mode.
97  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
98  TEST_SCRIPTS GhostCellsGeneratorSynchronize.xml
99  )
101  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
102  TEST_SCRIPTS GhostCellsGeneratorSynchronize.xml
103  )
104 
105 # GhostCellsGeneratorImageDistributed needs specifically two servers
107  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
108  TEST_SCRIPTS GhostCellsGeneratorImageDistributed.xml
109  NUMSERVERS 2
110  )
112  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
113  TEST_SCRIPTS GhostCellsGeneratorImageDistributed.xml
114  NUMSERVERS 2
115  )
117  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
118  TEST_SCRIPTS HyperTreeGridGhostCellsGeneratorComposite.xml
119  NUMSERVERS 2
120  )
122  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
123  TEST_SCRIPTS RedistributeHyperTreeGrid.xml
124  NUMSERVERS 4
125  )
127  TEST_SCRIPTS GhostCellsHTGMultiblock.xml
128  NUMSERVERS 2
129 )
130 
131 # AppendReduceFilter needs specifically four servers to generate duplicate points
133  TEST_SCRIPTS vtkAppendReduceFilter.xml
134  NUMSERVERS 4
135 )
136 
137 # Piece distribution makes sense only in parallel
138 # using 3 servers to showcase the different distribution modes
140  TEST_SCRIPTS VTKHDFReaderPieceDistribution.xml
141  NUMSERVERS 3
142 )
143 
145  TEST_SCRIPTS GhostFeatureEdgesAndWireframe.xml
146  )
148  TEST_SCRIPTS GhostFeatureEdgesAndWireframe.xml
149  )
150 
152  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
153  TEST_SCRIPTS RemoveGhostInterfaces.xml
154  )
156  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
157  TEST_SCRIPTS RemoveGhostInterfaces.xml
158  )
159 
160 # Regression test for https://gitlab.kitware.com/paraview/paraview/-/issues/21396
161 # Opacity rendering specifically needs to be tested with >4 procs and remote rendering
163  TEST_SCRIPTS TestOpacityRendering.xml
164 )
166  TEST_SCRIPTS TestOpacityRendering.xml
167  NUMSERVERS 5
168 )
170  TEST_SCRIPTS TestOpacityRendering.xml
171  NUMSERVERS 5
172 )
173 
174 # Regression test for https://gitlab.kitware.com/paraview/paraview/-/issues/22681
175 # as it occurs when we have >=4 procs
177  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
178  TEST_SCRIPTS VolumeCrop.xml
179 )
181  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
182  TEST_SCRIPTS VolumeCrop.xml
183  NUMSERVERS 4
184 )
185 
186 if (PARAVIEW_ENABLE_COSMOTOOLS)
187  # Test the Generic IO file writer in VTKExtensions/CosmoTools
188  ExternalData_Expand_Arguments(ParaViewData _
189  "DATA{${paraview_test_data_directory_input}/Data/genericio/m000.499.allparticles}")
191  ARGS --mpi
192  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
193  TEST_SCRIPTS GenericIOReadWrite.xml
194  )
196  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
197  TEST_SCRIPTS GenericIOReadWrite.xml
198  )
200  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
201  TEST_SCRIPTS GenericIOReadWrite.xml
202  )
203 
204 endif()
205 list(APPEND TESTS_WITH_BASELINES
206  CGNSReader-5blocks_cgns.xml)
207 
208 # PointInterpolator only works in non-distributed modes.
209 set(PointInterpolator_DISABLE_CRS TRUE)
210 set(PointInterpolator_DISABLE_CS TRUE)
211 set(PointVolumeInterpolator_DISABLE_CS TRUE)
212 
213 # Test uses distributed sources
214 set(GhostCellsGeneratorImageSerial_DISABLE_CS TRUE)
215 set(GhostCellsGeneratorImageSerial_DISABLE_CRS TRUE)
216 
217 # The following tests are only run in client-server mode.
218 # They are needed to verify the remote saving/loading of different files, such as states and screenshots, work.
219 paraview_add_client_server_tests(
220  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
221  TEST_SCRIPTS SaveLoadRemoteState.xml
222  )
224  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
225  TEST_SCRIPTS SaveRemoteScreenshot.xml
226  )
228  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
229  TEST_SCRIPTS SaveRemoteAnimation.xml
230  )
231 
232 SET (SpreadSheet1_DISABLE_CS TRUE)
233 SET (SpreadSheet1_DISABLE_CRS TRUE)
234 
235 # Disabled since the 1 column in spreadsheet view ends up being "Process ID"
236 # which messes up the sorting in this test. Need to extend the testing framework
237 # or fix spreadsheet view for these to work properly.
238 SET (SpreadSheet3_DISABLE_CS TRUE)
239 SET (SpreadSheet3_DISABLE_CRS TRUE)
240 
241 # The hierchical fractal source is a temporary testing source and it does not
242 # create the dataset correctly in parallel. Since it's a testing source, I am
243 # just going to disable the test in parallel. We can fix the source when
244 # needed.
245 SET (RectilinearFractal_DISABLE_CS TRUE)
246 SET (RectilinearFractal_DISABLE_CRS TRUE)
247 
248 # Selections end up highlighting different set of ID based points in parallel.
249 # Hence disable them.
250 set (LineChartSelection_DISABLE_CS TRUE)
251 set (LineChartSelection_DISABLE_CRS TRUE)
252 
253 # For the same reasons
254 set (MultiBlockChartSelection_DISABLE_CS TRUE)
255 set (MultiBlockChartSelection_DISABLE_CRS TRUE)
256 
257 # Selection link may highlight incorrect ID in parallel,
258 # hence disable them.
259 set(SelectionLinkBasic_DISABLE_CS TRUE)
260 set(SelectionLinkInitial_DISABLE_CS TRUE)
261 set(SelectionLinkMultiple_DISABLE_CS TRUE)
262 set(SelectionLinkRemove_DISABLE_CS TRUE)
263 set(SelectionLinkReaction_DISABLE_CS TRUE)
264 set(SelectionLinkScripting_DISABLE_CS TRUE)
265 
266 # Many types has a MPI version and Sequential version
267 set(ManyTypesXMLWriterReader_DISABLE_CS TRUE)
268 set(ManyTypesXMLWriterReader_DISABLE_CRS TRUE)
269 set(ManyTypesXMLWriterReaderMPI_DISABLE_C TRUE)
Reduction Filter that uses vtkAppendDataSets as PostGatherHelper.
function paraview_add_client_server_tests()
mode
function paraview_add_client_server_render_tests()
function paraview_add_client_tests()