1
1

Don't include jobs in the nidmap if they aren't mapped jobs

This commit was SVN r22886.
Этот коммит содержится в:
Ralph Castain 2010-03-25 22:54:57 +00:00
родитель 522a23d6a3
Коммит 1bf9684ebb

Просмотреть файл

@ -619,6 +619,12 @@ int orte_util_encode_pidmap(opal_byte_object_t *boptr)
if (NULL == (jdata = (orte_job_t*)opal_pointer_array_get_item(orte_job_data, j))) {
continue;
}
/* if this job doesn't have a map, then it is a tool
* and doesn't need to be included
*/
if (NULL == jdata->map) {
continue;
}
/* pack the jobid */
if (ORTE_SUCCESS != (rc = opal_dss.pack(&buf, &jdata->jobid, 1, ORTE_JOBID))) {
ORTE_ERROR_LOG(rc);