pmix: fixed immediate request
This commit fixes a hang when using external PMIx v1 module Signed-off-by: Boris Karasev <karasev.b@gmail.com>
Этот коммит содержится в:
родитель
825116044e
Коммит
e20b581529
@ -146,7 +146,7 @@ extern int opal_pmix_base_exchange(opal_value_t *info,
|
||||
OPAL_NAME_PRINT(*(p)), (s))); \
|
||||
OBJ_CONSTRUCT(&(_ilist), opal_list_t); \
|
||||
_info = OBJ_NEW(opal_value_t); \
|
||||
_info->key = strdup(OPAL_PMIX_IMMEDIATE); \
|
||||
_info->key = strdup(OPAL_PMIX_OPTIONAL); \
|
||||
_info->type = OPAL_BOOL; \
|
||||
_info->data.flag = true; \
|
||||
opal_list_append(&(_ilist), &(_info)->super); \
|
||||
|
@ -249,7 +249,7 @@ static int rte_init(void)
|
||||
|
||||
|
||||
/* get our app number from PMI - ok if not found */
|
||||
OPAL_MODEX_RECV_VALUE(ret, OPAL_PMIX_APPNUM,
|
||||
OPAL_MODEX_RECV_VALUE_OPTIONAL(ret, OPAL_PMIX_APPNUM,
|
||||
ORTE_PROC_MY_NAME, &u32ptr, OPAL_UINT32);
|
||||
if (OPAL_SUCCESS == ret) {
|
||||
orte_process_info.app_num = u32;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user