* fix compile error in XGrid PLS that got introduced sometime in the not
too distant past * work around apparently broken handling of max_slots somewhere along the line by just setting it to 0 Both changes should go to the trunk. This commit was SVN r7710.
Этот коммит содержится в:
родитель
cb7b401ca8
Коммит
128389758f
@ -251,7 +251,7 @@ mca_pls_xgrid_set_node_name(orte_ras_node_t* node,
|
||||
/* query the list of nodes allocated to the job */
|
||||
OBJ_CONSTRUCT(&nodes, opal_list_t);
|
||||
OBJ_CONSTRUCT(&mapping_list, opal_list_t);
|
||||
rc = orte_rmaps_base_mapped_node_query(&mapping_list, &nodes, jobid);
|
||||
ret = orte_rmaps_base_mapped_node_query(&mapping_list, &nodes, jobid);
|
||||
if (ORTE_SUCCESS != ret) goto cleanup;
|
||||
|
||||
/* allocate vpids for the daemons */
|
||||
|
@ -149,7 +149,7 @@ static int discover(orte_jobid_t jobid, opal_list_t* nodelist)
|
||||
node->node_state = ORTE_NODE_STATE_UP;
|
||||
node->node_cellid = 0;
|
||||
node->node_slots_inuse = 0;
|
||||
node->node_slots_max = 1;
|
||||
node->node_slots_max = 0;
|
||||
node->node_slots = 1;
|
||||
opal_list_append(&new_nodes, &node->super);
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user