From c546d7bda99b3ea2bc96161868a21fc822b95012 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 20 May 2008 01:34:55 +0000 Subject: [PATCH] Ensure that the last few duplicates can be shown -- don't shut down everything unitl those duplicates are shown This commit was SVN r18460. --- orte/util/output.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/orte/util/output.c b/orte/util/output.c index b962fbe2fc..ac01253b41 100644 --- a/orte/util/output.c +++ b/orte/util/output.c @@ -769,10 +769,6 @@ void orte_output_finalize(void) return; } - orte_output_ready = false; - - OBJ_DESTRUCT(&orte_output_default); - /* Shutdown show_help, showing final messages */ if (orte_process_info.hnp) { show_accumulated_duplicates(0, 0, NULL); @@ -782,8 +778,11 @@ void orte_output_finalize(void) opal_evtimer_del(&show_help_timer_event); } + orte_output_ready = false; + /* if we are the HNP, cancel the recv */ if (orte_process_info.hnp) { + OBJ_DESTRUCT(&orte_output_default); orte_rml.recv_cancel(ORTE_NAME_WILDCARD, ORTE_RML_TAG_OUTPUT); /* close our output streams */ opal_output_close(stdout_stream);