2005-01-21 17:49:14 +00:00
|
|
|
/*
|
2008-05-06 18:08:45 +00:00
|
|
|
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
|
2005-11-05 19:57:48 +00:00
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-01-21 17:49:14 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2005-01-21 17:49:14 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
#include "orte_config.h"
|
2008-02-28 01:57:57 +00:00
|
|
|
#include "orte/constants.h"
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2005-09-19 15:29:14 +00:00
|
|
|
#include "opal/util/trace.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "opal/mca/mca.h"
|
|
|
|
#include "opal/mca/base/base.h"
|
2006-09-14 21:29:51 +00:00
|
|
|
|
|
|
|
#include "orte/mca/errmgr/errmgr.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte/mca/errmgr/base/base.h"
|
2008-02-28 01:57:57 +00:00
|
|
|
#include "orte/mca/errmgr/base/errmgr_private.h"
|
2005-01-21 17:49:14 +00:00
|
|
|
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
int orte_errmgr_base_close(void)
|
2005-01-21 17:49:14 +00:00
|
|
|
{
|
2005-09-19 15:29:14 +00:00
|
|
|
OPAL_TRACE(5);
|
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
/* Close all remaining available components (may be one if this is a
|
|
|
|
OMPI RTE program, or [possibly] multiple if this is ompi_info) */
|
|
|
|
|
|
|
|
mca_base_components_close(orte_errmgr_base_output,
|
|
|
|
&orte_errmgr_base_components_available, NULL);
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
orte_errmgr_initialized = false;
|
2006-09-14 21:29:51 +00:00
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
/* All done */
|
2006-09-14 21:29:51 +00:00
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
return ORTE_SUCCESS;
|
2005-01-21 17:49:14 +00:00
|
|
|
}
|