Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass custom mpi4py communicator #93

Open
adematti opened this issue Oct 5, 2022 · 1 comment
Open

Pass custom mpi4py communicator #93

adematti opened this issue Oct 5, 2022 · 1 comment

Comments

@adematti
Copy link

adematti commented Oct 5, 2022

Hi,
Thanks for this sampler!
Here are two suggestions:

  • it'd be nice to be able to provide, through the Python wrapper, the proper mpi4py communicator in case it is not COMM_WORLD (e.g. to have several runs in parallel).
  • it may be worth avoiding MPI_ANY_TAG, e.g. in , which may conflict with potential MPI communication between e.g. the user-provided logposterior and dumper.

I have a branch that addresses the above suggestions I think, here: https://github.com/adematti/PolyChordLite/tree/mpi4py
(I can file a PR if desired)
Best

@williamjameshandley
Copy link
Member

Hi @adematti. Both of these sound like a great idea. Feel free to file a PR.

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

No branches or pull requests

2 participants