Ensure this module works in heterogeneous environments.
Note: this module is under development, which is why it is not set as the default. Use at your own risk! This commit was SVN r18688.
Этот коммит содержится в:
родитель
ccbf194e8f
Коммит
174b9f1482
@ -542,17 +542,18 @@ static int modex(opal_list_t *procs)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* unpack its architecture */
|
||||
cnt=1;
|
||||
if (ORTE_SUCCESS != (rc = opal_dss.unpack(&rbuf, &arch, &cnt, OPAL_UINT32))) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* update the arch in the ESS */
|
||||
if (ORTE_SUCCESS != (rc = orte_ess.update_arch(&proc_name, arch))) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
goto cleanup;
|
||||
if (OMPI_ENABLE_HETEROGENEOUS_SUPPORT) {
|
||||
/* unpack its architecture */
|
||||
cnt=1;
|
||||
if (ORTE_SUCCESS != (rc = opal_dss.unpack(&rbuf, &arch, &cnt, OPAL_UINT32))) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
goto cleanup;
|
||||
}
|
||||
/* update the arch in the ESS */
|
||||
if (ORTE_SUCCESS != (rc = orte_ess.update_arch(&proc_name, arch))) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
|
||||
/* update the modex database */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user