diff --git a/SimpleTests/MeshTests/MPI/CMakeLists.txt b/SimpleTests/MeshTests/MPI/CMakeLists.txt index a3dd0e49f1f6957b76f61ecf2fc5439ce8cd3c3c..af279231d216ef579a9bca531d9fbeac59a1b7f0 100644 --- a/SimpleTests/MeshTests/MPI/CMakeLists.txt +++ b/SimpleTests/MeshTests/MPI/CMakeLists.txt @@ -34,3 +34,11 @@ ExternalData_Add_Test( NAME NodePartitionedMeshTestBinary COMMAND "mpirun" ${MPITestParameters} ) + +set(FilePath "DATA{${ExternalData_SOURCE_ROOT}/EllipticPETSc/,REGEX:.*}") +set(MPITestParameters -np 3 "${PROJECT_BINARY_DIR}/bin/ogs" "${FilePath}/quad_20x10_GroundWaterFlow.prj" -- -gw_ksp_type bcgs -gw_pc_type bjacobi -gw_ksp_atol 1.e-10) +ExternalData_Add_Test( + data + NAME ParallelFEM_GroundWaterFlow + COMMAND "mpirun" ${MPITestParameters} ${SolverType} +) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 9087b9d47d1f804eb542fe1fa47cf3877b9e231f..2b4e23349f65684cb62a6d57dea1f95e2a9e5b4b 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -76,8 +76,9 @@ if(DEFINED ENV{CI}) set(TESTRUNNER_ADDITIONAL_ARGUMENTS ${TESTRUNNER_ADDITIONAL_ARGUMENTS} --gtest_shuffle --gtest_repeat=3) endif() if(OGS_USE_PETSC) + set(TEST_FILTER_MPI --gtest_filter=-MPITest*:*Assembler*:*MeshSubsets*:*PointVec*:*InsertZeroPointsInGrid*) add_custom_target(tests - mpirun -np 1 $<TARGET_FILE:testrunner> ${TESTRUNNER_ADDITIONAL_ARGUMENTS} --gtest_filter=-MPITest* + mpirun -np 1 $<TARGET_FILE:testrunner> ${TESTRUNNER_ADDITIONAL_ARGUMENTS} ${TEST_FILTER_MPI} DEPENDS testrunner ) add_custom_target(tests_mpi diff --git a/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow.prj.md5 b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow.prj.md5 new file mode 100644 index 0000000000000000000000000000000000000000..cf868dcb6e18218353d0279b690b8cb6a5b4ec80 --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow.prj.md5 @@ -0,0 +1 @@ +94783db968a4fbfb8f79a7896775b185 diff --git a/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_cfg3.bin.md5 b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_cfg3.bin.md5 new file mode 100644 index 0000000000000000000000000000000000000000..8b0cf6b35b33fa1f6eff898b3a1af9c89e7bef03 --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_cfg3.bin.md5 @@ -0,0 +1 @@ +b8f1fcdee506243dfbd501cdaef67ecc diff --git a/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_ele3.bin.md5 b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_ele3.bin.md5 new file mode 100644 index 0000000000000000000000000000000000000000..27c04e626d92118b44659ca1175f1c461a4ab50e --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_ele3.bin.md5 @@ -0,0 +1 @@ +ae85212f20fd03039536fc96a347ba26 diff --git a/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_ele_g3.bin.md5 b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_ele_g3.bin.md5 new file mode 100644 index 0000000000000000000000000000000000000000..1f97c70d2c4ed48672d7c047114e76fc4de5b4ba --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_ele_g3.bin.md5 @@ -0,0 +1 @@ +c2599030cc0e415f0930dd20971a4e9b diff --git a/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_nod3.bin.md5 b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_nod3.bin.md5 new file mode 100644 index 0000000000000000000000000000000000000000..67db885e78aaeb68ca19569717b0acda8e49b43b --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_GroundWaterFlow_partitioned_msh_nod3.bin.md5 @@ -0,0 +1 @@ +5081cdb210f9ee8643378914eb69da64 diff --git a/Tests/Data/EllipticPETSc/quad_20x10_left_right.gml.md5 b/Tests/Data/EllipticPETSc/quad_20x10_left_right.gml.md5 new file mode 100644 index 0000000000000000000000000000000000000000..6c6e44e78bcfd97fa791f335c5f4775f5b01552a --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_left_right.gml.md5 @@ -0,0 +1 @@ +07a029d1604f0b2a0b441dbf2a3ed383 diff --git a/Tests/Data/EllipticPETSc/quad_20x10_result_result_expected.dat.md5 b/Tests/Data/EllipticPETSc/quad_20x10_result_result_expected.dat.md5 new file mode 100644 index 0000000000000000000000000000000000000000..f195acfd369bee046c394ff4d42064577bba8bb4 --- /dev/null +++ b/Tests/Data/EllipticPETSc/quad_20x10_result_result_expected.dat.md5 @@ -0,0 +1 @@ +1e7992425efeb712d1b7c497396f3cc3