Skip to content

feat: implement wrappers for MPI_Comm_dup #122

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

Merged
merged 2 commits into from
May 20, 2025
Merged

Conversation

gxyd
Copy link
Collaborator

@gxyd gxyd commented May 20, 2025

Description

Towards: #121

MPI_Comm_dup duplicates the existing communicator 'comm' with associated key values, topology information and error handlers

@gxyd gxyd added the enhancement New feature or request label May 20, 2025
gxyd added 2 commits May 20, 2025 08:54
MPI_Comm_dup duplicates the existing communicator 'comm' with associated
key values, topology information and error handlers
if (ier /= MPI_SUCCESS) then
print *, "Error duplicating communicator"
error stop
! call MPI_Abort(communicator, 1, ier)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll implement wrappers for MPI_Abort and MPI_Send in subsequent PR's.

@gxyd gxyd requested review from certik and adit4443ya May 20, 2025 03:58
@gxyd
Copy link
Collaborator Author

gxyd commented May 20, 2025

All the CI checks pass, and I've got an approval, so I'm merging this.

@gxyd gxyd merged commit ee6ec9b into lfortran:main May 20, 2025
16 checks passed
@gxyd gxyd deleted the mpi_comm_dup branch May 20, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants