| 1 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) |
| 2 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../../../test/unit_tests) |
| 3 |
TRIBITS_INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../src) |
| 4 |
|
| 5 |
# This test requires Tpetra and Amesos2, so it's only included if Tpetra is enabled |
| 6 |
IF (${PACKAGE_NAME}_ENABLE_Amesos2) |
| 7 |
|
| 8 |
TRIBITS_ADD_EXECUTABLE( |
| 9 |
StructuredRegionDriver |
| 10 |
SOURCES Driver_Structured_Regions.cpp |
| 11 |
COMM serial mpi |
| 12 |
) |
| 13 |
|
| 14 |
TRIBITS_COPY_FILES_TO_BINARY_DIR(StructuredRegion_cp |
| 15 |
SOURCE_FILES |
| 16 |
amg_1dof.xml |
| 17 |
amg_1dof_rebalance.xml |
| 18 |
amg_3dof_rebalance.xml |
| 19 |
coarse_smoother.xml |
| 20 |
structured_1dof.xml |
| 21 |
structured_linear_1dof_comp.xml |
| 22 |
structured_1dof_3level.xml |
| 23 |
structured_1dof-complex.xml |
| 24 |
structured_linear_1dof.xml |
| 25 |
structured_linear_R_1dof.xml |
| 26 |
structured_linear_R_3dof.xml |
| 27 |
structured_linear_3dof.xml |
| 28 |
structured_unstructured_1dof.xml |
| 29 |
compare_residual_history.py |
| 30 |
gold_files/Star2D_GS_4.log.gold |
| 31 |
gold_files/Brick3D_linear_4.log.gold |
| 32 |
gold_files/Elasticity3D_linear_4.log.gold |
| 33 |
gold_files/Elasticity3D_CG_linear_4.log.gold |
| 34 |
gold_files/Elasticity3D_Richardson_linear_4.log.gold |
| 35 |
gold_files/Star2D_W.log.gold |
| 36 |
) |
| 37 |
|
| 38 |
## These are some completion tests |
| 39 |
TRIBITS_ADD_TEST( |
| 40 |
StructuredRegionDriver |
| 41 |
NAME "Structured_Region_Star2D_Tpetra" |
| 42 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_1.log" |
| 43 |
COMM serial mpi |
| 44 |
NUM_MPI_PROCS 1 |
| 45 |
) |
| 46 |
|
| 47 |
TRIBITS_ADD_TEST( |
| 48 |
StructuredRegionDriver |
| 49 |
NAME "Structured_Region_Star2D_Tpetra" |
| 50 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_4.log" |
| 51 |
COMM mpi |
| 52 |
NUM_MPI_PROCS 4 |
| 53 |
) |
| 54 |
|
| 55 |
TRIBITS_ADD_TEST( |
| 56 |
StructuredRegionDriver |
| 57 |
NAME "Structured_Region_Star2D_Tpetra_GS" |
| 58 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_GS_1.log --smootherType=Gauss" |
| 59 |
COMM serial mpi |
| 60 |
NUM_MPI_PROCS 1 |
| 61 |
) |
| 62 |
|
| 63 |
TRIBITS_ADD_TEST( |
| 64 |
StructuredRegionDriver |
| 65 |
NAME "Structured_Region_Star2D_Tpetra_GS" |
| 66 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_GS_4.log --smootherType=Gauss" |
| 67 |
COMM mpi |
| 68 |
NUM_MPI_PROCS 4 |
| 69 |
) |
| 70 |
|
| 71 |
TRIBITS_ADD_TEST( |
| 72 |
StructuredRegionDriver |
| 73 |
NAME "Structured_Region_Star2D_Tpetra_SGS" |
| 74 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --smootherType=SymmetricGauss" |
| 75 |
COMM serial mpi |
| 76 |
NUM_MPI_PROCS 1 |
| 77 |
) |
| 78 |
|
| 79 |
TRIBITS_ADD_TEST( |
| 80 |
StructuredRegionDriver |
| 81 |
NAME "Structured_Region_Star2D_Tpetra_SGS" |
| 82 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --smootherType=SymmetricGauss" |
| 83 |
COMM mpi |
| 84 |
NUM_MPI_PROCS 4 |
| 85 |
) |
| 86 |
|
| 87 |
TRIBITS_ADD_TEST( |
| 88 |
StructuredRegionDriver |
| 89 |
NAME "Structured_Region_Star2D_CoarseSmoother_Tpetra" |
| 90 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --coarseSolverType=smoother --coarseSmootherXML=coarse_smoother.xml" |
| 91 |
COMM serial mpi |
| 92 |
NUM_MPI_PROCS 1 |
| 93 |
) |
| 94 |
|
| 95 |
TRIBITS_ADD_TEST( |
| 96 |
StructuredRegionDriver |
| 97 |
NAME "Structured_Region_Star2D_CoarseSmoother_Tpetra" |
| 98 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --coarseSolverType=smoother --coarseSmootherXML=coarse_smoother.xml" |
| 99 |
COMM mpi |
| 100 |
NUM_MPI_PROCS 4 |
| 101 |
) |
| 102 |
|
| 103 |
TRIBITS_ADD_TEST( |
| 104 |
StructuredRegionDriver |
| 105 |
NAME "Structured_Region_Star2D_Tpetra_Chebyshev" |
| 106 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_Chebyshev_1.log --smootherType=Chebyshev --smootherChebyBoostFactor=1.2" |
| 107 |
COMM serial mpi |
| 108 |
NUM_MPI_PROCS 1 |
| 109 |
) |
| 110 |
|
| 111 |
TRIBITS_ADD_TEST( |
| 112 |
StructuredRegionDriver |
| 113 |
NAME "Structured_Region_Star2D_Tpetra_Chebyshev" |
| 114 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_Chebyshev_4.log --smootherType=Chebyshev --smootherChebyBoostFactor=1.2" |
| 115 |
COMM mpi |
| 116 |
NUM_MPI_PROCS 4 |
| 117 |
) |
| 118 |
|
| 119 |
TRIBITS_ADD_TEST( |
| 120 |
StructuredRegionDriver |
| 121 |
NAME "Structured_Region_Star2D_AMG_CoarseSolver_Tpetra" |
| 122 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof_3level.xml --matrixType=Star2D --nx=50 --ny=50 --smootherIts=2 --coarseSolverType=amg --coarseAmgXml=amg_1dof.xml" |
| 123 |
COMM mpi |
| 124 |
NUM_MPI_PROCS 4 |
| 125 |
) |
| 126 |
|
| 127 |
TRIBITS_ADD_TEST( |
| 128 |
StructuredRegionDriver |
| 129 |
NAME "Structured_Region_Star2D_AMG_CoarseSolver_coarseRepartition_Tpetra" |
| 130 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof_3level.xml --matrixType=Star2D --nx=50 --ny=50 --smootherIts=2 --coarseSolverType=amg --coarseAmgXml=amg_1dof.xml --rebalance-coarse --keep-coarse-coords" |
| 131 |
COMM mpi |
| 132 |
NUM_MPI_PROCS 4 |
| 133 |
) |
| 134 |
|
| 135 |
TRIBITS_ADD_TEST( |
| 136 |
StructuredRegionDriver |
| 137 |
NAME "Structured_Region_Star2D_AMG_CoarseSolver_repartitioning_Tpetra" |
| 138 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof_3level.xml --matrixType=Star2D --nx=50 --ny=50 --smootherIts=2 --coarseSolverType=amg --keep-coarse-coords --coarseAmgXml=amg_1dof_rebalance.xml" |
| 139 |
COMM mpi |
| 140 |
NUM_MPI_PROCS 4 |
| 141 |
) |
| 142 |
|
| 143 |
TRIBITS_ADD_TEST( |
| 144 |
StructuredRegionDriver |
| 145 |
NAME "Structured_Region_Star2D_AMG_CoarseSolver_coarseRepartition_repartitioning_Tpetra" |
| 146 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof_3level.xml --matrixType=Star2D --nx=50 --ny=50 --smootherIts=2 --coarseSolverType=amg --keep-coarse-coords --coarseAmgXml=amg_1dof_rebalance.xml --rebalance-coarse" |
| 147 |
COMM mpi |
| 148 |
NUM_MPI_PROCS 4 |
| 149 |
) |
| 150 |
|
| 151 |
TRIBITS_ADD_TEST( |
| 152 |
StructuredRegionDriver |
| 153 |
NAME "Structured_Region_Linear_Star2D_Tpetra" |
| 154 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_linear_1.log" |
| 155 |
COMM serial mpi |
| 156 |
NUM_MPI_PROCS 1 |
| 157 |
) |
| 158 |
|
| 159 |
TRIBITS_ADD_TEST( |
| 160 |
StructuredRegionDriver |
| 161 |
NAME "Structured_Region_Linear_Star2D_Tpetra" |
| 162 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_linear_4.log" |
| 163 |
COMM mpi |
| 164 |
NUM_MPI_PROCS 4 |
| 165 |
) |
| 166 |
|
| 167 |
TRIBITS_ADD_TEST( |
| 168 |
StructuredRegionDriver |
| 169 |
NAME "Structured_Region_Brick3D_Tpetra" |
| 170 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Brick3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Brick3D_1.log" |
| 171 |
COMM serial mpi |
| 172 |
NUM_MPI_PROCS 1 |
| 173 |
) |
| 174 |
|
| 175 |
TRIBITS_ADD_TEST( |
| 176 |
StructuredRegionDriver |
| 177 |
NAME "Structured_Region_Brick3D_Tpetra" |
| 178 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Brick3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Brick3D_4.log" |
| 179 |
COMM mpi |
| 180 |
NUM_MPI_PROCS 4 |
| 181 |
) |
| 182 |
|
| 183 |
TRIBITS_ADD_TEST( |
| 184 |
StructuredRegionDriver |
| 185 |
NAME "Structured_Region_Linear_Brick3D_Tpetra" |
| 186 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_1dof.xml --matrixType=Brick3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_1.log" |
| 187 |
COMM serial mpi |
| 188 |
NUM_MPI_PROCS 1 |
| 189 |
) |
| 190 |
|
| 191 |
TRIBITS_ADD_TEST( |
| 192 |
StructuredRegionDriver |
| 193 |
NAME "Structured_Region_Linear_Brick3D_Tpetra" |
| 194 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_1dof.xml --matrixType=Brick3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_4.log" |
| 195 |
COMM mpi |
| 196 |
NUM_MPI_PROCS 4 |
| 197 |
) |
| 198 |
|
| 199 |
TRIBITS_ADD_TEST( |
| 200 |
StructuredRegionDriver |
| 201 |
NAME "Structured_Region_Linear_R_Brick3D_Tpetra" |
| 202 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_R_1dof.xml --matrixType=Brick3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_R_1.log" |
| 203 |
COMM serial mpi |
| 204 |
NUM_MPI_PROCS 1 |
| 205 |
) |
| 206 |
|
| 207 |
TRIBITS_ADD_TEST( |
| 208 |
StructuredRegionDriver |
| 209 |
NAME "Structured_Region_Linear_R_Brick3D_Tpetra" |
| 210 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_R_1dof.xml --matrixType=Brick3D --nx=19 --ny=19 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_R_4.log" |
| 211 |
COMM mpi |
| 212 |
NUM_MPI_PROCS 4 |
| 213 |
) |
| 214 |
|
| 215 |
TRIBITS_ADD_TEST( |
| 216 |
StructuredRegionDriver |
| 217 |
NAME "Structured_Region_Linear_R_Elasticity3D_Tpetra" |
| 218 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_R_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_linear_R_1.log" |
| 219 |
COMM serial mpi |
| 220 |
NUM_MPI_PROCS 1 |
| 221 |
) |
| 222 |
|
| 223 |
TRIBITS_ADD_TEST( |
| 224 |
StructuredRegionDriver |
| 225 |
NAME "Structured_Region_Linear_R_Elasticity3D_Tpetra" |
| 226 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_R_3dof.xml --matrixType=Elasticity3D --nx=19 --ny=19 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_linear_R_4.log" |
| 227 |
COMM mpi |
| 228 |
NUM_MPI_PROCS 4 |
| 229 |
) |
| 230 |
|
| 231 |
TRIBITS_ADD_TEST( |
| 232 |
StructuredRegionDriver |
| 233 |
NAME "Structured_Unstructured_Laplace3D_Tpetra" |
| 234 |
ARGS "--linAlgebra=Tpetra --xml=structured_unstructured_1dof.xml --matrixType=Laplace3D --nx=9 --ny=9 --nz=5 --smootherIts=2 --unstructured={3}" |
| 235 |
COMM mpi |
| 236 |
NUM_MPI_PROCS 4 |
| 237 |
) |
| 238 |
|
| 239 |
TRIBITS_ADD_TEST( |
| 240 |
StructuredRegionDriver |
| 241 |
NAME "Structured_Region_Linear_Elasticity3D_Tpetra" |
| 242 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --tol=1.0e-8 --convergence-log=Elasticity3D_linear_1.log" |
| 243 |
COMM serial mpi |
| 244 |
NUM_MPI_PROCS 1 |
| 245 |
) |
| 246 |
|
| 247 |
TRIBITS_ADD_TEST( |
| 248 |
StructuredRegionDriver |
| 249 |
NAME "Structured_Region_Linear_Elasticity3D_Tpetra" |
| 250 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=7 --ny=7 --nz=7 --smootherIts=2 --tol=1.0e-8 --convergence-log=Elasticity3D_linear_4.log" |
| 251 |
COMM mpi |
| 252 |
NUM_MPI_PROCS 4 |
| 253 |
) |
| 254 |
|
| 255 |
TRIBITS_ADD_TEST( |
| 256 |
StructuredRegionDriver |
| 257 |
NAME "Structured_Region_Linear_Elasticity3D_repartitioning_Tpetra" |
| 258 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --tol=1.0e-8 --coarseSolverType=amg --keep-coarse-coords --coarseAmgXml=amg_3dof_rebalance.xml" |
| 259 |
COMM mpi |
| 260 |
NUM_MPI_PROCS 4 |
| 261 |
) |
| 262 |
|
| 263 |
TRIBITS_ADD_TEST( |
| 264 |
StructuredRegionDriver |
| 265 |
NAME "Structured_Region_Linear_Elasticity3D_coarseRepartition_repartitioning_Tpetra" |
| 266 |
ARGS "--linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --tol=1.0e-8 --coarseSolverType=amg --keep-coarse-coords --rebalance-coarse --numPartitions=2 --coarseAmgXml=amg_3dof_rebalance.xml" |
| 267 |
COMM mpi |
| 268 |
NUM_MPI_PROCS 4 |
| 269 |
) |
| 270 |
|
| 271 |
TRIBITS_ADD_TEST( |
| 272 |
StructuredRegionDriver |
| 273 |
NAME "Structured_Region_Star2D_Tpetra_Wcycle" |
| 274 |
ARGS "--linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --cycleType=W" |
| 275 |
COMM serial mpi |
| 276 |
NUM_MPI_PROCS 1 |
| 277 |
) |
| 278 |
|
| 279 |
## These are regression tests, that also compare residual convergence history |
| 280 |
ASSERT_DEFINED(Python3_EXECUTABLE) |
| 281 |
IF (Python3_EXECUTABLE) |
| 282 |
|
| 283 |
TRIBITS_ADD_ADVANCED_TEST( |
| 284 |
Structured_Region_Star2D_Tpetra_GS_MPI_4_regression |
| 285 |
TEST_0 |
| 286 |
EXEC StructuredRegionDriver |
| 287 |
ARGS --linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --convergence-log=Star2D_GS_4.log --smootherType=Gauss |
| 288 |
NUM_MPI_PROCS 4 |
| 289 |
TEST_1 |
| 290 |
CMND ${Python3_EXECUTABLE} |
| 291 |
ARGS compare_residual_history.py gold_files/Star2D_GS_4.log.gold Star2D_GS_4.log 1.0e-12 |
| 292 |
STANDARD_PASS_OUTPUT |
| 293 |
FAIL_FAST |
| 294 |
COMM serial mpi |
| 295 |
OVERALL_NUM_MPI_PROCS 4 |
| 296 |
) |
| 297 |
|
| 298 |
TRIBITS_ADD_ADVANCED_TEST( |
| 299 |
Structured_Region_Linear_Brick3D_Tpetra_MPI_4_regression |
| 300 |
TEST_0 |
| 301 |
EXEC StructuredRegionDriver |
| 302 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_1dof.xml --matrixType=Brick3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_4.log |
| 303 |
NUM_MPI_PROCS 4 |
| 304 |
TEST_1 |
| 305 |
CMND ${Python3_EXECUTABLE} |
| 306 |
ARGS compare_residual_history.py gold_files/Brick3D_linear_4.log.gold Brick3D_linear_4.log 1.0e-12 |
| 307 |
STANDARD_PASS_OUTPUT |
| 308 |
FAIL_FAST |
| 309 |
COMM serial mpi |
| 310 |
OVERALL_NUM_MPI_PROCS 4 |
| 311 |
) |
| 312 |
|
| 313 |
TRIBITS_ADD_ADVANCED_TEST( |
| 314 |
Structured_Region_Linear_Elasticity3D_Region_Tpetra_MPI_4_regression |
| 315 |
TEST_0 |
| 316 |
EXEC StructuredRegionDriver |
| 317 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_linear_4.log --solverType=region |
| 318 |
NUM_MPI_PROCS 4 |
| 319 |
TEST_1 |
| 320 |
CMND ${Python3_EXECUTABLE} |
| 321 |
ARGS compare_residual_history.py gold_files/Elasticity3D_linear_4.log.gold Elasticity3D_linear_4.log 1.0e-12 |
| 322 |
STANDARD_PASS_OUTPUT |
| 323 |
FAIL_FAST |
| 324 |
COMM serial mpi |
| 325 |
OVERALL_NUM_MPI_PROCS 4 |
| 326 |
) |
| 327 |
|
| 328 |
TRIBITS_ADD_ADVANCED_TEST( |
| 329 |
Structured_Region_Linear_Elasticity3D_CG_Tpetra_MPI_4_regression |
| 330 |
TEST_0 |
| 331 |
EXEC StructuredRegionDriver |
| 332 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_CG_linear_4.log --solverType=CG |
| 333 |
NUM_MPI_PROCS 4 |
| 334 |
TEST_1 |
| 335 |
CMND ${Python3_EXECUTABLE} |
| 336 |
ARGS compare_residual_history.py gold_files/Elasticity3D_CG_linear_4.log.gold Elasticity3D_CG_linear_4.log 1.0e-12 |
| 337 |
STANDARD_PASS_OUTPUT |
| 338 |
FAIL_FAST |
| 339 |
COMM serial mpi |
| 340 |
OVERALL_NUM_MPI_PROCS 4 |
| 341 |
) |
| 342 |
|
| 343 |
TRIBITS_ADD_ADVANCED_TEST( |
| 344 |
Structured_Region_Linear_Elasticity3D_Richardson_Tpetra_MPI_4_regression |
| 345 |
TEST_0 |
| 346 |
EXEC StructuredRegionDriver |
| 347 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_Richardson_linear_4.log --solverType=Richardson |
| 348 |
NUM_MPI_PROCS 4 |
| 349 |
TEST_1 |
| 350 |
CMND ${Python3_EXECUTABLE} |
| 351 |
ARGS compare_residual_history.py gold_files/Elasticity3D_Richardson_linear_4.log.gold Elasticity3D_Richardson_linear_4.log 1.0e-12 |
| 352 |
STANDARD_PASS_OUTPUT |
| 353 |
FAIL_FAST |
| 354 |
COMM serial mpi |
| 355 |
OVERALL_NUM_MPI_PROCS 4 |
| 356 |
) |
| 357 |
|
| 358 |
TRIBITS_ADD_ADVANCED_TEST( |
| 359 |
Structured_Region_Linear_R_Tpetra_MPI_4_regression |
| 360 |
TEST_0 |
| 361 |
EXEC StructuredRegionDriver |
| 362 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_1dof_comp.xml --matrixType=Brick3D --nx=19 --ny=19 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_4_comp.log |
| 363 |
NUM_MPI_PROCS 4 |
| 364 |
TEST_1 |
| 365 |
EXEC StructuredRegionDriver |
| 366 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_R_1dof.xml --matrixType=Brick3D --nx=19 --ny=19 --nz=10 --smootherIts=2 --convergence-log=Brick3D_linear_R_4_comp.log |
| 367 |
NUM_MPI_PROCS 4 |
| 368 |
TEST_2 |
| 369 |
CMND ${Python3_EXECUTABLE} |
| 370 |
ARGS compare_residual_history.py Brick3D_linear_4_comp.log Brick3D_linear_R_4_comp.log 1.0e-12 |
| 371 |
STANDARD_PASS_OUTPUT |
| 372 |
FAIL_FAST |
| 373 |
COMM serial mpi |
| 374 |
OVERALL_NUM_MPI_PROCS 4 |
| 375 |
) |
| 376 |
|
| 377 |
TRIBITS_ADD_ADVANCED_TEST( |
| 378 |
Structured_Region_Linear_Elasticity3D_Region_vs_Richardson_Tpetra_MPI_4_regression |
| 379 |
TEST_0 |
| 380 |
EXEC StructuredRegionDriver |
| 381 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_Region_linear_4.log --solverType=region |
| 382 |
NUM_MPI_PROCS 4 |
| 383 |
TEST_1 |
| 384 |
EXEC StructuredRegionDriver |
| 385 |
ARGS --linAlgebra=Tpetra --xml=structured_linear_3dof.xml --matrixType=Elasticity3D --nx=10 --ny=10 --nz=10 --smootherIts=2 --convergence-log=Elasticity3D_Richardson_linear_4.log --solverType=Richardson |
| 386 |
NUM_MPI_PROCS 4 |
| 387 |
TEST_2 |
| 388 |
CMND ${Python3_EXECUTABLE} |
| 389 |
ARGS compare_residual_history.py Elasticity3D_Region_linear_4.log Elasticity3D_Richardson_linear_4.log 1.0e-12 |
| 390 |
STANDARD_PASS_OUTPUT |
| 391 |
FAIL_FAST |
| 392 |
COMM serial mpi |
| 393 |
OVERALL_NUM_MPI_PROCS 4 |
| 394 |
) |
| 395 |
|
| 396 |
|
| 397 |
TRIBITS_ADD_ADVANCED_TEST( |
| 398 |
Structured_Region_Star2D_Tpetra_Wcycle |
| 399 |
TEST_0 |
| 400 |
EXEC StructuredRegionDriver |
| 401 |
ARGS --linAlgebra=Tpetra --xml=structured_1dof.xml --matrixType=Star2D --nx=10 --ny=10 --smootherIts=2 --cycleType=W --convergence-log=Star2D_W.log |
| 402 |
NUM_MPI_PROCS 4 |
| 403 |
TEST_1 |
| 404 |
CMND ${Python3_EXECUTABLE} |
| 405 |
ARGS compare_residual_history.py gold_files/Star2D_W.log.gold Star2D_W.log 1.0e-12 |
| 406 |
STANDARD_PASS_OUTPUT |
| 407 |
FAIL_FAST |
| 408 |
COMM serial mpi |
| 409 |
OVERALL_NUM_MPI_PROCS 4 |
| 410 |
) |
| 411 |
|
| 412 |
ENDIF() |
| 413 |
|
| 414 |
ENDIF() |