Skip to content

sessions: initialize instance field for world and self #10495

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
Jun 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ompi/communicator/comm_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ int ompi_comm_init_mpi3 (void)
sizeof(ompi_mpi_comm_world.comm.c_name));
ompi_mpi_comm_world.comm.c_flags |= OMPI_COMM_NAMEISSET | OMPI_COMM_INTRINSIC |
OMPI_COMM_GLOBAL_INDEX;
ompi_mpi_comm_world.comm.instance = group->grp_instance;

/* get a reference on the attributes subsys */
ompi_attr_get_ref();
Expand Down Expand Up @@ -283,6 +284,7 @@ int ompi_comm_init_mpi3 (void)
sizeof(ompi_mpi_comm_self.comm.c_name));
ompi_mpi_comm_self.comm.c_flags |= OMPI_COMM_NAMEISSET | OMPI_COMM_INTRINSIC |
OMPI_COMM_GLOBAL_INDEX;
ompi_mpi_comm_self.comm.instance = group->grp_instance;

/* We can set MPI_COMM_SELF's keyhash to NULL because it has no
predefined attributes. If a user defines an attribute on
Expand Down