Merge pull request #885 from hppritcha/topic/pmix_not_pmix1xx_u16_prob
pmix/~pmix1xx: use u32 for OPAL_PMIX_LOCAL_SIZE
Этот коммит содержится в:
Коммит
3430f154fc
@ -315,8 +315,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