From 47a5e300950f555fafafb809d7f08b673585594e Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 29 Apr 2012 00:03:28 +0000 Subject: [PATCH] Ensure debug output levels if we are debugging This commit was SVN r26358. --- orte/runtime/orte_mca_params.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/orte/runtime/orte_mca_params.c b/orte/runtime/orte_mca_params.c index 7060eee201..c1da0fe25f 100644 --- a/orte/runtime/orte_mca_params.c +++ b/orte/runtime/orte_mca_params.c @@ -188,6 +188,11 @@ int orte_register_params(void) false, false, (int)false, &value); orte_leave_session_attached = OPAL_INT_TO_BOOL(value); + /* if any debug level is set, ensure we output debug level dumps */ + if (orte_debug_flag || orte_debug_daemons_flag || orte_leave_session_attached) { + orte_devel_level_output = true; + } + /* See comment in orte/tools/orterun/orterun.c about this MCA param (this param is internal) */ mca_base_param_reg_int_name("orte",