2012-08-16 19:11:35 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
|
|
|
|
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "ompi/constants.h"
|
2015-03-05 20:50:44 -07:00
|
|
|
#include "ompi/mca/mca.h"
|
2012-08-16 19:11:35 +00:00
|
|
|
#include "opal/mca/base/base.h"
|
|
|
|
#include "ompi/mca/sbgp/sbgp.h"
|
|
|
|
#include "ompi/mca/sbgp/base/base.h"
|
|
|
|
#include "ompi/include/ompi/constants.h"
|
|
|
|
|
|
|
|
|
|
|
|
int mca_sbgp_base_close(void)
|
|
|
|
{
|
|
|
|
|
|
|
|
/* Close all remaining available modules */
|
|
|
|
|
2013-03-27 21:17:31 +00:00
|
|
|
mca_base_components_close(ompi_sbgp_base_framework.framework_output,
|
2012-08-16 19:11:35 +00:00
|
|
|
&mca_sbgp_base_components_opened, NULL);
|
|
|
|
|
2012-11-06 19:09:26 +00:00
|
|
|
/* Close the framework output */
|
2013-03-27 21:17:31 +00:00
|
|
|
opal_output_close (ompi_sbgp_base_framework.framework_output);
|
|
|
|
ompi_sbgp_base_framework.framework_output = -1;
|
2012-11-06 19:09:26 +00:00
|
|
|
|
2012-08-16 19:11:35 +00:00
|
|
|
/* All done */
|
|
|
|
|
|
|
|
return OMPI_SUCCESS;
|
|
|
|
}
|
|
|
|
|