1
1

Really should check our own node for oversubscription, not the HNP

cmr=v1.8.2:reviewer=jsquyres

This commit was SVN r31946.
Этот коммит содержится в:
Ralph Castain 2014-06-04 03:09:02 +00:00
родитель 5398158d5a
Коммит 8e768de317

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

@ -1006,7 +1006,7 @@ void orte_odls_base_default_launch_local(int fd, short sd, void *cbdata)
/* see if the mapper thinks we are oversubscribed */
oversubscribed = false;
if (NULL == (node = (orte_node_t*)opal_pointer_array_get_item(orte_node_pool, 0))) {
if (NULL == (node = (orte_node_t*)opal_pointer_array_get_item(orte_node_pool, ORTE_PROC_MY_NAME->vpid))) {
ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND);
ORTE_ACTIVATE_JOB_STATE(jobdat, ORTE_JOB_STATE_FAILED_TO_LAUNCH);
goto ERROR_OUT;