Skip to content

Commit 548b488

Browse files
committed
ulfm/era: add more debug info about the agreed failed ranks and
new_deads Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
1 parent 7732085 commit 548b488

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

ompi/mca/coll/ftagree/coll_ftagree_earlyreturning.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -808,12 +808,12 @@ static void era_update_new_dead_list(ompi_coll_ftagree_era_agreement_info_t *ci)
808808
}
809809

810810
OPAL_OUTPUT_VERBOSE((30, ompi_ftmpi_output_handle,
811-
"%s ftagree:agreement (ERA) agreement (%d.%d).%d -- adding %d procs to the list of newly dead processes",
811+
"%s ftagree:agreement (ERA) agreement (%d.%d).%d -- adding %d procs to the list of newly dead processes (%d currently; AFR size is %d)",
812812
OMPI_NAME_PRINT(OMPI_PROC_MY_NAME),
813813
ci->agreement_id.ERAID_FIELDS.contextid,
814814
ci->agreement_id.ERAID_FIELDS.epoch,
815815
ci->agreement_id.ERAID_FIELDS.agreementid,
816-
r));
816+
r, ci->current_value->new_dead_array, ags->afr_size));
817817

818818
#if OPAL_ENABLE_DEBUG
819819
{
@@ -1372,16 +1372,14 @@ static void era_build_tree_structure(ompi_coll_ftagree_era_agreement_info_t *ci)
13721372

13731373
era_call_tree_fn(ci);
13741374

1375-
if( ompi_comm_rank(ci->comm) == 0 ) {
1376-
OPAL_OUTPUT_VERBOSE((4, ompi_ftmpi_output_handle,
1377-
"%s ftagree:agreement (ERA) Agreement (%d.%d).%d: re-built the tree structure with size %d: %s\n",
1378-
OMPI_NAME_PRINT(OMPI_PROC_MY_NAME),
1379-
ci->agreement_id.ERAID_FIELDS.contextid,
1380-
ci->agreement_id.ERAID_FIELDS.epoch,
1381-
ci->agreement_id.ERAID_FIELDS.agreementid,
1382-
AGS(ci->comm)->tree_size,
1383-
era_debug_tree(ci->ags->tree, ci->ags->tree_size)));
1384-
}
1375+
OPAL_OUTPUT_VERBOSE(((ompi_comm_rank(ci->comm) == 0)? 4: 50, ompi_ftmpi_output_handle,
1376+
"%s ftagree:agreement (ERA) Agreement (%d.%d).%d: re-built the tree structure with size %d: %s\n",
1377+
OMPI_NAME_PRINT(OMPI_PROC_MY_NAME),
1378+
ci->agreement_id.ERAID_FIELDS.contextid,
1379+
ci->agreement_id.ERAID_FIELDS.epoch,
1380+
ci->agreement_id.ERAID_FIELDS.agreementid,
1381+
AGS(ci->comm)->tree_size,
1382+
era_debug_tree(ci->ags->tree, ci->ags->tree_size)));
13851383

13861384
#if OPAL_ENABLE_DEBUG
13871385
era_tree_check(ci->ags->tree, ci->ags->tree_size, 0);

0 commit comments

Comments
 (0)