1
1

orte: use C99 subobject naming for component initialization

This commit helps future-proof orte components by initializing each
component member by name.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
Этот коммит содержится в:
Nathan Hjelm 2015-04-17 19:00:31 -06:00
родитель 33181b2543
Коммит 45e053dbce
74 изменённых файлов: 967 добавлений и 954 удалений

Просмотреть файл

@ -1,5 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -39,20 +41,19 @@ orte_dfs_base_component_t mca_dfs_app_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_DFS_BASE_VERSION_1_0_0, ORTE_DFS_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"app", .mca_component_name = "app",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
dfs_app_open, .mca_open_component = dfs_app_open,
dfs_app_close, .mca_close_component = dfs_app_close,
dfs_app_component_query .mca_query_component = dfs_app_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -43,24 +44,23 @@ orte_dfs_base_component_t mca_dfs_orted_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component itdefault_orted * meta information about the component itdefault_orted
*/ */
{ .base_version = {
ORTE_DFS_BASE_VERSION_1_0_0, ORTE_DFS_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"orted", .mca_component_name = "orted",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
dfs_orted_open, .mca_open_component = dfs_orted_open,
dfs_orted_close, .mca_close_component = dfs_orted_close,
dfs_orted_component_query, .mca_query_component = dfs_orted_component_query,
dfs_orted_register .mca_register_component_params = dfs_orted_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int dfs_orted_register(void) static int dfs_orted_register(void)

Просмотреть файл

@ -1,5 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -40,21 +42,20 @@ orte_dfs_base_component_t mca_dfs_test_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_DFS_BASE_VERSION_1_0_0, ORTE_DFS_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"test", .mca_component_name = "test",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
dfs_test_open, .mca_open_component = dfs_test_open,
dfs_test_close, .mca_close_component = dfs_test_close,
dfs_test_component_query, .mca_query_component = dfs_test_component_query,
dfs_test_register .mca_register_component_params = dfs_test_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,21 +41,20 @@ orte_errmgr_base_component_t mca_errmgr_default_app_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_ERRMGR_BASE_VERSION_3_0_0, ORTE_ERRMGR_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"default_app", .mca_component_name = "default_app",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
errmgr_default_app_open, .mca_open_component = errmgr_default_app_open,
errmgr_default_app_close, .mca_close_component = errmgr_default_app_close,
errmgr_default_app_component_query, .mca_query_component = errmgr_default_app_component_query,
errmgr_default_app_register .mca_register_component_params = errmgr_default_app_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,21 +41,20 @@ orte_errmgr_base_component_t mca_errmgr_default_hnp_component = {
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component default_hnp * meta information about the component default_hnp
*/ */
{ .base_version = {
ORTE_ERRMGR_BASE_VERSION_3_0_0, ORTE_ERRMGR_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"default_hnp", .mca_component_name = "default_hnp",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
default_hnp_open, .mca_open_component = default_hnp_open,
default_hnp_close, .mca_close_component = default_hnp_close,
default_hnp_component_query, .mca_query_component = default_hnp_component_query,
default_hnp_register .mca_register_component_params = default_hnp_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,24 +41,23 @@ orte_errmgr_base_component_t mca_errmgr_default_orted_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component itdefault_orted * meta information about the component itdefault_orted
*/ */
{ .base_version = {
ORTE_ERRMGR_BASE_VERSION_3_0_0, ORTE_ERRMGR_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"default_orted", .mca_component_name = "default_orted",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
errmgr_default_orted_open, .mca_open_component = errmgr_default_orted_open,
errmgr_default_orted_close, .mca_close_component = errmgr_default_orted_close,
errmgr_default_orted_component_query, .mca_query_component = errmgr_default_orted_component_query,
errmgr_default_orted_register .mca_register_component_params = errmgr_default_orted_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int my_priority; static int my_priority;

Просмотреть файл

@ -38,21 +38,20 @@ orte_errmgr_base_component_t mca_errmgr_default_tool_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_ERRMGR_BASE_VERSION_3_0_0, ORTE_ERRMGR_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"default_tool", .mca_component_name = "default_tool",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
errmgr_default_tool_open, .mca_open_component = errmgr_default_tool_open,
errmgr_default_tool_close, .mca_close_component = errmgr_default_tool_close,
errmgr_default_tool_component_query, .mca_query_component = errmgr_default_tool_component_query,
errmgr_default_tool_register .mca_register_component_params = errmgr_default_tool_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2011-2012 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -43,24 +44,23 @@
orte_ess_base_component_t mca_ess_alps_component = { orte_ess_base_component_t mca_ess_alps_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"alps", .mca_component_name = "alps",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_alps_component_open, .mca_open_component = orte_ess_alps_component_open,
orte_ess_alps_component_close, .mca_close_component = orte_ess_alps_component_close,
orte_ess_alps_component_query .mca_query_component = orte_ess_alps_component_query,
}, },
{ .base_data = {
/* The component is not checkpoint ready */ /* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE MCA_BASE_METADATA_PARAM_NONE
} },
}; };
int int

22
orte/mca/ess/env/ess_env_component.c поставляемый
Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -37,24 +40,23 @@ extern orte_ess_base_module_t orte_ess_env_module;
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_env_component = { orte_ess_base_component_t mca_ess_env_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"env", .mca_component_name = "env",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_env_component_open, .mca_open_component = orte_ess_env_component_open,
orte_ess_env_component_close, .mca_close_component = orte_ess_env_component_close,
orte_ess_env_component_query .mca_query_component = orte_ess_env_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -37,24 +40,23 @@ extern orte_ess_base_module_t orte_ess_hnp_module;
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_hnp_component = { orte_ess_base_component_t mca_ess_hnp_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"hnp", .mca_component_name = "hnp",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_hnp_component_open, .mca_open_component = orte_ess_hnp_component_open,
orte_ess_hnp_component_close, .mca_close_component = orte_ess_hnp_component_close,
orte_ess_hnp_component_query .mca_query_component = orte_ess_hnp_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -34,24 +37,23 @@ extern orte_ess_base_module_t orte_ess_lsf_module;
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_lsf_component = { orte_ess_base_component_t mca_ess_lsf_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"lsf", .mca_component_name = "lsf",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_lsf_component_open, .mca_open_component = orte_ess_lsf_component_open,
orte_ess_lsf_component_close, .mca_close_component = orte_ess_lsf_component_close,
orte_ess_lsf_component_query .mca_query_component = orte_ess_lsf_component_query,
}, },
{ .base_data = {
/* The component is not checkpoint ready */ /* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE MCA_BASE_METADATA_PARAM_NONE
} },
}; };

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. All * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All
* rights reserved. * rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
@ -40,24 +41,23 @@ static int pmi_component_query(mca_base_module_t **module, int *priority);
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_pmi_component = { orte_ess_base_component_t mca_ess_pmi_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"pmi", .mca_component_name = "pmi",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
pmi_component_open, .mca_open_component = pmi_component_open,
pmi_component_close, .mca_close_component = pmi_component_close,
pmi_component_query .mca_query_component = pmi_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int pmi_component_open(void) static int pmi_component_open(void)

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -48,25 +51,24 @@ orte_ess_singleton_component_register(void);
orte_ess_base_component_t mca_ess_singleton_component = { orte_ess_base_component_t mca_ess_singleton_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"singleton", .mca_component_name = "singleton",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_singleton_component_open, .mca_open_component = orte_ess_singleton_component_open,
orte_ess_singleton_component_close, .mca_close_component = orte_ess_singleton_component_close,
orte_ess_singleton_component_query, .mca_query_component = orte_ess_singleton_component_query,
orte_ess_singleton_component_register .mca_register_component_params = orte_ess_singleton_component_register,
}, },
{ .base_data = {
/* The component is not checkpoint ready */ /* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE MCA_BASE_METADATA_PARAM_NONE
} },
}; };
static int static int

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -37,24 +40,23 @@ extern orte_ess_base_module_t orte_ess_slurm_module;
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_slurm_component = { orte_ess_base_component_t mca_ess_slurm_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"slurm", .mca_component_name = "slurm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_slurm_component_open, .mca_open_component = orte_ess_slurm_component_open,
orte_ess_slurm_component_close, .mca_close_component = orte_ess_slurm_component_close,
orte_ess_slurm_component_query .mca_query_component = orte_ess_slurm_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -37,24 +40,23 @@ extern orte_ess_base_module_t orte_ess_tm_module;
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_tm_component = { orte_ess_base_component_t mca_ess_tm_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"tm", .mca_component_name = "tm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_tm_component_open, .mca_open_component = orte_ess_tm_component_open,
orte_ess_tm_component_close, .mca_close_component = orte_ess_tm_component_close,
orte_ess_tm_component_query .mca_query_component = orte_ess_tm_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -37,24 +40,23 @@ extern orte_ess_base_module_t orte_ess_tool_module;
* and pointers to our public functions in it * and pointers to our public functions in it
*/ */
orte_ess_base_component_t mca_ess_tool_component = { orte_ess_base_component_t mca_ess_tool_component = {
{ .base_version = {
ORTE_ESS_BASE_VERSION_3_0_0, ORTE_ESS_BASE_VERSION_3_0_0,
/* Component name and version */ /* Component name and version */
"tool", .mca_component_name = "tool",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ess_tool_component_open, .mca_open_component = orte_ess_tool_component_open,
orte_ess_tool_component_close, .mca_close_component = orte_ess_tool_component_close,
orte_ess_tool_component_query .mca_query_component = orte_ess_tool_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved * reserved
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -35,21 +36,20 @@ static int filem_raw_query(mca_base_module_t **module, int *priority);
bool orte_filem_raw_flatten_trees=false; bool orte_filem_raw_flatten_trees=false;
orte_filem_base_component_t mca_filem_raw_component = { orte_filem_base_component_t mca_filem_raw_component = {
{ .base_version = {
ORTE_FILEM_BASE_VERSION_2_0_0, ORTE_FILEM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"raw", .mca_component_name = "raw",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
filem_raw_open, .mca_open_component = filem_raw_open,
filem_raw_close, .mca_close_component = filem_raw_close,
filem_raw_query, .mca_query_component = filem_raw_query,
filem_raw_register .mca_register_component_params = filem_raw_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,8 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. All * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* rights reserved. * reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -31,22 +31,21 @@ static int brks_register(void);
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
orte_grpcomm_base_component_t mca_grpcomm_brks_component = { orte_grpcomm_base_component_t mca_grpcomm_brks_component = {
{ .base_version = {
ORTE_GRPCOMM_BASE_VERSION_3_0_0, ORTE_GRPCOMM_BASE_VERSION_3_0_0,
"brks", /* MCA module name */ .mca_component_name = "brks",
ORTE_MAJOR_VERSION, /* MCA module major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA module minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA module release version */ .mca_open_component = brks_open,
brks_open, /* component open */ .mca_close_component = brks_close,
brks_close, /* component close */ .mca_query_component = brks_query,
brks_query, /* component query */ .mca_register_component_params = brks_register,
brks_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int brks_register(void) static int brks_register(void)

Просмотреть файл

@ -1,8 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. All * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* rights reserved. * reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -31,22 +31,21 @@ static int direct_register(void);
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
orte_grpcomm_base_component_t mca_grpcomm_direct_component = { orte_grpcomm_base_component_t mca_grpcomm_direct_component = {
{ .base_version = {
ORTE_GRPCOMM_BASE_VERSION_3_0_0, ORTE_GRPCOMM_BASE_VERSION_3_0_0,
"direct", /* MCA module name */ .mca_component_name = "direct",
ORTE_MAJOR_VERSION, /* MCA module major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA module minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA module release version */ .mca_open_component = direct_open,
direct_open, /* component open */ .mca_close_component = direct_close,
direct_close, /* component close */ .mca_query_component = direct_query,
direct_query, /* component query */ .mca_register_component_params = direct_register,
direct_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int direct_register(void) static int direct_register(void)

Просмотреть файл

@ -1,8 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. All * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* rights reserved. * reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -31,22 +31,21 @@ static int rcd_register(void);
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
orte_grpcomm_base_component_t mca_grpcomm_rcd_component = { orte_grpcomm_base_component_t mca_grpcomm_rcd_component = {
{ .base_version = {
ORTE_GRPCOMM_BASE_VERSION_3_0_0, ORTE_GRPCOMM_BASE_VERSION_3_0_0,
"rcd", /* MCA module name */ .mca_component_name = "rcd",
ORTE_MAJOR_VERSION, /* MCA module major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA module minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA module release version */ .mca_open_component = rcd_open,
rcd_open, /* component open */ .mca_close_component = rcd_close,
rcd_close, /* component close */ .mca_query_component = rcd_query,
rcd_query, /* component query */ .mca_register_component_params = rcd_register,
rcd_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int rcd_register(void) static int rcd_register(void)

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -46,24 +49,22 @@ orte_iof_hnp_component_t mca_iof_hnp_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .iof_version = {
ORTE_IOF_BASE_VERSION_2_0_0, ORTE_IOF_BASE_VERSION_2_0_0,
"hnp", /* MCA component name */ .mca_component_name = "hnp",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */
/* Component open, close, and query functions */ /* Component open, close, and query functions */
orte_iof_hnp_open, .mca_open_component = orte_iof_hnp_open,
orte_iof_hnp_close, .mca_close_component = orte_iof_hnp_close,
orte_iof_hnp_query .mca_query_component = orte_iof_hnp_query,
}, },
{ .iof_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
} }
}; };

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -35,26 +36,24 @@ const char *mca_iof_mr_hnp_component_version_string =
orte_iof_mrhnp_component_t mca_iof_mr_hnp_component = { orte_iof_mrhnp_component_t mca_iof_mr_hnp_component = {
{ {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .iof_version = {
ORTE_IOF_BASE_VERSION_2_0_0, ORTE_IOF_BASE_VERSION_2_0_0,
"mr_hnp", /* MCA component name */ .mca_component_name = "mr_hnp",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */
/* Component open, close, and query functions */ /* Component open, close, and query functions */
mrhnp_open, .mca_open_component = mrhnp_open,
mrhnp_close, .mca_close_component = mrhnp_close,
mrhnp_query .mca_query_component = mrhnp_query,
}, },
{ .iof_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
} }
}; };

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -34,23 +35,22 @@ const char *mca_iof_mr_orted_component_version_string =
orte_iof_mrorted_component_t mca_iof_mr_orted_component = { orte_iof_mrorted_component_t mca_iof_mr_orted_component = {
{ {
{ .iof_version = {
ORTE_IOF_BASE_VERSION_2_0_0, ORTE_IOF_BASE_VERSION_2_0_0,
"mr_orted", /* MCA component name */ .mca_component_name = "mr_orted",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */
/* Component open, close, and query functions */ /* Component open, close, and query functions */
mr_orted_open, .mca_open_component = mr_orted_open,
mr_orted_close, .mca_close_component = mr_orted_close,
mr_orted_query .mca_query_component = mr_orted_query,
}, },
{ .iof_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -42,23 +45,22 @@ const char *mca_iof_orted_component_version_string =
orte_iof_orted_component_t mca_iof_orted_component = { orte_iof_orted_component_t mca_iof_orted_component = {
{ {
{ .iof_version = {
ORTE_IOF_BASE_VERSION_2_0_0, ORTE_IOF_BASE_VERSION_2_0_0,
"orted", /* MCA component name */ .mca_component_name = "orted",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */
/* Component open, close, and query functions */ /* Component open, close, and query functions */
orte_iof_orted_open, .mca_open_component = orte_iof_orted_open,
orte_iof_orted_close, .mca_close_component = orte_iof_orted_close,
orte_iof_orted_query .mca_query_component = orte_iof_orted_query,
}, },
{ .iof_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -46,23 +49,22 @@ const char *mca_iof_tool_component_version_string =
orte_iof_tool_component_t mca_iof_tool_component = { orte_iof_tool_component_t mca_iof_tool_component = {
{ {
{ .iof_version = {
ORTE_IOF_BASE_VERSION_2_0_0, ORTE_IOF_BASE_VERSION_2_0_0,
"tool", /* MCA component name */ .mca_component_name = "tool",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */
/* Component open, close, and query functions */ /* Component open, close, and query functions */
orte_iof_tool_open, .mca_open_component = orte_iof_tool_open,
orte_iof_tool_close, .mca_close_component = orte_iof_tool_close,
orte_iof_tool_query .mca_query_component = orte_iof_tool_query,
}, },
{ .iof_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,5 +1,5 @@
/* -*- C -*- /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
* Corporation. All rights reserved. * Corporation. All rights reserved.
@ -12,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -41,24 +43,21 @@ static int smtp_register(void);
*/ */
orte_notifier_smtp_component_t mca_notifier_smtp_component = { orte_notifier_smtp_component_t mca_notifier_smtp_component = {
{ {
{ .base_version = {
ORTE_NOTIFIER_BASE_VERSION_1_0_0, ORTE_NOTIFIER_BASE_VERSION_1_0_0,
"smtp", .mca_component_name = "smtp",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_close_component = smtp_close,
.mca_query_component = smtp_component_query,
NULL, .mca_register_component_params = smtp_register,
smtp_close,
smtp_component_query,
smtp_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}, },
}; };

Просмотреть файл

@ -1,5 +1,5 @@
/* -*- C -*- /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
* Corporation. All rights reserved. * Corporation. All rights reserved.
@ -12,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -35,21 +37,18 @@ static int orte_notifier_syslog_component_query(mca_base_module_t **module,
* Struct of function pointers that need to be initialized * Struct of function pointers that need to be initialized
*/ */
orte_notifier_base_component_t mca_notifier_syslog_component = { orte_notifier_base_component_t mca_notifier_syslog_component = {
{ .base_version = {
ORTE_NOTIFIER_BASE_VERSION_1_0_0, ORTE_NOTIFIER_BASE_VERSION_1_0_0,
"syslog", /* MCA module name */ .mca_component_name = "syslog",
ORTE_MAJOR_VERSION, /* MCA module major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA module minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA module release version */ .mca_query_component = orte_notifier_syslog_component_query,
NULL,
NULL,
orte_notifier_syslog_component_query /* module query */
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int orte_notifier_syslog_component_query(mca_base_module_t **module, static int orte_notifier_syslog_component_query(mca_base_module_t **module,

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2014 Los Alamos National Security, LLC. All rights * Copyright (c) 2014-2015 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -50,23 +51,22 @@
orte_odls_base_component_t mca_odls_alps_component = { orte_odls_base_component_t mca_odls_alps_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .version = {
ORTE_ODLS_BASE_VERSION_2_0_0, ORTE_ODLS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"alps", .mca_component_name = "alps",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_odls_alps_component_open, .mca_open_component = orte_odls_alps_component_open,
orte_odls_alps_component_close, .mca_close_component = orte_odls_alps_component_close,
orte_odls_alps_component_query, .mca_query_component = orte_odls_alps_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -46,23 +49,22 @@
orte_odls_base_component_t mca_odls_default_component = { orte_odls_base_component_t mca_odls_default_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .version = {
ORTE_ODLS_BASE_VERSION_2_0_0, ORTE_ODLS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"default", .mca_component_name = "default",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_odls_default_component_open, .mca_open_component = orte_odls_default_component_open,
orte_odls_default_component_close, .mca_close_component = orte_odls_default_component_close,
orte_odls_default_component_query, .mca_query_component = orte_odls_default_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -10,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2006-2014 Los Alamos National Security, LLC. * Copyright (c) 2006-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
@ -90,33 +90,28 @@ static int component_ft_event(int state);
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
mca_oob_base_component_t mca_oob_alps_component = { mca_oob_base_component_t mca_oob_alps_component = {
{ .oob_base = {
MCA_OOB_BASE_VERSION_2_0_0, MCA_OOB_BASE_VERSION_2_0_0,
"alps", /* MCA module name */ .mca_component_name = "alps",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_open_component = alps_component_open,
alps_component_open, /* component open */ .mca_close_component = alps_component_close,
alps_component_close, /* component close */ },
NULL, /* component query */ .oob_data = {
alps_component_register, /* component register */ /* The component is checkpoint ready */
}, MCA_BASE_METADATA_PARAM_CHECKPOINT
{ },
/* The component is checkpoint ready */ .priority = 30, // default priority of this transport
MCA_BASE_METADATA_PARAM_CHECKPOINT .available = component_available,
}, .startup = component_startup,
0, // reserve space for an assigned index .shutdown = component_shutdown,
30, // default priority of this transport .send_nb = component_send,
component_available, .get_addr = component_get_addr,
component_startup, .set_addr = component_set_addr,
component_shutdown, .is_reachable = component_is_reachable,
component_send,
component_get_addr,
component_set_addr,
component_is_reachable
#if OPAL_ENABLE_FT_CR == 1 #if OPAL_ENABLE_FT_CR == 1
, .ft_event = component_ft_event,
component_ft_event
#endif #endif
}; };
@ -133,11 +128,6 @@ static int alps_component_close(void)
return ORTE_SUCCESS; return ORTE_SUCCESS;
} }
static int alps_component_register(void)
{
return ORTE_SUCCESS;
}
static bool component_available(void) static bool component_available(void)
{ {
int rc; int rc;

Просмотреть файл

@ -10,8 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2006-2014 Los Alamos National Security, LLC. * Copyright (c) 2006-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved. * Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
@ -100,33 +100,29 @@ static int component_ft_event(int state);
*/ */
mca_oob_tcp_component_t mca_oob_tcp_component = { mca_oob_tcp_component_t mca_oob_tcp_component = {
{ {
{ .oob_base = {
MCA_OOB_BASE_VERSION_2_0_0, MCA_OOB_BASE_VERSION_2_0_0,
"tcp", /* MCA module name */ .mca_component_name = "tcp",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_open_component = tcp_component_open,
tcp_component_open, /* component open */ .mca_close_component = tcp_component_close,
tcp_component_close, /* component close */ .mca_register_component_params = tcp_component_register,
NULL, /* component query */
tcp_component_register, /* component register */
}, },
{ .oob_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
0, // reserve space for an assigned index .priority = 30, // default priority of this transport
30, // default priority of this transport .available = component_available,
component_available, .startup = component_startup,
component_startup, .shutdown = component_shutdown,
component_shutdown, .send_nb = component_send,
component_send, .get_addr = component_get_addr,
component_get_addr, .set_addr = component_set_addr,
component_set_addr, .is_reachable = component_is_reachable,
component_is_reachable
#if OPAL_ENABLE_FT_CR == 1 #if OPAL_ENABLE_FT_CR == 1
, .ft_event = component_ft_event,
component_ft_event
#endif #endif
}, },
}; };

Просмотреть файл

@ -59,32 +59,29 @@ static void mca_oob_ud_device_destruct (mca_oob_ud_device_t *device);
*/ */
mca_oob_ud_component_t mca_oob_ud_component = { mca_oob_ud_component_t mca_oob_ud_component = {
{ {
{ .oob_base = {
MCA_OOB_BASE_VERSION_2_0_0, MCA_OOB_BASE_VERSION_2_0_0,
"ud", /* MCA module name */ .mca_component_name = "ud",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_open_component = mca_oob_ud_component_open,
mca_oob_ud_component_open, /* component open */ .mca_close_component = mca_oob_ud_component_close,
mca_oob_ud_component_close, /* component close */ .mca_register_component_params = mca_oob_ud_component_register,
NULL, /* component query */
mca_oob_ud_component_register, /* component register */
}, },
{ .oob_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
0, // reserve space for an assigned index .priority = 0, //set the priority so that we will select this component only if someone directs to do so
0, //set the priority so that we will select this component only if someone directs to do so .available = mca_oob_ud_component_available, //available
mca_oob_ud_component_available, //available .startup = mca_oob_ud_component_startup, //startup
mca_oob_ud_component_startup, //startup .shutdown = mca_oob_ud_component_shutdown, //shutdown
mca_oob_ud_component_shutdown, //shutdown .send_nb = mca_oob_ud_component_send_nb, //send_nb
mca_oob_ud_component_send_nb, //send_nb .get_addr = mca_oob_ud_component_get_addr,
mca_oob_ud_component_get_addr, .set_addr = mca_oob_ud_component_set_addr,
mca_oob_ud_component_set_addr, .is_reachable = mca_oob_ud_component_is_reachable, //is_reachable
mca_oob_ud_component_is_reachable, //is_reachable
#if OPAL_ENABLE_FT_CR == 1 #if OPAL_ENABLE_FT_CR == 1
mca_oob_ud_component_ft_event, .ft_event = mca_oob_ud_component_ft_event,
#endif // OPAL_ENABLE_FT_CR #endif // OPAL_ENABLE_FT_CR
}, },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2006-2013 Los Alamos National Security, LLC. * Copyright (c) 2006-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2009-2013 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009-2013 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
@ -96,30 +97,27 @@ static bool component_is_reachable(orte_process_name_t *peer);
*/ */
mca_oob_usock_component_t mca_oob_usock_component = { mca_oob_usock_component_t mca_oob_usock_component = {
{ {
{ .oob_base = {
MCA_OOB_BASE_VERSION_2_0_0, MCA_OOB_BASE_VERSION_2_0_0,
"usock", /* MCA module name */ .mca_component_name = "usock",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_open_component = usock_component_open,
usock_component_open, /* component open */ .mca_close_component = usock_component_close,
usock_component_close, /* component close */ .mca_register_component_params = usock_component_register,
NULL, /* component query */
usock_component_register, /* component register */
}, },
{ .oob_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
0, // reserve space for an assigned index .priority = 100,
100, // default priority of this transport .available = component_available,
component_available, .startup = component_startup,
component_startup, .shutdown = component_shutdown,
component_shutdown, .send_nb = component_send,
component_send, .get_addr = component_get_addr,
component_get_addr, .set_addr = component_set_addr,
component_set_addr, .is_reachable = component_is_reachable,
component_is_reachable
}, },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -62,25 +65,24 @@ orte_plm_alps_component_t mca_plm_alps_component = {
/* First, the mca_component_t struct containing meta /* First, the mca_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_PLM_BASE_VERSION_2_0_0, ORTE_PLM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"alps", .mca_component_name = "alps",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
plm_alps_open, .mca_open_component = plm_alps_open,
plm_alps_close, .mca_close_component = plm_alps_close,
orte_plm_alps_component_query, .mca_query_component = orte_plm_alps_component_query,
plm_alps_register .mca_register_component_params = plm_alps_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
/* Other orte_plm_alps_component_t items -- left uninitialized /* Other orte_plm_alps_component_t items -- left uninitialized

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007-2011 Los Alamos National Security, LLC. All rights * Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2010 Oracle and/or its affiliates. All rights * Copyright (c) 2010 Oracle and/or its affiliates. All rights
@ -61,25 +62,23 @@ static int isolated_component_close(void);
*/ */
orte_plm_base_component_t mca_plm_isolated_component = { orte_plm_base_component_t mca_plm_isolated_component = {
{ .base_version = {
ORTE_PLM_BASE_VERSION_2_0_0, ORTE_PLM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"isolated", .mca_component_name = "isolated",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
isolated_component_open, .mca_open_component = isolated_component_open,
isolated_component_close, .mca_close_component = isolated_component_close,
isolated_component_query, .mca_query_component = isolated_component_query,
NULL
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int isolated_component_open(void) static int isolated_component_open(void)

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -12,6 +13,8 @@
* Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008 Institut National de Recherche en Informatique * Copyright (c) 2008 Institut National de Recherche en Informatique
* et Automatique. All rights reserved. * et Automatique. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -65,24 +68,23 @@ orte_plm_lsf_component_t mca_plm_lsf_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .base_version = {
ORTE_PLM_BASE_VERSION_2_0_0, ORTE_PLM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"lsf", .mca_component_name = "lsf",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
plm_lsf_open, .mca_open_component = plm_lsf_open,
plm_lsf_close, .mca_close_component = plm_lsf_close,
orte_plm_lsf_component_query .mca_query_component = orte_plm_lsf_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007-2011 Los Alamos National Security, LLC. All rights * Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2010 Oracle and/or its affiliates. All rights * Copyright (c) 2010 Oracle and/or its affiliates. All rights
@ -78,25 +79,24 @@ orte_plm_rsh_component_t mca_plm_rsh_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .base_version = {
ORTE_PLM_BASE_VERSION_2_0_0, ORTE_PLM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"rsh", .mca_component_name = "rsh",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
rsh_component_open, .mca_open_component = rsh_component_open,
rsh_component_close, .mca_close_component = rsh_component_close,
rsh_component_query, .mca_query_component = rsh_component_query,
rsh_component_register .mca_register_component_params = rsh_component_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -60,25 +63,24 @@ orte_plm_slurm_component_t mca_plm_slurm_component = {
/* First, the mca_component_t struct containing meta /* First, the mca_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_PLM_BASE_VERSION_2_0_0, ORTE_PLM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"slurm", .mca_component_name = "slurm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
plm_slurm_open, .mca_open_component = plm_slurm_open,
plm_slurm_close, .mca_close_component = plm_slurm_close,
orte_plm_slurm_component_query, .mca_query_component = orte_plm_slurm_component_query,
plm_slurm_register .mca_register_component_params = plm_slurm_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
/* Other orte_plm_slurm_component_t items -- left uninitialized /* Other orte_plm_slurm_component_t items -- left uninitialized

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -62,25 +65,24 @@ orte_plm_tm_component_t mca_plm_tm_component = {
/* First, the mca_component_t struct containing meta information /* First, the mca_component_t struct containing meta information
about the component itself */ about the component itself */
{ .base_version = {
ORTE_PLM_BASE_VERSION_2_0_0, ORTE_PLM_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"tm", .mca_component_name = "tm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
plm_tm_open, .mca_open_component = plm_tm_open,
plm_tm_close, .mca_close_component = plm_tm_close,
orte_plm_tm_component_query, .mca_query_component = orte_plm_tm_component_query,
plm_tm_register .mca_register_component_params = plm_tm_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -11,7 +11,7 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2008 UT-Battelle, LLC * Copyright (c) 2008 UT-Battelle, LLC
* Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -46,25 +46,23 @@ orte_ras_base_component_t mca_ras_alps_component = {
/* First, the mca_base_component_t struct containing meta information about /* First, the mca_base_component_t struct containing meta information about
* the component itself * the component itself
* */ * */
{ .base_version = {
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"alps", .mca_component_name = "alps",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
ras_alps_open, .mca_open_component = ras_alps_open,
NULL, .mca_query_component = orte_ras_alps_component_query,
orte_ras_alps_component_query, .mca_register_component_params = ras_alps_register,
ras_alps_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
/* simple function used to strip off characters on and after a period. NULL /* simple function used to strip off characters on and after a period. NULL

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms. * Use is subject to license terms.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -47,24 +50,23 @@ static int orte_ras_gridengine_verbose;
orte_ras_gridengine_component_t mca_ras_gridengine_component = { orte_ras_gridengine_component_t mca_ras_gridengine_component = {
{ {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
"gridengine", /* MCA component name */ .mca_component_name = "gridengine",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_ras_gridengine_open,
orte_ras_gridengine_open, /* component open */ .mca_close_component = orte_ras_gridengine_close,
orte_ras_gridengine_close, /* component close */ .mca_query_component = orte_ras_gridengine_component_query,
orte_ras_gridengine_component_query, .mca_register_component_params = orte_ras_gridengine_register,
orte_ras_gridengine_register },
}, .base_data = {
{ /* The component is checkpoint ready */
/* The component is checkpoint ready */ MCA_BASE_METADATA_PARAM_CHECKPOINT
MCA_BASE_METADATA_PARAM_CHECKPOINT },
}
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -42,25 +45,23 @@ static int orte_ras_loadleveler_component_query(mca_base_module_t **module, int
orte_ras_base_component_t mca_ras_loadleveler_component = { orte_ras_base_component_t mca_ras_loadleveler_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"loadleveler", .mca_component_name = "loadleveler",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
orte_ras_loadleveler_open, .mca_open_component = orte_ras_loadleveler_open,
NULL, .mca_query_component = orte_ras_loadleveler_component_query,
orte_ras_loadleveler_component_query, .mca_register_component_params = orte_ras_loadleveler_register,
orte_ras_loadleveler_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int orte_ras_loadleveler_register(void) static int orte_ras_loadleveler_register(void)

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -36,24 +39,23 @@ static int orte_ras_lsf_component_query(mca_base_module_t **module, int *priorit
orte_ras_base_component_t mca_ras_lsf_component = { orte_ras_base_component_t mca_ras_lsf_component = {
{ .base_version = {
/* Indicate that we are a ras v2.0.0 component (which also /* Indicate that we are a ras v2.0.0 component (which also
implies a specific MCA version) */ implies a specific MCA version) */
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
"lsf", /* MCA component name */ .mca_component_name = "lsf",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_ras_lsf_open,
orte_ras_lsf_open, /* component open */ .mca_close_component = orte_ras_lsf_close,
orte_ras_lsf_close, /* component close */ .mca_query_component = orte_ras_lsf_component_query,
orte_ras_lsf_component_query },
}, .base_data = {
{ /* The component is checkpoint ready */
/* The component is checkpoint ready */ MCA_BASE_METADATA_PARAM_CHECKPOINT
MCA_BASE_METADATA_PARAM_CHECKPOINT },
}
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -40,25 +43,20 @@ orte_ras_sim_component_t mca_ras_simulator_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"simulator", .mca_component_name = "simulator",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_query_component = ras_sim_component_query,
.mca_register_component_params = ras_sim_register,
/* Component open and close functions */
NULL,
NULL,
ras_sim_component_query,
ras_sim_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,8 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* Copyright (c) 2015 Intel, Inc. All rights reserved. * Copyright (c) 2015 Intel, Inc. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -48,25 +49,24 @@ orte_ras_slurm_component_t mca_ras_slurm_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"slurm", .mca_component_name = "slurm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
ras_slurm_open, .mca_open_component = ras_slurm_open,
ras_slurm_close, .mca_close_component = ras_slurm_close,
orte_ras_slurm_component_query, .mca_query_component = orte_ras_slurm_component_query,
ras_slurm_register .mca_register_component_params = ras_slurm_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -47,25 +50,23 @@ orte_ras_tm_component_t mca_ras_tm_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_RAS_BASE_VERSION_2_0_0, ORTE_RAS_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"tm", .mca_component_name = "tm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
ras_tm_open, .mca_open_component = ras_tm_open,
NULL, .mca_query_component = orte_ras_tm_component_query,
orte_ras_tm_component_query, .mca_register_component_params = ras_tm_register,
ras_tm_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
* *
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -37,22 +40,19 @@ bool rmaps_lama_can_oversubscribe = false;
bool rmaps_lama_am_oversubscribing = false; bool rmaps_lama_am_oversubscribing = false;
orte_rmaps_base_component_t mca_rmaps_lama_component = { orte_rmaps_base_component_t mca_rmaps_lama_component = {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"lama", /* MCA component name */ .mca_component_name = "lama",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = orte_rmaps_lama_query,
NULL, /* component open */ .mca_register_component_params = orte_rmaps_lama_register,
NULL, /* component close */
orte_rmaps_lama_query, /* component query */
orte_rmaps_lama_register /* component register */
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,7 +10,7 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights reserved. * Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -38,22 +39,21 @@ static int orte_rmaps_mindist_register(void);
static int my_priority = 20; static int my_priority = 20;
orte_rmaps_base_component_t mca_rmaps_mindist_component = { orte_rmaps_base_component_t mca_rmaps_mindist_component = {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"mindist", /* MCA component name */ .mca_component_name = "mindist",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_mindist_open,
orte_rmaps_mindist_open, /* component open */ .mca_close_component = orte_rmaps_mindist_close,
orte_rmaps_mindist_close, /* component close */ .mca_query_component = orte_rmaps_mindist_query,
orte_rmaps_mindist_query, /* component query */ .mca_register_component_params = orte_rmaps_mindist_register,
orte_rmaps_mindist_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -27,22 +30,21 @@ static int orte_rmaps_ppr_query(mca_base_module_t **module, int *priority);
static int orte_rmaps_ppr_register(void); static int orte_rmaps_ppr_register(void);
orte_rmaps_base_component_t mca_rmaps_ppr_component = { orte_rmaps_base_component_t mca_rmaps_ppr_component = {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"ppr", /* MCA component name */ .mca_component_name = "ppr",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_ppr_open,
orte_rmaps_ppr_open, /* component open */ .mca_close_component = orte_rmaps_ppr_close,
orte_rmaps_ppr_close, /* component close */ .mca_query_component = orte_rmaps_ppr_query,
orte_rmaps_ppr_query, /* component query */ .mca_register_component_params = orte_rmaps_ppr_register,
orte_rmaps_ppr_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int my_priority; static int my_priority;

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -12,6 +13,8 @@
* Copyright (c) 2008 Voltaire. All rights reserved * Copyright (c) 2008 Voltaire. All rights reserved
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -52,22 +55,21 @@ orte_rmaps_rf_component_t mca_rmaps_rank_file_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"rank_file", /* MCA component name */ .mca_component_name = "rank_file",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_rank_file_open,
orte_rmaps_rank_file_open, /* component open */ .mca_close_component = orte_rmaps_rank_file_close,
orte_rmaps_rank_file_close, /* component close */ .mca_query_component = orte_rmaps_rank_file_query,
orte_rmaps_rank_file_query, /* component query */ .mca_register_component_params = orte_rmaps_rank_file_register,
orte_rmaps_rank_file_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -41,22 +44,21 @@ static int my_priority;
orte_rmaps_res_component_t mca_rmaps_resilient_component = { orte_rmaps_res_component_t mca_rmaps_resilient_component = {
{ {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"resilient", /* MCA component name */ .mca_component_name = "resilient",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_resilient_open,
orte_rmaps_resilient_open, /* component open */ .mca_close_component = orte_rmaps_resilient_close,
orte_rmaps_resilient_close, /* component close */ .mca_query_component = orte_rmaps_resilient_query,
orte_rmaps_resilient_query, /* component query */ .mca_register_component_params = orte_rmaps_resilient_register,
orte_rmaps_resilient_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -36,22 +39,21 @@ static int orte_rmaps_round_robin_query(mca_base_module_t **module, int *priorit
static int my_priority; static int my_priority;
orte_rmaps_base_component_t mca_rmaps_round_robin_component = { orte_rmaps_base_component_t mca_rmaps_round_robin_component = {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"round_robin", /* MCA component name */ .mca_component_name = "round_robin",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_round_robin_open,
orte_rmaps_round_robin_open, /* component open */ .mca_close_component = orte_rmaps_round_robin_close,
orte_rmaps_round_robin_close, /* component close */ .mca_query_component = orte_rmaps_round_robin_query,
orte_rmaps_round_robin_query, /* component query */ .mca_register_component_params = orte_rmaps_round_robin_register,
orte_rmaps_round_robin_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -36,22 +39,21 @@ static int orte_rmaps_seq_query(mca_base_module_t **module, int *priority);
static int my_priority; static int my_priority;
orte_rmaps_base_component_t mca_rmaps_seq_component = { orte_rmaps_base_component_t mca_rmaps_seq_component = {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"seq", /* MCA component name */ .mca_component_name = "seq",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_seq_open,
orte_rmaps_seq_open, /* component open */ .mca_close_component = orte_rmaps_seq_close,
orte_rmaps_seq_close, /* component close */ .mca_query_component = orte_rmaps_seq_query,
orte_rmaps_seq_query, /* component query */ .mca_register_component_params = orte_rmaps_seq_register,
orte_rmaps_seq_register },
}, .base_data = {
{ /* The component is checkpoint ready */
/* The component is checkpoint ready */ MCA_BASE_METADATA_PARAM_CHECKPOINT
MCA_BASE_METADATA_PARAM_CHECKPOINT },
}
}; };

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved * reserved
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -27,21 +28,20 @@ static int orte_rmaps_staged_close(void);
static int orte_rmaps_staged_query(mca_base_module_t **module, int *priority); static int orte_rmaps_staged_query(mca_base_module_t **module, int *priority);
orte_rmaps_base_component_t mca_rmaps_staged_component = { orte_rmaps_base_component_t mca_rmaps_staged_component = {
{ .base_version = {
ORTE_RMAPS_BASE_VERSION_2_0_0, ORTE_RMAPS_BASE_VERSION_2_0_0,
"staged", /* MCA component name */ .mca_component_name = "staged",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = orte_rmaps_staged_open,
orte_rmaps_staged_open, /* component open */ .mca_close_component = orte_rmaps_staged_close,
orte_rmaps_staged_close, /* component close */ .mca_query_component = orte_rmaps_staged_query,
orte_rmaps_staged_query /* component query */
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology * University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -38,25 +41,23 @@ static int orte_rml_ftrm_close(void);
orte_rml_component_t mca_rml_ftrm_component = { orte_rml_component_t mca_rml_ftrm_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .rml_version = {
ORTE_RML_BASE_VERSION_2_0_0, ORTE_RML_BASE_VERSION_2_0_0,
"ftrm", /* MCA component name */ .mca_component_name = "ftrm",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */
orte_rml_ftrm_open, /* component open */ .mca_open_component = orte_rml_ftrm_open,
orte_rml_ftrm_close, /* component close */ .mca_close_component = orte_rml_ftrm_close,
NULL, .mca_register_component_params = orte_rml_ftrm_register,
orte_rml_ftrm_register, },
}, .rml_data = {
{ /* The component is checkpoint ready */
/* The component is checkpoint ready */ MCA_BASE_METADATA_PARAM_CHECKPOINT
MCA_BASE_METADATA_PARAM_CHECKPOINT },
},
orte_rml_ftrm_component_init .rml_init = orte_rml_ftrm_component_init,
}; };
orte_rml_module_t orte_rml_ftrm_module = { orte_rml_module_t orte_rml_ftrm_module = {

Просмотреть файл

@ -11,7 +11,7 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -61,21 +61,20 @@ orte_rml_component_t mca_rml_oob_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .rml_version = {
ORTE_RML_BASE_VERSION_2_0_0, ORTE_RML_BASE_VERSION_2_0_0,
"oob", /* MCA component name */ .mca_component_name = "oob",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_open_component = rml_oob_open,
rml_oob_open, /* component open */ .mca_close_component = rml_oob_close,
rml_oob_close, /* component close */ },
}, .rml_data = {
{ /* The component is checkpoint ready */
/* The component is checkpoint ready */ MCA_BASE_METADATA_PARAM_CHECKPOINT
MCA_BASE_METADATA_PARAM_CHECKPOINT },
}, .rml_init = rml_oob_init,
rml_oob_init
}; };
orte_rml_oob_module_t orte_rml_oob_module = { orte_rml_oob_module_t orte_rml_oob_module = {

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2007-2012 Los Alamos National Security, LLC. * Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* Copyright (c) 2004-2008 The Trustees of Indiana University. * Copyright (c) 2004-2008 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
@ -24,24 +25,21 @@ static int orte_routed_binomial_component_query(mca_base_module_t **module, int
* component definition * component definition
*/ */
orte_routed_component_t mca_routed_binomial_component = { orte_routed_component_t mca_routed_binomial_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_ROUTED_BASE_VERSION_2_0_0, ORTE_ROUTED_BASE_VERSION_2_0_0,
"binomial", /* MCA component name */ .mca_component_name = "binomial",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = orte_routed_binomial_component_query
NULL, },
NULL, .base_data = {
orte_routed_binomial_component_query /* This component can be checkpointed */
}, MCA_BASE_METADATA_PARAM_CHECKPOINT
{ },
/* This component can be checkpointed */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
}; };
static int orte_routed_binomial_component_query(mca_base_module_t **module, int *priority) static int orte_routed_binomial_component_query(mca_base_module_t **module, int *priority)

Просмотреть файл

@ -1,6 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2007-2012 Los Alamos National Security, LLC. * Copyright (c) 2007-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2004-2008 The Trustees of Indiana University. * Copyright (c) 2004-2008 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
@ -28,21 +28,18 @@ orte_routed_component_t mca_routed_debruijn_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_ROUTED_BASE_VERSION_2_0_0, ORTE_ROUTED_BASE_VERSION_2_0_0,
"debruijn", /* MCA component name */ .mca_component_name = "debruijn",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = orte_routed_debruijn_component_query
NULL, },
NULL, .base_data = {
orte_routed_debruijn_component_query /* This component can be checkpointed */
}, MCA_BASE_METADATA_PARAM_CHECKPOINT
{ },
/* This component can be checkpointed */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
}; };
static int orte_routed_debruijn_component_query(mca_base_module_t **module, int *priority) static int orte_routed_debruijn_component_query(mca_base_module_t **module, int *priority)

Просмотреть файл

@ -1,5 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2007 Los Alamos National Security, LLC. * Copyright (c) 2007-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2004-2008 The Trustees of Indiana University. * Copyright (c) 2004-2008 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
@ -31,21 +32,18 @@ orte_routed_component_t mca_routed_direct_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_ROUTED_BASE_VERSION_2_0_0, ORTE_ROUTED_BASE_VERSION_2_0_0,
"direct", /* MCA component name */ .mca_component_name = "direct",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = orte_routed_direct_component_query
NULL, },
NULL, .base_data = {
orte_routed_direct_component_query /* This component can be checkpointed */
}, MCA_BASE_METADATA_PARAM_CHECKPOINT
{ },
/* This component can be checkpointed */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
}; };
static int orte_routed_direct_component_query(mca_base_module_t **module, int *priority) static int orte_routed_direct_component_query(mca_base_module_t **module, int *priority)

Просмотреть файл

@ -1,5 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2007-2013 Los Alamos National Security, LLC. * Copyright (c) 2007-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2004-2008 The Trustees of Indiana University. * Copyright (c) 2004-2008 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
@ -31,22 +32,19 @@ orte_routed_radix_component_t mca_routed_radix_component = {
/* First, the mca_base_component_t struct containing meta /* First, the mca_base_component_t struct containing meta
information about the component itself */ information about the component itself */
{ .base_version = {
ORTE_ROUTED_BASE_VERSION_2_0_0, ORTE_ROUTED_BASE_VERSION_2_0_0,
"radix", /* MCA component name */ .mca_component_name = "radix",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = orte_routed_radix_component_query,
NULL, .mca_register_component_params = orte_routed_radix_component_register,
NULL, },
orte_routed_radix_component_query, .base_data = {
orte_routed_radix_component_register /* This component can be checkpointed */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
{
/* This component can be checkpointed */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
} }
}; };

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2014 Intel, Inc. All rights reserved * Copyright (c) 2014 Intel, Inc. All rights reserved
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -27,22 +30,19 @@ static int my_priority;
orte_rtc_freq_component_t mca_rtc_freq_component = { orte_rtc_freq_component_t mca_rtc_freq_component = {
{ {
{ .base_version = {
ORTE_RTC_BASE_VERSION_1_0_0, ORTE_RTC_BASE_VERSION_1_0_0,
"freq", /* MCA component name */ .mca_component_name = "freq",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = rtc_freq_query,
NULL, /* component open */ .mca_register_component_params = rtc_freq_register,
NULL, /* component close */
rtc_freq_query, /* component query */
rtc_freq_register /* component register */
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
} }
}; };

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2014 Intel, Inc. All rights reserved * Copyright (c) 2014 Intel, Inc. All rights reserved
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -24,22 +27,19 @@ static int rtc_hwloc_register(void);
static int my_priority; static int my_priority;
orte_rtc_base_component_t mca_rtc_hwloc_component = { orte_rtc_base_component_t mca_rtc_hwloc_component = {
{ .base_version = {
ORTE_RTC_BASE_VERSION_1_0_0, ORTE_RTC_BASE_VERSION_1_0_0,
"hwloc", /* MCA component name */ .mca_component_name = "hwloc",
ORTE_MAJOR_VERSION, /* MCA component major version */ MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, /* MCA component minor version */ ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, /* MCA component release version */ .mca_query_component = rtc_hwloc_query,
NULL, /* component open */ .mca_register_component_params = rtc_hwloc_register,
NULL, /* component close */
rtc_hwloc_query, /* component query */
rtc_hwloc_register /* component register */
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };

Просмотреть файл

@ -1,6 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2015 Intel, Inc. All rights reserved. * Copyright (c) 2015 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -23,21 +25,17 @@ static int component_query(mca_base_module_t **module, int *priority);
* Struct of function pointers and all that to let us be initialized * Struct of function pointers and all that to let us be initialized
*/ */
orte_schizo_base_component_t mca_schizo_ompi_component = { orte_schizo_base_component_t mca_schizo_ompi_component = {
{ .base_version = {
MCA_SCHIZO_BASE_VERSION_1_0_0, MCA_SCHIZO_BASE_VERSION_1_0_0,
"ompi", /* MCA module name */ .mca_component_name = "ompi",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION, .mca_query_component = component_query,
NULL, /* component open */
NULL, /* component close */
component_query, /* component query */
NULL, /* component register */
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
} },
}; };
static int component_query(mca_base_module_t **module, int *priority) static int component_query(mca_base_module_t **module, int *priority)

Просмотреть файл

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2004-2010 The Trustees of Indiana University. * Copyright (c) 2004-2010 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
@ -7,6 +8,8 @@
* University of Stuttgart. All rights reserved. * University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -49,29 +52,26 @@ orte_snapc_full_component_t mca_snapc_full_component = {
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component itfull * meta information about the component itfull
*/ */
{ .base_version = {
ORTE_SNAPC_BASE_VERSION_2_0_0, ORTE_SNAPC_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"full", .mca_component_name = "full",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
snapc_full_open, .mca_open_component = snapc_full_open,
snapc_full_close, .mca_close_component = snapc_full_close,
orte_snapc_full_component_query, .mca_query_component = orte_snapc_full_component_query,
snapc_full_register .mca_register_component_params = snapc_full_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
/* Verbosity level */ .verbose = 0,
0, .output_handle = -1,
/* opal_output handler */
-1
} }
}; };

Просмотреть файл

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2010 The Trustees of Indiana University. * Copyright (c) 2010 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -39,29 +42,26 @@ orte_sstore_central_component_t mca_sstore_central_component = {
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component itcentral * meta information about the component itcentral
*/ */
{ .base_version = {
ORTE_SSTORE_BASE_VERSION_2_0_0, ORTE_SSTORE_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"central", .mca_component_name = "central",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
sstore_central_open, .mca_open_component = sstore_central_open,
sstore_central_close, .mca_close_component = sstore_central_close,
orte_sstore_central_component_query, .mca_query_component = orte_sstore_central_component_query,
sstore_central_register .mca_register_component_params = sstore_central_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
/* Verbosity level */ .verbose = 0,
0, .output_handle = -1,
/* opal_output handler */
-1
}, },
}; };

Просмотреть файл

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2010 The Trustees of Indiana University. * Copyright (c) 2010 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
* Copyright (c) 2014 Hochschule Esslingen. All rights reserved. * Copyright (c) 2014 Hochschule Esslingen. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -41,29 +44,26 @@ orte_sstore_stage_component_t mca_sstore_stage_component = {
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component itstage * meta information about the component itstage
*/ */
{ .base_version = {
ORTE_SSTORE_BASE_VERSION_2_0_0, ORTE_SSTORE_BASE_VERSION_2_0_0,
/* Component name and version */ /* Component name and version */
"stage", .mca_component_name = "stage",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
sstore_stage_open, .mca_open_component = sstore_stage_open,
sstore_stage_close, .mca_close_component = sstore_stage_close,
orte_sstore_stage_component_query, .mca_query_component = orte_sstore_stage_component_query,
sstore_stage_register .mca_register_component_params = sstore_stage_register,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },
/* Verbosity level */ .verbose = 0,
0, .output_handle = -1,
/* opal_output handler */
-1
}, },
}; };

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,20 +39,19 @@ orte_state_base_component_t mca_state_app_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"app", .mca_component_name = "app",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_app_open, .mca_open_component = state_app_open,
state_app_close, .mca_close_component = state_app_close,
state_app_component_query .mca_query_component = state_app_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2015 Intel, Inc. All rights reserved. * Copyright (c) 2015 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -37,20 +40,19 @@ orte_state_base_component_t mca_state_dvm_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"dvm", .mca_component_name = "dvm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_dvm_open, .mca_open_component = state_dvm_open,
state_dvm_close, .mca_close_component = state_dvm_close,
state_dvm_component_query .mca_query_component = state_dvm_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,20 +39,19 @@ orte_state_base_component_t mca_state_hnp_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"hnp", .mca_component_name = "hnp",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_hnp_open, .mca_open_component = state_hnp_open,
state_hnp_close, .mca_close_component = state_hnp_close,
state_hnp_component_query .mca_query_component = state_hnp_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011-2012 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -39,21 +40,20 @@ orte_state_base_component_t mca_state_novm_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"novm", .mca_component_name = "novm",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_novm_open, .mca_open_component = state_novm_open,
state_novm_close, .mca_close_component = state_novm_close,
state_novm_component_query, .mca_query_component = state_novm_component_query,
state_novm_register .mca_register_component_params = state_novm_register
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,20 +39,19 @@ orte_state_base_component_t mca_state_orted_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"orted", .mca_component_name = "orted",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_orted_open, .mca_open_component = state_orted_open,
state_orted_close, .mca_close_component = state_orted_close,
state_orted_component_query .mca_query_component = state_orted_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,20 +39,19 @@ orte_state_base_component_t mca_state_staged_hnp_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"staged_hnp", .mca_component_name = "staged_hnp",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_staged_hnp_open, .mca_open_component = state_staged_hnp_open,
state_staged_hnp_close, .mca_close_component = state_staged_hnp_close,
state_staged_hnp_component_query .mca_query_component = state_staged_hnp_component_query
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,6 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2012 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* All rights reserved. * reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -38,20 +39,19 @@ orte_state_base_component_t mca_state_staged_orted_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"staged_orted", .mca_component_name = "staged_orted",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_staged_orted_open, .mca_open_component = state_staged_orted_open,
state_staged_orted_close, .mca_close_component = state_staged_orted_close,
state_staged_orted_component_query .mca_query_component = state_staged_orted_component_query,
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },

Просмотреть файл

@ -1,5 +1,6 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* /*
* Copyright (c) 2011 Los Alamos National Security, LLC. * Copyright (c) 2011-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2013 Intel, Inc. All rights reserved. * Copyright (c) 2013 Intel, Inc. All rights reserved.
* *
@ -39,20 +40,19 @@ orte_state_base_component_t mca_state_tool_component =
/* Handle the general mca_component_t struct containing /* Handle the general mca_component_t struct containing
* meta information about the component * meta information about the component
*/ */
{ .base_version = {
ORTE_STATE_BASE_VERSION_1_0_0, ORTE_STATE_BASE_VERSION_1_0_0,
/* Component name and version */ /* Component name and version */
"tool", .mca_component_name = "tool",
ORTE_MAJOR_VERSION, MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
ORTE_MINOR_VERSION, ORTE_RELEASE_VERSION),
ORTE_RELEASE_VERSION,
/* Component open and close functions */ /* Component open and close functions */
state_tool_open, .mca_open_component = state_tool_open,
state_tool_close, .mca_close_component = state_tool_close,
state_tool_component_query .mca_query_component = state_tool_component_query
}, },
{ .base_data = {
/* The component is checkpoint ready */ /* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT MCA_BASE_METADATA_PARAM_CHECKPOINT
}, },