Skip to content

Commit

Permalink
Add a second method for doing connect/accept
Browse files Browse the repository at this point in the history
The "old" method relies on PMIx publish/lookup followed by
a call to PMIx_Connect. It then does a "next cid" method
to get the next communicator ID, which has multiple algorithms
including one that calls PMIx_Group.

Simplify this by using PMIx_Group_construct in place of
PMIx_Connect, and have it return the next communicator ID.
This is more scalable and reliable than the prior method.

Retain the "old" method for now as this is new code. Create
a new MCA param "OMPI_MCA_dpm_enable_new_method" to switch
between the two approaches. Default it to "true" for now
for ease of debugging.

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Mar 4, 2024
1 parent a166ad7 commit bc0d84f
Show file tree
Hide file tree
Showing 2 changed files with 564 additions and 4 deletions.
Loading

0 comments on commit bc0d84f

Please sign in to comment.