From 37fbf05115d2bd309bfa034be4477d87552f6f51 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Mon, 12 Aug 2013 14:23:40 +0000 Subject: [PATCH] Transitioning from mesh_mode = 'SERIAL' (which is no longer sufficient) to adding 'distribution = serial' in Periodic BCs tests. Periodic BCs do not currently work with ParallelMesh on more than one processor, but most of these input files will actually work with ParallelMesh enabled if you run on 1 processor... Refs #2105. Refs #2119. r20834 --- test/tests/bcs/periodic/all_periodic_trans.i | 3 +++ .../bcs/periodic/auto_periodic_bc_non_generated.i | 3 +++ test/tests/bcs/periodic/auto_periodic_bc_test.i | 4 +++- test/tests/bcs/periodic/auto_periodic_bc_test_3d.i | 4 +++- test/tests/bcs/periodic/orthogonal_pbc_on_square.i | 3 +++ test/tests/bcs/periodic/parallel_pbc_using_trans.i | 4 ++++ test/tests/bcs/periodic/periodic_bc_test.i | 4 +++- test/tests/bcs/periodic/periodic_level_1_test.i | 5 +++-- .../periodic/periodic_subdomain_restricted_test.i | 3 +++ test/tests/bcs/periodic/tests | 13 ------------- test/tests/bcs/periodic/trapezoid.i | 3 +++ test/tests/bcs/periodic/wedge.i | 3 +++ test/tests/bcs/periodic/wedge_sys.i | 3 +++ .../mesh/named_entities/periodic_bc_names_test.i | 4 +++- test/tests/mesh/named_entities/tests | 1 - .../nodal_pps/nodal_extreme_pps_test.i | 3 +++ .../postprocessors/nodal_pps/nodal_max_pps_test.i | 3 +++ test/tests/postprocessors/nodal_pps/tests | 4 +--- .../hermite_converge_neumann.i | 3 +++ .../hermite_converge_periodic.i | 3 +++ test/tests/variables/fe_hermite_convergence/tests | 1 - 21 files changed, 53 insertions(+), 24 deletions(-) diff --git a/test/tests/bcs/periodic/all_periodic_trans.i b/test/tests/bcs/periodic/all_periodic_trans.i index 9f0a248f59ad..b0294210a51d 100644 --- a/test/tests/bcs/periodic/all_periodic_trans.i +++ b/test/tests/bcs/periodic/all_periodic_trans.i @@ -9,6 +9,9 @@ zmin = 0 zmax = 0 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/bcs/periodic/auto_periodic_bc_non_generated.i b/test/tests/bcs/periodic/auto_periodic_bc_non_generated.i index 7c972faafbb3..9d9721db4d95 100644 --- a/test/tests/bcs/periodic/auto_periodic_bc_non_generated.i +++ b/test/tests/bcs/periodic/auto_periodic_bc_non_generated.i @@ -1,6 +1,9 @@ [Mesh] file = square2.e uniform_refine = 3 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/bcs/periodic/auto_periodic_bc_test.i b/test/tests/bcs/periodic/auto_periodic_bc_test.i index 35b3ba45a516..3480249a9ad3 100644 --- a/test/tests/bcs/periodic/auto_periodic_bc_test.i +++ b/test/tests/bcs/periodic/auto_periodic_bc_test.i @@ -4,11 +4,13 @@ nx = 50 ny = 50 nz = 0 - xmax = 40 ymax = 40 zmax = 0 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/bcs/periodic/auto_periodic_bc_test_3d.i b/test/tests/bcs/periodic/auto_periodic_bc_test_3d.i index 374ab080b73f..67b25a5e360c 100644 --- a/test/tests/bcs/periodic/auto_periodic_bc_test_3d.i +++ b/test/tests/bcs/periodic/auto_periodic_bc_test_3d.i @@ -4,11 +4,13 @@ nx = 10 ny = 10 nz = 10 - xmax = 40 ymax = 40 zmax = 40 elem_type = HEX8 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/bcs/periodic/orthogonal_pbc_on_square.i b/test/tests/bcs/periodic/orthogonal_pbc_on_square.i index aa4060572fb7..0842c5bc547c 100644 --- a/test/tests/bcs/periodic/orthogonal_pbc_on_square.i +++ b/test/tests/bcs/periodic/orthogonal_pbc_on_square.i @@ -9,6 +9,9 @@ zmin = 0 zmax = 0 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/bcs/periodic/parallel_pbc_using_trans.i b/test/tests/bcs/periodic/parallel_pbc_using_trans.i index a244456567b5..04edfb2d12ee 100644 --- a/test/tests/bcs/periodic/parallel_pbc_using_trans.i +++ b/test/tests/bcs/periodic/parallel_pbc_using_trans.i @@ -9,6 +9,10 @@ zmin = 0 zmax = 0 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. Note: it might work with 2 processors + # but not with 4. + distribution = serial [] [Functions] diff --git a/test/tests/bcs/periodic/periodic_bc_test.i b/test/tests/bcs/periodic/periodic_bc_test.i index 5e64aef08dfa..d1f5e49cfc6a 100644 --- a/test/tests/bcs/periodic/periodic_bc_test.i +++ b/test/tests/bcs/periodic/periodic_bc_test.i @@ -4,11 +4,13 @@ nx = 50 ny = 50 nz = 0 - xmax = 40 ymax = 40 zmax = 0 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/bcs/periodic/periodic_level_1_test.i b/test/tests/bcs/periodic/periodic_level_1_test.i index 5666cbd8505e..b295ff6f8102 100644 --- a/test/tests/bcs/periodic/periodic_level_1_test.i +++ b/test/tests/bcs/periodic/periodic_level_1_test.i @@ -4,13 +4,14 @@ nx = 4 ny = 4 nz = 0 - xmax = 40 ymax = 40 zmax = 0 elem_type = QUAD4 - uniform_refine = 4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/bcs/periodic/periodic_subdomain_restricted_test.i b/test/tests/bcs/periodic/periodic_subdomain_restricted_test.i index a49d7a26cd28..3ad1e4cf7481 100644 --- a/test/tests/bcs/periodic/periodic_subdomain_restricted_test.i +++ b/test/tests/bcs/periodic/periodic_subdomain_restricted_test.i @@ -1,5 +1,8 @@ [Mesh] file = rect-2blk.e + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/bcs/periodic/tests b/test/tests/bcs/periodic/tests index 83db332db206..405e3495d519 100644 --- a/test/tests/bcs/periodic/tests +++ b/test/tests/bcs/periodic/tests @@ -4,7 +4,6 @@ input = 'all_periodic_trans.i' exodiff = 'all_periodic_trans_out.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [./auto_wrap_2d_test] @@ -12,7 +11,6 @@ input = 'auto_periodic_bc_test.i' exodiff = 'out_auto.e' group = 'periodic' - mesh_mode = 'SERIAL' abs_zero = 1e-6 [../] @@ -21,7 +19,6 @@ input = 'auto_periodic_bc_non_generated.i' exodiff = 'out_auto_non_generated.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [./auto_wrap_2d_test_error_check] @@ -38,7 +35,6 @@ input = ' auto_periodic_bc_test_3d.i ' exodiff = 'out_auto_3d.e' group = 'periodic' - mesh_mode = 'SERIAL' no_valgrind = True abs_zero = 1e-6 [../] @@ -48,7 +44,6 @@ input = 'orthogonal_pbc_on_square.i' exodiff = 'orthogonal_pbc_on_square_out.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [./parallel_pbc_using_trans_test] @@ -56,7 +51,6 @@ input = ' parallel_pbc_using_trans.i ' exodiff = 'parallel_pbc_using_trans_out.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [./subdomain_restricted_vars_test] @@ -64,7 +58,6 @@ input = 'periodic_subdomain_restricted_test.i' exodiff = 'out_restrict.e' group = 'periodic' - mesh_mode = 'SERIAL' deleted = 'Libmesh Bug #1410' [../] @@ -73,7 +66,6 @@ input = 'periodic_level_1_test.i' exodiff = 'level1.e level1.e-s005 level1.e-s010' group = 'periodic' - mesh_mode = 'SERIAL' group = 'adaptive periodic' no_valgrind = True abs_zero = 1e-6 @@ -84,7 +76,6 @@ input = 'periodic_bc_test.i' exodiff = 'out.e' group = 'periodic' - mesh_mode = 'SERIAL' abs_zero = 1e-6 [../] @@ -93,16 +84,13 @@ input = 'trapezoid.i' exodiff = 'out_trapezoid.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [./testwedge] type = 'Exodiff' input = 'wedge.i' exodiff = 'out_wedge.e' - max_parallel = 1 group = 'periodic' - mesh_mode = 'SERIAL' [../] [./testwedgesys] @@ -111,6 +99,5 @@ exodiff = 'out_wedge_sys.e' max_parallel = 1 group = 'periodic' - mesh_mode = 'SERIAL' [../] [] \ No newline at end of file diff --git a/test/tests/bcs/periodic/trapezoid.i b/test/tests/bcs/periodic/trapezoid.i index ddb8559a07ad..a9833cb412bf 100644 --- a/test/tests/bcs/periodic/trapezoid.i +++ b/test/tests/bcs/periodic/trapezoid.i @@ -1,6 +1,9 @@ [Mesh] file = trapezoid.e uniform_refine = 1 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/bcs/periodic/wedge.i b/test/tests/bcs/periodic/wedge.i index 507085e9177b..19f42f7a789d 100644 --- a/test/tests/bcs/periodic/wedge.i +++ b/test/tests/bcs/periodic/wedge.i @@ -1,6 +1,9 @@ [Mesh] file = wedge.e uniform_refine = 1 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/bcs/periodic/wedge_sys.i b/test/tests/bcs/periodic/wedge_sys.i index 7ef524a29d28..884635cd417f 100644 --- a/test/tests/bcs/periodic/wedge_sys.i +++ b/test/tests/bcs/periodic/wedge_sys.i @@ -1,6 +1,9 @@ [Mesh] file = wedge.e # uniform_refine = 1 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/mesh/named_entities/periodic_bc_names_test.i b/test/tests/mesh/named_entities/periodic_bc_names_test.i index 92910f39f249..d9d7709ebffb 100644 --- a/test/tests/mesh/named_entities/periodic_bc_names_test.i +++ b/test/tests/mesh/named_entities/periodic_bc_names_test.i @@ -4,11 +4,13 @@ nx = 50 ny = 50 nz = 0 - xmax = 40 ymax = 40 zmax = 0 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Variables] diff --git a/test/tests/mesh/named_entities/tests b/test/tests/mesh/named_entities/tests index 0888c149e8fa..d95805785085 100644 --- a/test/tests/mesh/named_entities/tests +++ b/test/tests/mesh/named_entities/tests @@ -11,7 +11,6 @@ input = 'periodic_bc_names_test.i' exodiff = 'periodic_bc_names_test_out.e' group = 'periodic' - mesh_mode = 'SERIAL' abs_zero = 1e-6 [../] diff --git a/test/tests/postprocessors/nodal_pps/nodal_extreme_pps_test.i b/test/tests/postprocessors/nodal_pps/nodal_extreme_pps_test.i index 3c10177034e2..fdbbe5d69dfa 100644 --- a/test/tests/postprocessors/nodal_pps/nodal_extreme_pps_test.i +++ b/test/tests/postprocessors/nodal_pps/nodal_extreme_pps_test.i @@ -2,6 +2,9 @@ type = FileMesh file = trapezoid.e uniform_refine = 1 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/postprocessors/nodal_pps/nodal_max_pps_test.i b/test/tests/postprocessors/nodal_pps/nodal_max_pps_test.i index 4e0e0adfb675..712f9cfa4480 100644 --- a/test/tests/postprocessors/nodal_pps/nodal_max_pps_test.i +++ b/test/tests/postprocessors/nodal_pps/nodal_max_pps_test.i @@ -1,6 +1,9 @@ [Mesh] file = trapezoid.e uniform_refine = 1 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/postprocessors/nodal_pps/tests b/test/tests/postprocessors/nodal_pps/tests index 9a9390feed43..2a1086bc15d0 100644 --- a/test/tests/postprocessors/nodal_pps/tests +++ b/test/tests/postprocessors/nodal_pps/tests @@ -5,12 +5,11 @@ exodiff = 'nodal_nodeset_pps_test_out.e' [../] - [./nodal_extreme] + [./nodal_extreme] type = 'Exodiff' input = 'nodal_extreme_pps_test.i' exodiff = 'nodal_extreme_pps_test_out.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [./testnodalpps] @@ -18,6 +17,5 @@ input = 'nodal_max_pps_test.i' exodiff = 'nodal_max_pps_test_out.e' group = 'periodic' - mesh_mode = 'SERIAL' [../] [] diff --git a/test/tests/variables/fe_hermite_convergence/hermite_converge_neumann.i b/test/tests/variables/fe_hermite_convergence/hermite_converge_neumann.i index f0446c086c44..7ad9b3eba8d6 100644 --- a/test/tests/variables/fe_hermite_convergence/hermite_converge_neumann.i +++ b/test/tests/variables/fe_hermite_convergence/hermite_converge_neumann.i @@ -8,6 +8,9 @@ nx = 4 ny = 4 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/variables/fe_hermite_convergence/hermite_converge_periodic.i b/test/tests/variables/fe_hermite_convergence/hermite_converge_periodic.i index 2edba76d4676..4358612e690c 100644 --- a/test/tests/variables/fe_hermite_convergence/hermite_converge_periodic.i +++ b/test/tests/variables/fe_hermite_convergence/hermite_converge_periodic.i @@ -8,6 +8,9 @@ nx = 4 ny = 4 elem_type = QUAD4 + # This test will not work in parallel with ParallelMesh enabled + # due to a bug in PeriodicBCs. + distribution = serial [] [Functions] diff --git a/test/tests/variables/fe_hermite_convergence/tests b/test/tests/variables/fe_hermite_convergence/tests index 9f13aff1ab8c..39a901ea02b8 100644 --- a/test/tests/variables/fe_hermite_convergence/tests +++ b/test/tests/variables/fe_hermite_convergence/tests @@ -5,7 +5,6 @@ exodiff = 'hermite_converge_periodic_out.e-s003' group = 'periodic' no_valgrind = true - mesh_mode = 'SERIAL' [../] [./test_hermite_converge_neumann]