Skip to content

Commit

Permalink
Try to fix mpiexec path windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidt0x committed Sep 30, 2024
1 parent ca6403e commit 3379b25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,8 @@ before-test = "python -m pip install impi-rt mpi4py --extra-index-url https://py
before-all = "python -m pip install impi-rt mpi4py --extra-index-url https://pypi.anaconda.org/mpi4py/simple"
before-test = [
"python -m pip install impi-rt mpi4py --extra-index-url https://pypi.anaconda.org/mpi4py/simple",
# We need to add venv/libary/bin to the PATH to pick up mpiexec
"set PATH=%PATH%;%VIRTUAL_ENV%\\Library\\bin",
"echo %PATH%",
]
test-command = "venv-test/library/bin/mpiexec.exe -n 2 python -m mpi4py -m pytest {project}/tests"

[tool.cibuildwheel.macos]
before-all = ["brew install mpich", ".cibw/build_libomp_macos.sh"]
Expand Down

0 comments on commit 3379b25

Please sign in to comment.