Skip to content

Conversation

@e-moral-sanchez
Copy link
Collaborator

@e-moral-sanchez e-moral-sanchez commented Aug 29, 2024

As it can be seen in PR #19 , the tests do not run with the latest version of mpi4py . This PR just ensures that during the installation a previous version is installed instead.

Group.Translate_ranks() is no longer a class method but an instance method. Existing codes using the former class method are expected to continue working.

This function is used in https://github.com/campospinto/psydac_dev/blame/2ed9431fd8a3bbcf46584756a4d7ffd290c2d36b/psydac/ddm/cart.py#L268C13-L268C141 . Now it only accepts two arguments: https://docs.open-mpi.org/en/v5.0.x/man-openmpi/man3/MPI_Group_translate_ranks.3.html

Copy link
Owner

@campospinto campospinto left a comment

Choose a reason for hiding this comment

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

The version restriction seems indeed justified. Thanks!

@e-moral-sanchez
Copy link
Collaborator Author

@campospinto Sorry I didn't see before, but the restriction of mpi4py < 4 was already done by Yaman in the main Psydac respository pyccel@6850cb0 .

@campospinto
Copy link
Owner

@campospinto Sorry I didn't see before, but the restriction of mpi4py < 4 was already done by Yaman in the main Psydac respository pyccel@6850cb0 .

Well, that will be a PR easy to merge in the main Psydac repo then ;)

@e-moral-sanchez e-moral-sanchez changed the title Newest versions of mpi4py and NumPy are incompatible Newest version of mpi4py is incompatible Aug 30, 2024
@e-moral-sanchez e-moral-sanchez merged commit f443b91 into devel Aug 30, 2024
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