2009-09-22 00:58:29 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
#include "orte/constants.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "opal/mca/mca.h"
|
|
|
|
#include "opal/mca/base/base.h"
|
|
|
|
|
|
|
|
#include "orte/mca/rmcast/base/base.h"
|
2009-10-14 17:43:40 +00:00
|
|
|
#include "orte/mca/rmcast/base/private.h"
|
2009-09-22 00:58:29 +00:00
|
|
|
|
|
|
|
int orte_rmcast_base_close(void)
|
|
|
|
{
|
|
|
|
/* finalize the active module */
|
|
|
|
if (NULL != orte_rmcast.finalize) {
|
|
|
|
orte_rmcast.finalize();
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Close all remaining available components (may be one if this is a
|
|
|
|
Open RTE program, or [possibly] multiple if this is ompi_info) */
|
|
|
|
|
|
|
|
mca_base_components_close(orte_rmcast_base.rmcast_output,
|
|
|
|
&orte_rmcast_base.rmcast_opened, NULL);
|
|
|
|
|
|
|
|
return ORTE_SUCCESS;
|
|
|
|
}
|