Fixtures

pytest_mpi.mpi_file_name(tmpdir, request)

Provides a temporary file name which can be used under MPI from all MPI processes.

This function avoids the need to ensure that only one process handles the naming of temporary files.

pytest_mpi.mpi_tmp_path(tmp_path)

Wraps pytest.tmp_path so that it can be used under MPI from all MPI processes.

This function avoids the need to ensure that only one process handles the naming of temporary folders.

pytest_mpi.mpi_tmpdir(tmpdir)

Wraps pytest.tmpdir so that it can be used under MPI from all MPI processes.

This function avoids the need to ensure that only one process handles the naming of temporary folders.