2007-07-20 01:34:02 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2007 Los Alamos National Security, LLC.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
2008-02-28 01:57:57 +00:00
|
|
|
#include "orte/constants.h"
|
2007-07-20 01:34:02 +00:00
|
|
|
|
2008-03-05 22:44:35 +00:00
|
|
|
|
2008-05-05 02:59:09 +00:00
|
|
|
#include "routed_direct.h"
|
2007-07-20 01:34:02 +00:00
|
|
|
|
2008-05-05 02:59:09 +00:00
|
|
|
static orte_routed_module_t* routed_direct_init(int* priority);
|
2008-02-28 01:57:57 +00:00
|
|
|
|
2007-07-20 01:34:02 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* component definition
|
|
|
|
*/
|
2008-05-05 02:59:09 +00:00
|
|
|
orte_routed_component_t mca_routed_direct_component = {
|
2007-07-20 01:34:02 +00:00
|
|
|
/* First, the mca_base_component_t struct containing meta
|
|
|
|
information about the component itself */
|
|
|
|
|
|
|
|
{
|
|
|
|
/* Indicate that we are a rml v1.0.0 component (which also
|
|
|
|
implies a specific MCA version) */
|
|
|
|
|
|
|
|
ORTE_ROUTED_BASE_VERSION_1_0_0,
|
|
|
|
|
2008-05-05 02:59:09 +00:00
|
|
|
"direct", /* MCA component name */
|
2007-07-20 01:34:02 +00:00
|
|
|
ORTE_MAJOR_VERSION, /* MCA component major version */
|
|
|
|
ORTE_MINOR_VERSION, /* MCA component minor version */
|
|
|
|
ORTE_RELEASE_VERSION, /* MCA component release version */
|
|
|
|
NULL,
|
|
|
|
NULL
|
|
|
|
},
|
|
|
|
|
|
|
|
/* Next the MCA v1.0.0 component meta data */
|
|
|
|
{
|
2007-07-23 20:20:28 +00:00
|
|
|
/* This component can be checkpointed */
|
|
|
|
MCA_BASE_METADATA_PARAM_CHECKPOINT
|
2007-07-20 01:34:02 +00:00
|
|
|
},
|
2008-05-05 02:59:09 +00:00
|
|
|
routed_direct_init
|
2007-07-20 01:34:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static orte_routed_module_t*
|
2008-05-05 02:59:09 +00:00
|
|
|
routed_direct_init(int* priority)
|
2007-07-20 01:34:02 +00:00
|
|
|
{
|
|
|
|
*priority = 10;
|
|
|
|
|
2008-05-05 02:59:09 +00:00
|
|
|
return &orte_routed_direct_module;
|
2007-07-20 01:34:02 +00:00
|
|
|
}
|