Skip to content

Conversation

@spossann
Copy link
Member

  • moved mpi.py from Struphy to ddm/mpi.py

@spossann spossann requested a review from max-models October 16, 2025 14:27
@max-models
Copy link
Member

Should we move mpi4py to an optional dependency so we can run the tests without installing MPI?

@spossann
Copy link
Member Author

Should we move mpi4py to an optional dependency so we can run the tests without installing MPI?

Done in 04e3980

if TYPE_CHECKING:
from mpi4py import MPI
else:
from psydac.ddm.mpi import mpi as MPI
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@max-models
Copy link
Member

Nice job! It's pretty cool that so few changes in the code were needed! Maybe this could be a suggestion for the upstream psydac repo to implement too.

@spossann spossann self-assigned this Oct 20, 2025
@spossann spossann marked this pull request as ready for review October 20, 2025 08:55
@max-models
Copy link
Member

Looks good now! I will merge it.

@max-models max-models merged commit 6d4f44e into devel-tiny Oct 20, 2025
18 checks passed
@max-models max-models deleted the no-mpi branch October 20, 2025 13:45
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.

3 participants