Don't be greedy, just do what we asked for.
This commit was SVN r29917.
Этот коммит содержится в:
родитель
430a13719f
Коммит
1a972e2c9d
@ -153,11 +153,6 @@ int ompi_rte_db_fetch(const orte_process_name_t *nm,
|
|||||||
if (OPAL_SUCCESS != (rc = opal_db.fetch((opal_identifier_t*)nm, key, data, type))) {
|
if (OPAL_SUCCESS != (rc = opal_db.fetch((opal_identifier_t*)nm, key, data, type))) {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
/* update the hostname */
|
|
||||||
proct = ompi_proc_find(nm);
|
|
||||||
if (NULL == proct->proc_hostname) {
|
|
||||||
opal_db.fetch_pointer((opal_identifier_t*)nm, ORTE_DB_HOSTNAME, (void**)&proct->proc_hostname, OPAL_STRING);
|
|
||||||
}
|
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -171,11 +166,6 @@ int ompi_rte_db_fetch_pointer(const orte_process_name_t *nm,
|
|||||||
if (OPAL_SUCCESS != (rc = opal_db.fetch_pointer((opal_identifier_t*)nm, key, data, type))) {
|
if (OPAL_SUCCESS != (rc = opal_db.fetch_pointer((opal_identifier_t*)nm, key, data, type))) {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
/* update the hostname */
|
|
||||||
proct = ompi_proc_find(nm);
|
|
||||||
if (NULL == proct->proc_hostname) {
|
|
||||||
opal_db.fetch_pointer((opal_identifier_t*)nm, ORTE_DB_HOSTNAME, (void**)&proct->proc_hostname, OPAL_STRING);
|
|
||||||
}
|
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -191,11 +181,6 @@ int ompi_rte_db_fetch_multiple(const orte_process_name_t *nm,
|
|||||||
OPAL_SCOPE_GLOBAL, key, kvs))) {
|
OPAL_SCOPE_GLOBAL, key, kvs))) {
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
/* update the hostname */
|
|
||||||
proct = ompi_proc_find(nm);
|
|
||||||
if (NULL == proct->proc_hostname) {
|
|
||||||
opal_db.fetch_pointer((opal_identifier_t*)nm, ORTE_DB_HOSTNAME, (void**)&proct->proc_hostname, OPAL_STRING);
|
|
||||||
}
|
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user