1
1

Instantiate debug output variable

Этот коммит содержится в:
Ralph Castain 2015-03-05 12:25:49 -08:00
родитель 4c089c9b21
Коммит eaa666bd57

Просмотреть файл

@ -50,6 +50,7 @@
* Global variables * Global variables
*/ */
opal_list_t orte_notifier_base_components_available; opal_list_t orte_notifier_base_components_available;
int orte_notifier_debug_output = -1;
orte_notifier_base_t orte_notifier_base; orte_notifier_base_t orte_notifier_base;
@ -214,6 +215,8 @@ static int orte_notifier_base_close(void)
*/ */
static int orte_notifier_base_open(mca_base_open_flag_t flags) static int orte_notifier_base_open(mca_base_open_flag_t flags)
{ {
int rc;
/* construct the array of modules */ /* construct the array of modules */
OBJ_CONSTRUCT(&orte_notifier_base.modules, opal_list_t); OBJ_CONSTRUCT(&orte_notifier_base.modules, opal_list_t);
@ -230,8 +233,10 @@ static int orte_notifier_base_open(mca_base_open_flag_t flags)
} }
/* Open up all available components */ /* Open up all available components */
return mca_base_framework_components_open(&orte_notifier_base_framework, rc = mca_base_framework_components_open(&orte_notifier_base_framework,
flags); flags);
orte_notifier_debug_output = orte_notifier_base_framework.framework_output;
return rc;
} }
MCA_BASE_FRAMEWORK_DECLARE(orte, notifier, "ORTE Notifier Framework", MCA_BASE_FRAMEWORK_DECLARE(orte, notifier, "ORTE Notifier Framework",