pmix/~pmix1xx: use u32 for OPAL_PMIX_LOCAL_SIZE
Looks like in ess_pmi_module.c u32 is being used for retrieving OPAL_PMIX_LOCAL_SIZE, while s1/s2/cray pmix components were storing as u16. This commit fixes this problem. Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Этот коммит содержится в:
родитель
b79cffc73b
Коммит
2bbf22e2d0
@ -314,8 +314,8 @@ static int cray_init(void)
|
||||
/* save the local size */
|
||||
OBJ_CONSTRUCT(&kv, opal_value_t);
|
||||
kv.key = strdup(OPAL_PMIX_LOCAL_SIZE);
|
||||
kv.type = OPAL_UINT16;
|
||||
kv.data.uint16 = pmix_nlranks;
|
||||
kv.type = OPAL_UINT32;
|
||||
kv.data.uint32 = pmix_nlranks;
|
||||
if (OPAL_SUCCESS != (rc = opal_pmix_base_store(&OPAL_PROC_MY_NAME, &kv))) {
|
||||
OPAL_ERROR_LOG(rc);
|
||||
OBJ_DESTRUCT(&kv);
|
||||
|
@ -274,8 +274,8 @@ static int s1_init(void)
|
||||
/* save the local size */
|
||||
OBJ_CONSTRUCT(&kv, opal_value_t);
|
||||
kv.key = strdup(OPAL_PMIX_LOCAL_SIZE);
|
||||
kv.type = OPAL_UINT16;
|
||||
kv.data.uint16 = nlranks;
|
||||
kv.type = OPAL_UINT32;
|
||||
kv.data.uint32 = nlranks;
|
||||
if (OPAL_SUCCESS != (ret = opal_pmix_base_store(&OPAL_PROC_MY_NAME, &kv))) {
|
||||
OPAL_ERROR_LOG(ret);
|
||||
OBJ_DESTRUCT(&kv);
|
||||
|
@ -320,8 +320,8 @@ static int s2_init(void)
|
||||
/* save the local size */
|
||||
OBJ_CONSTRUCT(&kv, opal_value_t);
|
||||
kv.key = strdup(OPAL_PMIX_LOCAL_SIZE);
|
||||
kv.type = OPAL_UINT16;
|
||||
kv.data.uint16 = s2_nlranks;
|
||||
kv.type = OPAL_UINT32;
|
||||
kv.data.uint32 = s2_nlranks;
|
||||
if (OPAL_SUCCESS != (rc = opal_pmix_base_store(&OPAL_PROC_MY_NAME, &kv))) {
|
||||
OPAL_ERROR_LOG(rc);
|
||||
OBJ_DESTRUCT(&kv);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user