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