Skip to content

Commit 1d02752

Browse files
committed
Alter to work on 2 cores so see if it works..
1 parent d64c838 commit 1d02752

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
run: |
117117
. venv-gusto/bin/activate
118118
firedrake-run-split-tests 4 3 "$EXTRA_PYTEST_ARGS" "--log-file=gusto4_{#}.log"
119-
timeout-minutes: 30
119+
timeout-minutes: 10
120120

121121
- name: Upload pytest log files
122122
uses: actions/upload-artifact@v4

integration-tests/model/test_parallel_dc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ def run(timestepper, tmax, f_end):
1919
return norm(timestepper.fields("f") - f_end) / norm(f_end)
2020

2121

22-
@pytest.mark.parallel(nprocs=[4])
22+
@pytest.mark.parallel(nprocs=[2])
2323
@pytest.mark.parametrize(
24-
"scheme", ["IMEX_RIDC(2)", "IMEX_SDC(4,2)"])
24+
"scheme", ["IMEX_RIDC(2)", "IMEX_SDC(2,2)"])
2525
def test_parallel_dc(tmpdir, scheme):
2626

27-
if scheme == "IMEX_SDC(4,2)":
28-
M = 4
27+
if scheme == "IMEX_SDC(2,2)":
28+
M = 2
2929
k = 2
3030
ensemble = Ensemble(COMM_WORLD, COMM_WORLD.size//(M))
3131
elif scheme == "IMEX_RIDC(2)":
@@ -66,7 +66,7 @@ def test_parallel_dc(tmpdir, scheme):
6666
V = domain.spaces("DG")
6767
eqn = ContinuityEquation(domain, V, "f")
6868

69-
if scheme == "IMEX_SDC(4,2)":
69+
if scheme == "IMEX_SDC(2,2)":
7070
eqn.label_terms(lambda t: not t.has_label(time_derivative), implicit)
7171

7272
quad_type = "RADAU-RIGHT"

0 commit comments

Comments
 (0)