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 # GhostCellGeneratorSynchronize is only tested in non-built-in mode.
89 paraview_add_client_server_tests(
90  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
91  TEST_SCRIPTS GhostCellsGeneratorSynchronize.xml
92  )
94  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
95  TEST_SCRIPTS GhostCellsGeneratorSynchronize.xml
96  )
97 
98 # GhostCellsGeneratorImageDistributed needs specifically two servers
100  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
101  TEST_SCRIPTS GhostCellsGeneratorImageDistributed.xml
102  NUMSERVERS 2
103  )
105  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
106  TEST_SCRIPTS GhostCellsGeneratorImageDistributed.xml
107  NUMSERVERS 2
108  )
109 
111  TEST_SCRIPTS GhostFeatureEdgesAndWireframe.xml
112  )
114  TEST_SCRIPTS GhostFeatureEdgesAndWireframe.xml
115  )
116 
118  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
119  TEST_SCRIPTS RemoveGhostInterfaces.xml
120  )
122  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
123  TEST_SCRIPTS RemoveGhostInterfaces.xml
124  )
125 
126 # Regression test for https://gitlab.kitware.com/paraview/paraview/-/issues/21396
127 # Opacity rendering specifically needs to be tested with >4 procs and remote rendering
129  TEST_SCRIPTS TestOpacityRendering.xml
130 )
132  TEST_SCRIPTS TestOpacityRendering.xml
133  NUMSERVERS 5
134 )
136  TEST_SCRIPTS TestOpacityRendering.xml
137  NUMSERVERS 5
138 )
139 
140 # Regression test for https://gitlab.kitware.com/paraview/paraview/-/issues/22681
141 # as it occurs when we have >=4 procs
143  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
144  TEST_SCRIPTS VolumeCrop.xml
145 )
147  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
148  TEST_SCRIPTS VolumeCrop.xml
149  NUMSERVERS 4
150 )
151 
152 if (PARAVIEW_ENABLE_COSMOTOOLS)
153  # Test the Generic IO file writer in VTKExtensions/CosmoTools
154  ExternalData_Expand_Arguments(ParaViewData _
155  "DATA{${paraview_test_data_directory_input}/Data/genericio/m000.499.allparticles}")
157  ARGS --mpi
158  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
159  TEST_SCRIPTS GenericIOReadWrite.xml
160  )
162  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
163  TEST_SCRIPTS GenericIOReadWrite.xml
164  )
166  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
167  TEST_SCRIPTS GenericIOReadWrite.xml
168  )
169 
170 endif()
171 list(APPEND TESTS_WITH_BASELINES
172  CGNSReader-5blocks_cgns.xml)
173 
174 # PointInterpolator only works in non-distributed modes.
175 set(PointInterpolator_DISABLE_CRS TRUE)
176 set(PointInterpolator_DISABLE_CS TRUE)
177 set(PointVolumeInterpolator_DISABLE_CS TRUE)
178 
179 # Test uses distributed sources
180 set(GhostCellsGeneratorImageSerial_DISABLE_CS TRUE)
181 set(GhostCellsGeneratorImageSerial_DISABLE_CRS TRUE)
182 
183 # The following tests are only run in client-server mode.
184 # They are needed to verify the remote saving/loading of different files, such as states and screenshots, work.
185 paraview_add_client_server_tests(
186  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
187  TEST_SCRIPTS SaveLoadRemoteState.xml
188  )
190  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
191  TEST_SCRIPTS SaveRemoteScreenshot.xml
192  )
194  BASELINE_DIR ${PARAVIEW_TEST_BASELINE_DIR}
195  TEST_SCRIPTS SaveRemoteAnimation.xml
196  )
197 
198 SET (SpreadSheet1_DISABLE_CS TRUE)
199 SET (SpreadSheet1_DISABLE_CRS TRUE)
200 
201 # Disabled since the 1 column in spreadsheet view ends up being "Process ID"
202 # which messes up the sorting in this test. Need to extend the testing framework
203 # or fix spreadsheet view for these to work properly.
204 SET (SpreadSheet3_DISABLE_CS TRUE)
205 SET (SpreadSheet3_DISABLE_CRS TRUE)
206 
207 # The hierchical fractal source is a temporary testing source and it does not
208 # create the dataset correctly in parallel. Since it's a testing source, I am
209 # just going to disable the test in parallel. We can fix the source when
210 # needed.
211 SET (RectilinearFractal_DISABLE_CS TRUE)
212 SET (RectilinearFractal_DISABLE_CRS TRUE)
213 
214 # Selections end up highlighting different set of ID based points in parallel.
215 # Hence disable them.
216 set (LineChartSelection_DISABLE_CS TRUE)
217 set (LineChartSelection_DISABLE_CRS TRUE)
218 
219 # For the same reasons
220 set (MultiBlockChartSelection_DISABLE_CS TRUE)
221 set (MultiBlockChartSelection_DISABLE_CRS TRUE)
222 
223 # Selection link may highlight incorrect ID in parallel,
224 # hence disable them.
225 set(SelectionLinkBasic_DISABLE_CS TRUE)
226 set(SelectionLinkInitial_DISABLE_CS TRUE)
227 set(SelectionLinkMultiple_DISABLE_CS TRUE)
228 set(SelectionLinkRemove_DISABLE_CS TRUE)
229 set(SelectionLinkReaction_DISABLE_CS TRUE)
230 set(SelectionLinkScripting_DISABLE_CS TRUE)
231 
232 # Many types has a MPI version and Sequential version
233 set(ManyTypesXMLWriterReader_DISABLE_CS TRUE)
234 set(ManyTypesXMLWriterReader_DISABLE_CRS TRUE)
235 set(ManyTypesXMLWriterReaderMPI_DISABLE_C TRUE)
function paraview_add_client_server_render_tests()
function paraview_add_client_server_tests()
mode
function paraview_add_client_tests()