Add some debug
This commit was SVN r27257.
Этот коммит содержится в:
родитель
78ccb097f0
Коммит
2110fb7f95
@ -85,12 +85,15 @@ int orte_rmaps_rr_byslot(orte_job_t *jdata,
|
|||||||
#endif
|
#endif
|
||||||
if (node->slots <= node->slots_inuse) {
|
if (node->slots <= node->slots_inuse) {
|
||||||
opal_output_verbose(2, orte_rmaps_base.rmaps_output,
|
opal_output_verbose(2, orte_rmaps_base.rmaps_output,
|
||||||
"mca:rmaps:rr:slot working node %s is full - skipping",
|
"mca:rmaps:rr:slot node %s is full - skipping",
|
||||||
node->name);
|
node->name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
num_procs_to_assign = node->slots - node->slots_inuse;
|
num_procs_to_assign = node->slots - node->slots_inuse;
|
||||||
for (i=0; i < num_procs_to_assign && nprocs_mapped < app->num_procs; i++) {
|
opal_output_verbose(2, orte_rmaps_base.rmaps_output,
|
||||||
|
"mca:rmaps:rr:slot assigning %d procs to node %s",
|
||||||
|
(int)num_procs_to_assign, node->name);
|
||||||
|
for (i=0; i < num_procs_to_assign && nprocs_mapped < app->num_procs; i++) {
|
||||||
/* add this node to the map - do it only once */
|
/* add this node to the map - do it only once */
|
||||||
if (!node->mapped) {
|
if (!node->mapped) {
|
||||||
if (ORTE_SUCCESS > (rc = opal_pointer_array_add(jdata->map->nodes, (void*)node))) {
|
if (ORTE_SUCCESS > (rc = opal_pointer_array_add(jdata->map->nodes, (void*)node))) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user