From aaae4841e9e09a8b4aff22aae01da86f1cfedcbf Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 8 May 2014 14:37:47 +0000 Subject: [PATCH] Flush the show_help system on our way out - this also restores the opal_show_help function pointer to the OPAL layer for any subsequent processing. cmr=v1.8.2:reviewer=jsquyres This commit was SVN r31685. --- orte/runtime/orte_finalize.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/orte/runtime/orte_finalize.c b/orte/runtime/orte_finalize.c index 7b0c659c99..3a164b6fa3 100644 --- a/orte/runtime/orte_finalize.c +++ b/orte/runtime/orte_finalize.c @@ -11,7 +11,8 @@ * All rights reserved. * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011-2013 Los Alamos National Security, LLC. - * All rights reserved. + * All rights reserved. + * Copyright (c) 2014 Intel, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -33,6 +34,7 @@ #include "orte/runtime/runtime.h" #include "orte/runtime/orte_locks.h" #include "orte/util/name_fns.h" +#include "orte/util/show_help.h" int orte_finalize(void) { @@ -56,6 +58,9 @@ int orte_finalize(void) /* flag that we are finalizing */ orte_finalizing = true; + /* flush the show_help system */ + orte_show_help_finalize(); + /* call the finalize function for this environment */ if (ORTE_SUCCESS != (rc = orte_ess.finalize())) { return rc;