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

MPI support as plugins #966

Merged
merged 71 commits into from
Dec 5, 2023
Merged

MPI support as plugins #966

merged 71 commits into from
Dec 5, 2023

Conversation

1tnguyen
Copy link
Collaborator

@1tnguyen 1tnguyen commented Nov 22, 2023

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 in python_wheels.yml): activated for Ubuntu only.

Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Nov 22, 2023
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Nov 22, 2023
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Nov 22, 2023
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Copy link

github-actions bot commented Dec 1, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 1, 2023
Copy link

github-actions bot commented Dec 1, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 1, 2023
Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
Copy link
Collaborator

@bettinaheim bettinaheim left a 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.

Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
@1tnguyen
Copy link
Collaborator Author

1tnguyen commented Dec 4, 2023

Looks good to me, aside from the one pending item regarding search path when a custom activation is needed.

Adding the search path as discussed.

Also, I've posted ticket #1000 for documentation update for the next release.

Copy link

github-actions bot commented Dec 5, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 5, 2023
@bettinaheim bettinaheim merged commit 035b084 into NVIDIA:main Dec 5, 2023
30 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
@bettinaheim bettinaheim added the enhancement New feature or request label Jan 22, 2024
@bettinaheim bettinaheim added this to the release 0.6.0 milestone Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants