We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e3ddb commit 37895acCopy full SHA for 37895ac
tests/python/conftest.py
@@ -5,8 +5,9 @@
5
6
@pytest.fixture
7
def mpi_exec(request):
8
- """Get MPI executor from pytest option."""
+ """Get MPI executor and options from pytest options."""
9
executor = request.config.getoption("--mpi-exec")
10
+ options = request.config.getoption("--mpi-opt")
11
if executor != "mpirun":
- return f"{executor} -n "
12
- return "mpirun -np "
+ return f"{executor} {options} -n"
13
+ return f"mpirun {options} -np"
0 commit comments