Skip to content

Commit

Permalink
All PRRTE master to build against PMIx v5
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Dec 21, 2024
1 parent 964ed5f commit 5b25fe3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mca/grpcomm/direct/grpcomm_direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ static int init(void)
PRTE_RML_RECV(PRTE_NAME_WILDCARD, PRTE_RML_TAG_FENCE_RELEASE,
PRTE_RML_PERSISTENT, prte_grpcomm_direct_fence_release, NULL);

#if PMIX_NUMERIC_VERSION >= 0x00060000
/* group receives */
PRTE_RML_RECV(PRTE_NAME_WILDCARD, PRTE_RML_TAG_GROUP,
PRTE_RML_PERSISTENT, prte_grpcomm_direct_grp_recv, NULL);

PRTE_RML_RECV(PRTE_NAME_WILDCARD, PRTE_RML_TAG_GROUP_RELEASE,
PRTE_RML_PERSISTENT, prte_grpcomm_direct_grp_release, NULL);

#endif
return PRTE_SUCCESS;
}

Expand Down
3 changes: 3 additions & 0 deletions src/mca/grpcomm/direct/grpcomm_direct.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ int prte_grpcomm_direct_group(pmix_group_operation_t op, char *grpid,
const pmix_info_t directives[], size_t ndirs,
pmix_info_cbfunc_t cbfunc, void *cbdata);

#if PMIX_NUMERIC_VERSION >= 0x00060000

PRTE_MODULE_EXPORT extern
void prte_grpcomm_direct_grp_recv(int status, pmix_proc_t *sender,
pmix_data_buffer_t *buffer,
Expand Down Expand Up @@ -264,6 +266,7 @@ static inline void print_signature(prte_grpcomm_direct_group_signature_t *sig)
pmix_output(0, "%s", tmp);
free(tmp);
}
#endif

END_C_DECLS

Expand Down

0 comments on commit 5b25fe3

Please sign in to comment.