2004-08-17 22:24:17 +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.
|
2004-11-28 20:09:25 +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.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-08-17 22:24:17 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte_config.h"
|
2004-08-17 22:24:17 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "orte/orte_constants.h"
|
|
|
|
#include "opal/mca/mca.h"
|
|
|
|
#include "opal/mca/base/base.h"
|
|
|
|
#include "orte/mca/rml/base/base.h"
|
2004-08-17 22:24:17 +00:00
|
|
|
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
int orte_rml_base_close(void)
|
2004-08-17 22:24:17 +00:00
|
|
|
{
|
2005-03-14 20:57:21 +00:00
|
|
|
/* shutdown any remaining opened components */
|
2005-07-03 16:22:16 +00:00
|
|
|
if (! opal_list_is_empty(&orte_rml_base.rml_components)) {
|
2005-03-14 20:57:21 +00:00
|
|
|
mca_base_components_close(orte_rml_base.rml_output,
|
|
|
|
&orte_rml_base.rml_components, NULL);
|
|
|
|
}
|
|
|
|
OBJ_DESTRUCT(&orte_rml_base.rml_components);
|
2006-02-12 01:33:29 +00:00
|
|
|
return ORTE_SUCCESS;
|
2004-08-17 22:24:17 +00:00
|
|
|
}
|
2005-03-14 20:57:21 +00:00
|
|
|
|