Silence compiler warnings
This commit was SVN r21445.
Этот коммит содержится в:
родитель
74bd80afd9
Коммит
e9fc0a74fb
@ -126,7 +126,7 @@ int orte_rmaps_base_map_byslot(orte_job_t *jdata, orte_app_context_t *app,
|
||||
orte_vpid_t vpid_start, opal_list_item_t *cur_node_item,
|
||||
orte_vpid_t ppn)
|
||||
{
|
||||
int rc;
|
||||
int rc=ORTE_SUCCESS;
|
||||
int i;
|
||||
orte_node_t *node;
|
||||
opal_list_item_t *next;
|
||||
|
@ -121,7 +121,7 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata)
|
||||
orte_std_cntr_t num_slots;
|
||||
int rc;
|
||||
float avgload, minload;
|
||||
orte_node_t *node, *nd, *oldnode;
|
||||
orte_node_t *node, *nd=NULL, *oldnode;
|
||||
orte_rmaps_res_ftgrp_t *ftgrp, *target;
|
||||
orte_vpid_t totprocs, lowprocs;
|
||||
FILE *fp;
|
||||
@ -235,10 +235,6 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata)
|
||||
}
|
||||
totnodes++;
|
||||
totprocs += node->num_procs;
|
||||
if (node->num_procs < lowprocs) {
|
||||
lowprocs = node->num_procs;
|
||||
nd = node;
|
||||
}
|
||||
}
|
||||
avgload = (float)totprocs / (float)totnodes;
|
||||
/* now find the lightest loaded of the included fault groups */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user