NOhs / pytest-easyMPI

Integrating MPI tests into your regular pytest scripts.
MIT License
3 stars 1 forks source link

Fixes pytest hanging on OSX when running MPI tests #3

Closed NOhs closed 3 years ago

NOhs commented 3 years ago

A subprocess of an MPI process cannot import mpi4py itself without issues with the MPI communicator. As a solution, the subprocess call of pytest was replaced with the main-function call of pytest.