2005-05-01 00:47:35 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* 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-05-01 00:47:35 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte/orte_constants.h"
|
2005-05-01 00:47:35 +00:00
|
|
|
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte/mca/schema/base/base.h"
|
2005-05-01 00:47:35 +00:00
|
|
|
|
|
|
|
|
2005-05-01 00:53:00 +00:00
|
|
|
int orte_schema_base_close(void)
|
2005-05-01 00:47:35 +00:00
|
|
|
{
|
2005-05-01 00:53:00 +00:00
|
|
|
/* If we have a selected component and module, then finalize it */
|
2005-05-01 00:47:35 +00:00
|
|
|
|
2005-05-01 00:53:00 +00:00
|
|
|
if (orte_schema_base_selected) {
|
|
|
|
orte_schema_base_selected_component.schema_finalize();
|
|
|
|
}
|
2005-05-01 00:47:35 +00:00
|
|
|
|
2005-05-01 00:53:00 +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) */
|
2005-05-01 00:47:35 +00:00
|
|
|
|
2005-05-01 00:53:00 +00:00
|
|
|
mca_base_components_close(orte_schema_base_output,
|
|
|
|
&orte_schema_base_components_available, NULL);
|
2005-05-01 00:47:35 +00:00
|
|
|
|
2005-05-01 00:53:00 +00:00
|
|
|
orte_schema_initialized = false;
|
|
|
|
|
2005-05-01 00:47:35 +00:00
|
|
|
/* All done */
|
|
|
|
|
|
|
|
return ORTE_SUCCESS;
|
|
|
|
}
|