If job is fully described, there will be no ppn string to unpack
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
c79eb1da78
Коммит
d728380741
@ -619,17 +619,17 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* extract the ppn regex */
|
|
||||||
cnt = 1;
|
|
||||||
if (OPAL_SUCCESS != (rc = opal_dss.unpack(buffer, &ppn, &cnt, OPAL_STRING))) {
|
|
||||||
ORTE_ERROR_LOG(rc);
|
|
||||||
goto REPORT_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* if the job is fully described, then mpirun will have computed
|
/* if the job is fully described, then mpirun will have computed
|
||||||
* and sent us the complete array of procs in the orte_job_t, so we
|
* and sent us the complete array of procs in the orte_job_t, so we
|
||||||
* don't need to do anything more here */
|
* don't need to do anything more here */
|
||||||
if (!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
|
if (!orte_get_attribute(&jdata->attributes, ORTE_JOB_FULLY_DESCRIBED, NULL, OPAL_BOOL)) {
|
||||||
|
/* extract the ppn regex */
|
||||||
|
cnt = 1;
|
||||||
|
if (OPAL_SUCCESS != (rc = opal_dss.unpack(buffer, &ppn, &cnt, OPAL_STRING))) {
|
||||||
|
ORTE_ERROR_LOG(rc);
|
||||||
|
goto REPORT_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
if (!ORTE_PROC_IS_HNP) {
|
if (!ORTE_PROC_IS_HNP) {
|
||||||
/* populate the node array of the job map and the proc array of
|
/* populate the node array of the job map and the proc array of
|
||||||
* the job object so we know how many procs are on each node */
|
* the job object so we know how many procs are on each node */
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user