-
Notifications
You must be signed in to change notification settings - Fork 184
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
MPI support as plugins #966
Conversation
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, aside from the one pending item regarding search path when a custom activation is needed.
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Adding the search path as discussed. Also, I've posted ticket #1000 for documentation update for the next release. |
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Description
Implementing MPI support as plugins as proposed in this RFC.
This helps improve compatibility in some deployment scenarios:
Docker images:
libcudaq.so
is no longer directly linked against OpenMPI in the docker image; hence allowing MPI lib swap when using the image.Python wheels: with dynamical plugins, we don't need to disable MPI support during build. MPI support is deferred to runtime with support for mpi4py-based plugin or manually activated native MPI plugin.
Testing and CI
CI tests cover:
All 3 plugin deployment scenarios: built-in, mpi4py-based, and manually activated (
test_in_devenv.yml
)OpenMPI and MPICH. To keep CI matrix size manageable, MPICH is only included in the matrix for the gcc toolchain.
Test MPI support in wheels (
Run Python MPI tests
inpython_wheels.yml
): activated for Ubuntu only.