Add some missing info to the job map so remote procs get their app_rank
Этот коммит содержится в:
родитель
0e433eaa78
Коммит
aa78f902f2
@ -346,6 +346,13 @@ int orte_dt_pack_proc(opal_buffer_t *buffer, const void *src,
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pack the app rank */
|
||||||
|
if (ORTE_SUCCESS != (rc = opal_dss_pack_buffer(buffer,
|
||||||
|
(void*)(&(procs[i]->app_rank)), 1, OPAL_UINT32))) {
|
||||||
|
ORTE_ERROR_LOG(rc);
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
/* pack the attributes that will go */
|
/* pack the attributes that will go */
|
||||||
count = 0;
|
count = 0;
|
||||||
OPAL_LIST_FOREACH(kv, &procs[i]->attributes, orte_attribute_t) {
|
OPAL_LIST_FOREACH(kv, &procs[i]->attributes, orte_attribute_t) {
|
||||||
|
@ -380,6 +380,14 @@ int orte_dt_unpack_proc(opal_buffer_t *buffer, void *dest,
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* unpack the app_rank */
|
||||||
|
n = 1;
|
||||||
|
if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer,
|
||||||
|
(&(procs[i]->app_rank)), &n, OPAL_UINT32))) {
|
||||||
|
ORTE_ERROR_LOG(rc);
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
|
|
||||||
/* unpack the attributes */
|
/* unpack the attributes */
|
||||||
n=1;
|
n=1;
|
||||||
if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &count,
|
if (ORTE_SUCCESS != (rc = opal_dss_unpack_buffer(buffer, &count,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user