From acd2f359025bec19f987746c17dfecc8131a9100 Mon Sep 17 00:00:00 2001 From: Nicole Lemaster Slattengren Date: Thu, 30 Nov 2023 11:30:22 -0800 Subject: [PATCH] #2223: phase: improve phase summary on phase zero --- src/vt/phase/phase_manager.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/vt/phase/phase_manager.cc b/src/vt/phase/phase_manager.cc index cdb56585d3..023875a269 100644 --- a/src/vt/phase/phase_manager.cc +++ b/src/vt/phase/phase_manager.cc @@ -395,14 +395,15 @@ void PhaseManager::printSummary(vrt::collection::lb::PhaseInfo* last_phase_info) } } } - } else if (last_phase_info->phase == 0) { - // ran the lb on a phase that may have included initialization costs - vt_print( - phase, - "Consider skipping LB on phase 0 if it is not representative of " - "future phases\n" - ); } else { + if (last_phase_info->phase == 0) { + // ran the lb on a phase that may have included initialization costs + vt_print( + phase, + "Consider skipping LB on phase 0 if it is not representative of " + "future phases\n" + ); + } if (last_phase_info->migration_count > 0) { auto speedup = compute_speedup( last_phase_info->max_load, last_phase_info->max_load_post_lb