Skip to content

ompi_mpi_instance_init_common needs to be local #11239

Open
@hppritcha

Description

@hppritcha

ompi_mpi_instance_init_common is invoked when an application uses either MPI_Init or MPI_Session_init. The later function has purely local semantics to the invoking application. As is though, this function has to have a PMIx fence involving all procs in a "job" as some PMLs require this for the add_procs method to work correctly, even if just the "local" procs are included in the argument array.

This call and the preceding PMIx Fence need to be moved into the MPI_Init specific code. Code needs to be added in the MPI_Comm_create_from_group and MPI_Intercomm_create_from_groups to do the add_procs at that point. This may require either new PML methods or modification to add_proc methods that don't check for previously added procs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions