Skip to content

Parameterise test-fci-mpi - #3537

Open
ZedThree wants to merge 1 commit into
nextfrom
parametrise-test-fci-mpi
Open

ZedThree wants to merge 1 commit into
nextfrom
parametrise-test-fci-mpi

Conversation

@ZedThree

@ZedThree ZedThree commented Nov 6, 2026

Copy link
Copy Markdown
Member

Enables running the interpolation methods in parallel.

Also demonstrates use of pytest.subtests to simplify running the benchmark
case and displaying results from the different processor counts separately:

test_fci_mpi.py::test_fci_mpi[1-hermitespline] SUBPASSED[nxpe=2, nype=1]
test_fci_mpi.py::test_fci_mpi[1-hermitespline] SUBPASSED[nxpe=1, nype=2]
test_fci_mpi.py::test_fci_mpi[1-hermitespline] SUBPASSED[nxpe=2, nype=2]
test_fci_mpi.py::test_fci_mpi[1-hermitespline] PASSED
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] SUBPASSED[nxpe=2, nype=1]
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] SUBPASSED[nxpe=1, nype=2]
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] SUBPASSED[nxpe=2, nype=2]
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] PASSED

Enables running the interpolation methods in parallel.

Also demonstrates use of `pytest.subtests` to simplify running the benchmark
case and displaying results from the different processor counts separately:

```
test_fci_mpi.py::test_fci_mpi[1-hermitespline] SUBPASSED[nxpe=2, nype=1]
test_fci_mpi.py::test_fci_mpi[1-hermitespline] SUBPASSED[nxpe=1, nype=2]
test_fci_mpi.py::test_fci_mpi[1-hermitespline] SUBPASSED[nxpe=2, nype=2]
test_fci_mpi.py::test_fci_mpi[1-hermitespline] PASSED
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] SUBPASSED[nxpe=2, nype=1]
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] SUBPASSED[nxpe=1, nype=2]
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] SUBPASSED[nxpe=2, nype=2]
test_fci_mpi.py::test_fci_mpi[1-monotonichermitespline] PASSED
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant