Skip to content

Commit 0c8a73a

Browse files
author
Ralph Castain
authored
Merge pull request #3978 from karasevb/fix_hangs_pmix1
pmix: fixed immediate request
2 parents 8251160 + e20b581 commit 0c8a73a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opal/mca/pmix/pmix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ extern int opal_pmix_base_exchange(opal_value_t *info,
146146
OPAL_NAME_PRINT(*(p)), (s))); \
147147
OBJ_CONSTRUCT(&(_ilist), opal_list_t); \
148148
_info = OBJ_NEW(opal_value_t); \
149-
_info->key = strdup(OPAL_PMIX_IMMEDIATE); \
149+
_info->key = strdup(OPAL_PMIX_OPTIONAL); \
150150
_info->type = OPAL_BOOL; \
151151
_info->data.flag = true; \
152152
opal_list_append(&(_ilist), &(_info)->super); \

orte/mca/ess/singleton/ess_singleton_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ static int rte_init(void)
249249

250250

251251
/* get our app number from PMI - ok if not found */
252-
OPAL_MODEX_RECV_VALUE(ret, OPAL_PMIX_APPNUM,
252+
OPAL_MODEX_RECV_VALUE_OPTIONAL(ret, OPAL_PMIX_APPNUM,
253253
ORTE_PROC_MY_NAME, &u32ptr, OPAL_UINT32);
254254
if (OPAL_SUCCESS == ret) {
255255
orte_process_info.app_num = u32;

0 commit comments

Comments
 (0)