Skip to content

ompi/attr: update attribute system to prepare for sessions #9848

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 1 commit into from
Jan 12, 2022

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Jan 8, 2022

This commit updates how the attribute system is initialized. Instead of
being set up in MPI_Init it is initialized by the subsystems (communicator,
windows, datatypes) that use it. To keep the delta from the sessions PR
minimal the ompi_mpi_instance_retain() and ompi_mpi_instance_release()
functions are stubbed out as no-ops. This will be removed once the instance
system is added.

Signed-off-by: Nathan Hjelm [email protected]

This commit updates how the attribute system is initialized. Instead of
being set up in MPI_Init it is initialized by the subsystems (communicator,
windows, datatypes) that use it. To keep the delta from the sessions PR
minimal the ompi_mpi_instance_retain() and ompi_mpi_instance_release()
functions are stubbed out as no-ops. This will be removed once the instance
system is added.

Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn
Copy link
Member Author

hjelmn commented Jan 8, 2022

Pulled out of #9097 for separate review.

@hppritcha
Copy link
Member

@hjelmn out of curiosity is this for some other work besides sessions?

@hjelmn
Copy link
Member Author

hjelmn commented Jan 10, 2022

@hppritcha No. This is sesssions only. I was reviewing the PR and figured we can probably pull some pieces out to make it easier to review. Things like this attribute change are needed for sessions as implemented but work fine without the instances code.

@hjelmn
Copy link
Member Author

hjelmn commented Jan 12, 2022

@bosilca Any comments on this change?

@bosilca bosilca merged commit 3dc8570 into open-mpi:master Jan 12, 2022
@hjelmn
Copy link
Member Author

hjelmn commented Jan 13, 2022

Ok, will try to rebase the sessions PR now and we can continue to iterate.

@hppritcha
Copy link
Member

@hjelmn i already rebased

@awlauria awlauria mentioned this pull request Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants