2015-01-26 07:16:45 +03:00
|
|
|
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
|
|
|
/*
|
2015-01-27 05:15:57 +03:00
|
|
|
* Copyright (c) 2015 Intel, Inc. All rights reserved.
|
2015-04-18 04:00:31 +03:00
|
|
|
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
|
|
|
|
* reserved.
|
2015-01-26 07:16:45 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
#include "orte/types.h"
|
|
|
|
#include "opal/types.h"
|
|
|
|
|
|
|
|
#include "opal/util/show_help.h"
|
|
|
|
|
2015-01-27 05:15:57 +03:00
|
|
|
#include "orte/mca/schizo/schizo.h"
|
|
|
|
#include "schizo_ompi.h"
|
2015-01-26 07:16:45 +03:00
|
|
|
|
2015-01-27 05:15:57 +03:00
|
|
|
static int component_query(mca_base_module_t **module, int *priority);
|
2015-01-26 07:16:45 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Struct of function pointers and all that to let us be initialized
|
|
|
|
*/
|
2015-01-27 05:15:57 +03:00
|
|
|
orte_schizo_base_component_t mca_schizo_ompi_component = {
|
2015-04-18 04:00:31 +03:00
|
|
|
.base_version = {
|
2015-01-27 05:15:57 +03:00
|
|
|
MCA_SCHIZO_BASE_VERSION_1_0_0,
|
2015-04-18 04:00:31 +03:00
|
|
|
.mca_component_name = "ompi",
|
|
|
|
MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
|
|
|
|
ORTE_RELEASE_VERSION),
|
|
|
|
.mca_query_component = component_query,
|
2015-01-26 07:16:45 +03:00
|
|
|
},
|
2015-04-18 04:00:31 +03:00
|
|
|
.base_data = {
|
2015-01-27 05:15:57 +03:00
|
|
|
/* The component is checkpoint ready */
|
|
|
|
MCA_BASE_METADATA_PARAM_CHECKPOINT
|
2015-04-18 04:00:31 +03:00
|
|
|
},
|
2015-01-27 05:15:57 +03:00
|
|
|
};
|
2015-01-26 07:16:45 +03:00
|
|
|
|
2015-01-27 05:15:57 +03:00
|
|
|
static int component_query(mca_base_module_t **module, int *priority)
|
2015-01-26 07:16:45 +03:00
|
|
|
{
|
2015-01-27 05:15:57 +03:00
|
|
|
*module = (mca_base_module_t*)&orte_schizo_ompi_module;
|
|
|
|
*priority = 1;
|
2015-01-26 07:16:45 +03:00
|
|
|
return ORTE_SUCCESS;
|
|
|
|
}
|
|
|
|
|