b68d66bb9b
This commit adds support for project_framework_component_* parameter matching. This is the first step in allowing the same framework name in multiple projects. This change also bumps the MCA component version to 2.1.0. All master frameworks have been updated to use the new component versioning macro. An mca.h has been added to each project to add a project specific versioning macro of the form PROJECT_MCA_VERSION_2_1_0. Signed-off-by: Nathan Hjelm <hjelmn@me.com>
41 строка
906 B
C
41 строка
906 B
C
/*
|
|
* 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"
|
|
#include "ompi/mca/mca.h"
|
|
#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 */
|
|
|
|
mca_base_components_close(ompi_sbgp_base_framework.framework_output,
|
|
&mca_sbgp_base_components_opened, NULL);
|
|
|
|
/* Close the framework output */
|
|
opal_output_close (ompi_sbgp_base_framework.framework_output);
|
|
ompi_sbgp_base_framework.framework_output = -1;
|
|
|
|
/* All done */
|
|
|
|
return OMPI_SUCCESS;
|
|
}
|
|
|