diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e9fe4815..2fd8ea8f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,6 +90,9 @@ jobs: OPT1: ${{ matrix.mpi == 'mpi' && '--test-all' || '' }} OPT2: ${{ matrix.debug == 'debug' && '-% 20' || '' }} + - name: Ensure empty diff + run: git diff --exit-code tests/ + docker: name: Github | Docker runs-on: ubuntu-latest @@ -100,6 +103,9 @@ jobs: - name: Test run: sudo ./mfc.sh docker ./mfc.sh test -j $(nproc) -a + - name: Ensure empty diff + run: git diff --exit-code tests/ + self: name: Georgia Tech | Phoenix (NVHPC) if: github.repository == 'MFlowCode/MFC' @@ -125,8 +131,10 @@ jobs: mv misc/run-phoenix-release-${{ matrix.device }}.sh ./ sbatch run-phoenix-release-${{ matrix.device }}.sh + - name: Ensure empty diff + run: exit $(git status --porcelain tests/ | wc -l) + - name: Print if: always() run: | cat test.out - diff --git a/tests/0879E062/case.py b/tests/0879E062/case.py index 78a320b65..69b6041b8 100644 --- a/tests/0879E062/case.py +++ b/tests/0879E062/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 1, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/2A523AC1/case.py b/tests/2A523AC1/case.py index 28031938b..26b38e9d3 100644 --- a/tests/2A523AC1/case.py +++ b/tests/2A523AC1/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 1, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/32D0F235/case.py b/tests/32D0F235/case.py index dcf789b93..417fe0f60 100644 --- a/tests/32D0F235/case.py +++ b/tests/32D0F235/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 1, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/345A94C0/case.py b/tests/345A94C0/case.py index 09cd5309d..01974e992 100644 --- a/tests/345A94C0/case.py +++ b/tests/345A94C0/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 2, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/3BFEAC19/case.py b/tests/3BFEAC19/case.py index 49b4bb919..119b84fd9 100644 --- a/tests/3BFEAC19/case.py +++ b/tests/3BFEAC19/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 1, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/3C00B89D/case.py b/tests/3C00B89D/case.py index 4c0b1b72c..c5c0cfa3a 100644 --- a/tests/3C00B89D/case.py +++ b/tests/3C00B89D/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 2, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/461DCB09/case.py b/tests/461DCB09/case.py index 1d5d89c27..7917913fe 100644 --- a/tests/461DCB09/case.py +++ b/tests/461DCB09/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 2, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/4AEF478A/case.py b/tests/4AEF478A/case.py index be82de17d..af1c30ea4 100644 --- a/tests/4AEF478A/case.py +++ b/tests/4AEF478A/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 1, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/645A26E3/case.py b/tests/645A26E3/case.py index f04c62873..322e049cd 100644 --- a/tests/645A26E3/case.py +++ b/tests/645A26E3/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 2, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/6D24B115/case.py b/tests/6D24B115/case.py index 9a834c0c6..f6c90a183 100644 --- a/tests/6D24B115/case.py +++ b/tests/6D24B115/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 2, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/6F296065/case.py b/tests/6F296065/case.py index 8168a7f04..76ea9c5b1 100644 --- a/tests/6F296065/case.py +++ b/tests/6F296065/case.py @@ -111,17 +111,17 @@ "patch_icpp(1)%x_centroid": 0.5, "patch_icpp(1)%length_x": 1, "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, + "patch_icpp(1)%vel(2)": 606.15, "patch_icpp(2)%geometry": 3, "patch_icpp(2)%x_centroid": 0.5, "patch_icpp(2)%length_x": 1, "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, + "patch_icpp(2)%vel(2)": 10.0, "patch_icpp(3)%geometry": 3, "patch_icpp(3)%x_centroid": 0.5, "patch_icpp(3)%length_x": 1, "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, + "patch_icpp(3)%vel(2)": 10.0, "relax": "T", "relax_model": 5, "palpha_eps": 0.01, diff --git a/tests/73B0539E/case.py b/tests/73B0539E/case.py index 7a5e59e10..e48783b2d 100644 --- a/tests/73B0539E/case.py +++ b/tests/73B0539E/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 1, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/83EFC30C/case.py b/tests/83EFC30C/case.py index ac0fe2ea7..d662444f9 100644 --- a/tests/83EFC30C/case.py +++ b/tests/83EFC30C/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 1, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/851F7AE2/case.py b/tests/851F7AE2/case.py index b3c38a6c9..5456ead6a 100644 --- a/tests/851F7AE2/case.py +++ b/tests/851F7AE2/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 1, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/A5C93D62/case.py b/tests/A5C93D62/case.py index e7c23fa0b..68f5a4db8 100644 --- a/tests/A5C93D62/case.py +++ b/tests/A5C93D62/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 1, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/AB0BE4E4/case.py b/tests/AB0BE4E4/case.py index 585fbb390..559e05d6a 100644 --- a/tests/AB0BE4E4/case.py +++ b/tests/AB0BE4E4/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 2, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/B33E256A/case.py b/tests/B33E256A/case.py index c3436ee5f..a876a9553 100644 --- a/tests/B33E256A/case.py +++ b/tests/B33E256A/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 2, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/B8F5F1C8/case.py b/tests/B8F5F1C8/case.py index 398a737c8..284366a22 100644 --- a/tests/B8F5F1C8/case.py +++ b/tests/B8F5F1C8/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 2, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/BD8004FF/case.py b/tests/BD8004FF/case.py index d467ef7d1..8deb05209 100644 --- a/tests/BD8004FF/case.py +++ b/tests/BD8004FF/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 1, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/C36F18FB/case.py b/tests/C36F18FB/case.py index fabafd247..3bfd57531 100644 --- a/tests/C36F18FB/case.py +++ b/tests/C36F18FB/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 2, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/D3C860B9/case.py b/tests/D3C860B9/case.py index b93d90ac7..32180a2c7 100644 --- a/tests/D3C860B9/case.py +++ b/tests/D3C860B9/case.py @@ -111,17 +111,17 @@ "patch_icpp(1)%x_centroid": 0.5, "patch_icpp(1)%length_x": 1, "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, + "patch_icpp(1)%vel(2)": 606.15, "patch_icpp(2)%geometry": 3, "patch_icpp(2)%x_centroid": 0.5, "patch_icpp(2)%length_x": 1, "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, + "patch_icpp(2)%vel(2)": 10.0, "patch_icpp(3)%geometry": 3, "patch_icpp(3)%x_centroid": 0.5, "patch_icpp(3)%length_x": 1, "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, + "patch_icpp(3)%vel(2)": 10.0, "relax": "T", "relax_model": 6, "palpha_eps": 0.01, diff --git a/tests/DA8AF07E/case.py b/tests/DA8AF07E/case.py index 5980f44a5..d1f9284fa 100644 --- a/tests/DA8AF07E/case.py +++ b/tests/DA8AF07E/case.py @@ -111,17 +111,17 @@ "patch_icpp(1)%x_centroid": 0.5, "patch_icpp(1)%length_x": 1, "patch_icpp(1)%vel(1)": 0.0, - "patch_icpp(1)%vel(2)": 0.0, + "patch_icpp(1)%vel(2)": 606.15, "patch_icpp(2)%geometry": 3, "patch_icpp(2)%x_centroid": 0.5, "patch_icpp(2)%length_x": 1, "patch_icpp(2)%vel(1)": 0.0, - "patch_icpp(2)%vel(2)": 0.0, + "patch_icpp(2)%vel(2)": 10.0, "patch_icpp(3)%geometry": 3, "patch_icpp(3)%x_centroid": 0.5, "patch_icpp(3)%length_x": 1, "patch_icpp(3)%vel(1)": 0.0, - "patch_icpp(3)%vel(2)": 0.0, + "patch_icpp(3)%vel(2)": 10.0, "relax": "T", "relax_model": 5, "palpha_eps": 0.01, diff --git a/tests/DC9CB97E/case.py b/tests/DC9CB97E/case.py index 2949eb42a..8afa4dfb8 100644 --- a/tests/DC9CB97E/case.py +++ b/tests/DC9CB97E/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 1, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/F4F6AC27/case.py b/tests/F4F6AC27/case.py index 30dfdc2cc..1887f1ae5 100644 --- a/tests/F4F6AC27/case.py +++ b/tests/F4F6AC27/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 2, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/F97573DB/case.py b/tests/F97573DB/case.py index 5f34f6e4a..92291d55d 100644 --- a/tests/F97573DB/case.py +++ b/tests/F97573DB/case.py @@ -41,7 +41,7 @@ "mp_weno": "F", "riemann_solver": 2, "wave_speeds": 1, - "avg_state": 1, + "avg_state": "1", "format": 1, "precision": 2, "prim_vars_wrt": "F", diff --git a/tests/FBF808BE/case.py b/tests/FBF808BE/case.py index c6d12b5dc..bf07cf941 100644 --- a/tests/FBF808BE/case.py +++ b/tests/FBF808BE/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 1, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2, diff --git a/tests/FC4D07B6/case.py b/tests/FC4D07B6/case.py index 8e0a59278..d22b342e1 100644 --- a/tests/FC4D07B6/case.py +++ b/tests/FC4D07B6/case.py @@ -40,7 +40,7 @@ "null_weights": "F", "mp_weno": "F", "riemann_solver": 2, - "wave_speeds": 2, + "wave_speeds": "2", "avg_state": 2, "format": 1, "precision": 2,