1
1

Merge pull request #541 from hjelmn/c99_components

C99 component initialization
Этот коммит содержится в:
Nathan Hjelm 2015-04-20 10:45:39 -06:00
родитель ba1bc00df1 c4a61969c0
Коммит 033894b493
196 изменённых файлов: 2421 добавлений и 2445 удалений

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

@ -2,7 +2,7 @@
/*
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. 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.
* $COPYRIGHT$
*
@ -76,33 +76,29 @@ mca_bcol_basesmuma_component_t mca_bcol_basesmuma_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.bcol_version = {
MCA_BCOL_BASE_VERSION_2_0_0,
/* Component name and version */
"basesmuma",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "basesmuma",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
basesmuma_open,
basesmuma_close,
NULL,
basesmuma_register
.mca_open_component = basesmuma_open,
.mca_close_component = basesmuma_close,
.mca_register_component_params = basesmuma_register,
},
/* Initialization / querying functions */
mca_bcol_basesmuma_init_query,
mca_bcol_basesmuma_comm_query,
NULL,
NULL,
false,
false,
0, /* (default) priority */
.collm_init_query = mca_bcol_basesmuma_init_query,
.collm_comm_query = mca_bcol_basesmuma_comm_query,
.init_done = false,
.need_ordering = false,
.priority = 0, /* (default) priority */
},
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
@ -7,6 +8,8 @@
* reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -94,25 +97,23 @@ mca_bcol_iboffload_component_t mca_bcol_iboffload_component = {
/* Component name and version */
"iboffload",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "iboffload",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
iboffload_open,
iboffload_close,
NULL, /* query */
mca_bcol_iboffload_register_params,
.mca_open_component = iboffload_open,
.mca_close_component = iboffload_close,
.mca_register_component_params = mca_bcol_iboffload_register_params,
},
mca_bcol_iboffload_init_query,
mca_bcol_iboffload_comm_query,
mca_bcol_iboffload_coll_supported,
mca_bcol_iboffload_coll_support_all_types,
false,
true, /* collective calls with iboffload should to be ordered */
.collm_init_query = mca_bcol_iboffload_init_query,
.collm_comm_query = mca_bcol_iboffload_comm_query,
.coll_support = mca_bcol_iboffload_coll_supported,
.coll_support_all_types = mca_bcol_iboffload_coll_support_all_types,
.init_done = false,
.need_ordering = true, /* collective calls with iboffload should to be ordered */
},
/* iboffload-component specifc information */
.verbose = 0, /* verbose */

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

@ -58,31 +58,28 @@ mca_bcol_ptpcoll_component_t mca_bcol_ptpcoll_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.bcol_version = {
MCA_BCOL_BASE_VERSION_2_0_0,
/* Component name and version */
"ptpcoll",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "ptpcoll",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
ptpcoll_open,
ptpcoll_close,
.mca_register_component_params = mca_bcol_ptpcoll_register_mca_params
.mca_open_component = ptpcoll_open,
.mca_close_component = ptpcoll_close,
.mca_register_component_params = mca_bcol_ptpcoll_register_mca_params,
},
/* Initialization / querying functions */
mca_bcol_ptpcoll_init_query,
mca_bcol_ptpcoll_comm_query,
NULL,
NULL,
false,
false,
.collm_init_query = mca_bcol_ptpcoll_init_query,
.collm_comm_query = mca_bcol_ptpcoll_comm_query,
.init_done = false,
.need_ordering = false,
},
/* component specific */

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -31,23 +34,21 @@ mca_bml_base_component_2_0_0_t mca_bml_r2_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
.bml_version = {
MCA_BML_BASE_VERSION_2_0_0,
"r2", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_bml_r2_component_open, /* component open */
mca_bml_r2_component_close, /* component close */
NULL,
mca_bml_r2_component_register
.mca_component_name = "r2",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_bml_r2_component_open,
.mca_close_component = mca_bml_r2_component_close,
.mca_register_component_params = mca_bml_r2_component_register,
},
{
.bml_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_bml_r2_component_init
.bml_init = mca_bml_r2_component_init,
};
static int mca_bml_r2_component_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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -57,30 +60,26 @@ const mca_coll_base_component_2_0_0_t mca_coll_basic_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
MCA_COLL_BASE_VERSION_2_0_0,
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"basic",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
/* Component name and version */
.mca_component_name = "basic",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
NULL,
basic_register
/* Component open and close functions */
.mca_register_component_params = basic_register,
},
{
.collm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
mca_coll_basic_init_query,
mca_coll_basic_comm_query
.collm_init_query = mca_coll_basic_init_query,
.collm_comm_query = mca_coll_basic_comm_query,
};

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

@ -1,8 +1,11 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2014-2015 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -39,30 +42,26 @@ mca_coll_cuda_component_t mca_coll_cuda_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"cuda",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "cuda",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
NULL,
cuda_register
.mca_register_component_params = cuda_register,
},
{
.collm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
mca_coll_cuda_init_query,
mca_coll_cuda_comm_query
.collm_init_query = mca_coll_cuda_init_query,
.collm_comm_query = mca_coll_cuda_comm_query,
},
/* cuda-specific component information */

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -57,30 +60,26 @@ const mca_coll_base_component_2_0_0_t mca_coll_demo_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"demo",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "demo",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
NULL,
demo_register
.mca_register_component_params = demo_register,
},
{
.collm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
mca_coll_demo_init_query,
mca_coll_demo_comm_query
.collm_init_query = mca_coll_demo_init_query,
.collm_comm_query = mca_coll_demo_comm_query,
};

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

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011 Mellanox Technologies. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -1056,30 +1059,28 @@ mca_coll_fca_component_t mca_coll_fca_component = {
/* First, the mca_component_t struct containing meta information
about the component itfca */
{
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"fca",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "fca",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
fca_open,
fca_close,
NULL,
fca_register
.mca_open_component = fca_open,
.mca_close_component = fca_close,
.mca_register_component_params = fca_register,
},
{
.collm_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
/* Initialization / querying functions */
mca_coll_fca_init_query,
mca_coll_fca_comm_query,
.collm_init_query = mca_coll_fca_init_query,
.collm_comm_query = mca_coll_fca_comm_query,
}
};

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

@ -1,10 +1,13 @@
/**
Copyright (c) 2011 Mellanox Technologies. All rights reserved.
$COPYRIGHT$
Additional copyrights may follow
$HEADER$
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011 Mellanox Technologies. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ompi_config.h"
#include <stdio.h>
@ -31,30 +34,28 @@ mca_coll_hcoll_component_t mca_coll_hcoll_component = {
/* First, the mca_component_t struct containing meta information
about the component itfca */
{
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"hcoll",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "hcoll",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
hcoll_open,
hcoll_close,
NULL,
hcoll_register
.mca_open_component = hcoll_open,
.mca_close_component = hcoll_close,
.mca_register_component_params = hcoll_register,
},
{
.collm_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
/* Initialization / querying functions */
mca_coll_hcoll_init_query,
mca_coll_hcoll_comm_query,
.collm_init_query = mca_coll_hcoll_init_query,
.collm_comm_query = mca_coll_hcoll_comm_query,
},
90, /* priority */
0, /* verbose level */

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2006-2007 University of Houston. All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -55,32 +58,28 @@ static int inter_register(void);
const mca_coll_base_component_2_0_0_t mca_coll_inter_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
/* First, the mca_component_t struct containing meta information
about the component itself */
{
MCA_COLL_BASE_VERSION_2_0_0,
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"inter",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
/* Component name and version */
.mca_component_name = "inter",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
NULL,
inter_register
},
{
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Component open and close functions */
.mca_register_component_params = inter_register,
},
.collm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
mca_coll_inter_init_query,
mca_coll_inter_comm_query
/* Initialization / querying functions */
.collm_init_query = mca_coll_inter_init_query,
.collm_comm_query = mca_coll_inter_comm_query,
};

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

@ -55,29 +55,27 @@ ompi_coll_libnbc_component_t mca_coll_libnbc_component = {
{
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"libnbc",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "libnbc",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
libnbc_open,
libnbc_close,
NULL,
libnbc_register
.mca_open_component = libnbc_open,
.mca_close_component = libnbc_close,
.mca_register_component_params = libnbc_register,
},
{
.collm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
libnbc_init_query,
libnbc_comm_query
.collm_init_query = libnbc_init_query,
.collm_comm_query = libnbc_comm_query,
}
};

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

@ -2,7 +2,7 @@
/*
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
* Copyright (c) 2013-2014 Los Alamos National Security, LLC. All rights
* Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2014 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
@ -75,9 +75,8 @@ mca_coll_ml_component_t mca_coll_ml_component = {
/* Component name and version */
.mca_component_name = "ml",
.mca_component_major_version = OMPI_MAJOR_VERSION,
.mca_component_minor_version = OMPI_MINOR_VERSION,
.mca_component_release_version = OMPI_RELEASE_VERSION,
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open, close, and register functions */

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

@ -53,29 +53,27 @@ mca_coll_portals4_component_t mca_coll_portals4_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"portals4",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "portals4",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
portals4_open,
portals4_close,
NULL,
portals4_register
.mca_open_component = portals4_open,
.mca_close_component = portals4_close,
.mca_register_component_params = portals4_register
},
{
.collm_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
/* Initialization / querying functions */
portals4_init_query,
portals4_comm_query
.collm_init_query = portals4_init_query,
.collm_comm_query = portals4_comm_query,
},
};

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -57,30 +60,26 @@ const mca_coll_base_component_2_0_0_t mca_coll_self_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"self",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "self",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
NULL,
self_register
.mca_register_component_params = self_register,
},
{
.collm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
mca_coll_self_init_query,
mca_coll_self_comm_query
.collm_init_query = mca_coll_self_init_query,
.collm_comm_query = mca_coll_self_comm_query,
};
static int self_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
* University Research and Technology
@ -10,7 +11,7 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011 Los Alamos National Security, LLC.
* Copyright (c) 2011-2015 Los Alamos National Security, LLC.
* All rights reserved.
* $COPYRIGHT$
*
@ -61,30 +62,27 @@ mca_coll_sm_component_t mca_coll_sm_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"sm",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "sm",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component functions */
NULL, /* open */
sm_close,
NULL, /* query */
sm_register
.mca_close_component = sm_close,
.mca_query_component = sm_register,
},
{
.collm_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
/* Initialization / querying functions */
mca_coll_sm_init_query,
mca_coll_sm_comm_query,
.collm_init_query = mca_coll_sm_init_query,
.collm_comm_query = mca_coll_sm_comm_query,
},
/* sm-component specifc information */

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -75,30 +78,28 @@ mca_coll_tuned_component_t mca_coll_tuned_component = {
{
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.collm_version = {
MCA_COLL_BASE_VERSION_2_0_0,
/* Component name and version */
"tuned",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "tuned",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
tuned_open,
tuned_close,
NULL,
tuned_register
.mca_open_component = tuned_open,
.mca_close_component = tuned_close,
.mca_register_component_params = tuned_register,
},
{
.collm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initialization / querying functions */
ompi_coll_tuned_init_query,
ompi_coll_tuned_comm_query,
.collm_init_query = ompi_coll_tuned_init_query,
.collm_comm_query = ompi_coll_tuned_comm_query,
},
/* priority of the module */

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2008 The Trustees of Indiana University.
* All rights reserved.
@ -7,6 +8,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -47,31 +50,27 @@ ompi_crcp_bkmrk_component_t mca_crcp_bkmrk_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component
*/
{
.base_version = {
OMPI_CRCP_BASE_VERSION_2_0_0,
/* Component name and version */
"bkmrk",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "bkmrk",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
crcp_bkmrk_open,
crcp_bkmrk_close,
ompi_crcp_bkmrk_component_query,
crcp_bkmrk_register
.mca_open_component = crcp_bkmrk_open,
.mca_close_component = crcp_bkmrk_close,
.mca_query_component = ompi_crcp_bkmrk_component_query,
.mca_register_component_params = crcp_bkmrk_register,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1,
/* Default priority */
20
.verbose = 0,
.output_handle = -1,
.priority = 20,
}
};

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

@ -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
* University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -29,21 +32,20 @@ ompi_dpm_base_component_t mca_dpm_orte_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
OMPI_DPM_BASE_VERSION_2_0_0,
.base_version = {
OMPI_DPM_BASE_VERSION_2_0_0,
"orte", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
dpm_orte_component_open, /* component open */
dpm_orte_component_close, /* component close */
dpm_orte_component_query /* component query */
.mca_component_name = "orte",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = dpm_orte_component_open,
.mca_close_component = dpm_orte_component_close,
.mca_query_component = dpm_orte_component_query,
},
{
.base_data = {
/* This component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
},
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -44,22 +47,19 @@ mca_fbtl_base_component_2_0_0_t mca_fbtl_plfs_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fbtlm_version = {
MCA_FBTL_BASE_VERSION_2_0_0,
/* Component name and version */
"plfs",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
NULL,
NULL
.mca_component_name = "plfs",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
},
{
.fbtlm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fbtl_plfs_component_init_query, /* get thread level */
mca_fbtl_plfs_component_file_query, /* get priority and actions */
mca_fbtl_plfs_component_file_unquery /* undo what was done by previous function */
.fbtlm_init_query = mca_fbtl_plfs_component_init_query, /* get thread level */
.fbtlm_file_query = mca_fbtl_plfs_component_file_query, /* get priority and actions */
.fbtlm_file_unquery = mca_fbtl_plfs_component_file_unquery, /* undo what was done by previous function */
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -44,22 +47,19 @@ mca_fbtl_base_component_2_0_0_t mca_fbtl_posix_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fbtlm_version = {
MCA_FBTL_BASE_VERSION_2_0_0,
/* Component name and version */
"posix",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
NULL,
NULL
.mca_component_name = "posix",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
},
{
.fbtlm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fbtl_posix_component_init_query, /* get thread level */
mca_fbtl_posix_component_file_query, /* get priority and actions */
mca_fbtl_posix_component_file_unquery /* undo what was done by previous function */
.fbtlm_init_query = mca_fbtl_posix_component_init_query, /* get thread level */
.fbtlm_file_query = mca_fbtl_posix_component_file_query, /* get priority and actions */
.fbtlm_file_unquery = mca_fbtl_posix_component_file_unquery, /* undo what was done by previous function */
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -44,22 +47,19 @@ mca_fbtl_base_component_2_0_0_t mca_fbtl_pvfs2_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fbtlm_version = {
MCA_FBTL_BASE_VERSION_2_0_0,
/* Component name and version */
"pvfs2",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
NULL,
NULL
.mca_component_name = "pvfs2",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
},
{
.fbtlm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fbtl_pvfs2_component_init_query, /* get thread level */
mca_fbtl_pvfs2_component_file_query, /* get priority and actions */
mca_fbtl_pvfs2_component_file_unquery /* undo what was done by previous function */
.fbtlm_init_query = mca_fbtl_pvfs2_component_init_query, /* get thread level */
.fbtlm_file_query = mca_fbtl_pvfs2_component_file_query, /* get priority and actions */
.fbtlm_file_unquery = mca_fbtl_pvfs2_component_file_unquery, /* undo what was done by previous function */
};

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -53,24 +56,23 @@ mca_fcoll_base_component_2_0_0_t mca_fcoll_dynamic_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
MCA_FCOLL_BASE_VERSION_2_0_0,
.fcollm_version = {
MCA_FCOLL_BASE_VERSION_2_0_0,
/* Component name and version */
"dynamic",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_register_component_params = dynamic_register,
/* Component name and version */
.mca_component_name = "dynamic",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = dynamic_register,
},
{
.fcollm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fcoll_dynamic_component_init_query,
mca_fcoll_dynamic_component_file_query,
mca_fcoll_dynamic_component_file_unquery
.fcollm_init_query = mca_fcoll_dynamic_component_init_query,
.fcollm_file_query = mca_fcoll_dynamic_component_file_query,
.fcollm_file_unquery = mca_fcoll_dynamic_component_file_unquery,
};

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -56,24 +59,23 @@ mca_fcoll_base_component_2_0_0_t mca_fcoll_individual_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
MCA_FCOLL_BASE_VERSION_2_0_0,
.fcollm_version = {
MCA_FCOLL_BASE_VERSION_2_0_0,
/* Component name and version */
"individual",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_register_component_params = individual_register,
/* Component name and version */
.mca_component_name = "individual",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = individual_register,
},
{
.fcollm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fcoll_individual_component_init_query,
mca_fcoll_individual_component_file_query,
mca_fcoll_individual_component_file_unquery
.fcollm_init_query = mca_fcoll_individual_component_init_query,
.fcollm_file_query = mca_fcoll_individual_component_file_query,
.fcollm_file_unquery = mca_fcoll_individual_component_file_unquery,
};

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -56,24 +59,23 @@ mca_fcoll_base_component_2_0_0_t mca_fcoll_static_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
MCA_FCOLL_BASE_VERSION_2_0_0,
.fcollm_version = {
MCA_FCOLL_BASE_VERSION_2_0_0,
/* Component name and version */
"static",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_register_component_params = static_register,
/* Component name and version */
.mca_component_name = "static",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = static_register,
},
{
.fcollm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fcoll_static_component_init_query,
mca_fcoll_static_component_file_query,
mca_fcoll_static_component_file_unquery
.fcollm_init_query = mca_fcoll_static_component_init_query,
.fcollm_file_query = mca_fcoll_static_component_file_query,
.fcollm_file_unquery = mca_fcoll_static_component_file_unquery,
};

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -56,24 +59,23 @@ mca_fcoll_base_component_2_0_0_t mca_fcoll_two_phase_component = {
/* First, the mca_component_t struct containing meta information
* about the component itself */
{
MCA_FCOLL_BASE_VERSION_2_0_0,
.fcollm_version = {
MCA_FCOLL_BASE_VERSION_2_0_0,
/* Component name and version */
"two_phase",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_register_component_params = two_phase_register,
/* Component name and version */
.mca_component_name = "two_phase",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = two_phase_register,
},
{
.fcollm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fcoll_two_phase_component_init_query,
mca_fcoll_two_phase_component_file_query,
mca_fcoll_two_phase_component_file_unquery
.fcollm_init_query = mca_fcoll_two_phase_component_init_query,
.fcollm_file_query = mca_fcoll_two_phase_component_file_query,
.fcollm_file_unquery = mca_fcoll_two_phase_component_file_unquery,
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -51,23 +54,22 @@ mca_fs_base_component_2_0_0_t mca_fs_lustre_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fsm_version = {
MCA_FS_BASE_VERSION_2_0_0,
/* Component name and version */
"lustre",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "lustre",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = lustre_register,
},
{
.fsm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fs_lustre_component_init_query, /* get thread level */
mca_fs_lustre_component_file_query, /* get priority and actions */
mca_fs_lustre_component_file_unquery /* undo what was done by previous function */
.fsm_init_query = mca_fs_lustre_component_init_query, /* get thread level */
.fsm_file_query = mca_fs_lustre_component_file_query, /* get priority and actions */
.fsm_file_unquery = mca_fs_lustre_component_file_unquery, /* undo what was done by previous function */
};
static int

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -47,23 +50,22 @@ mca_fs_base_component_2_0_0_t mca_fs_plfs_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fsm_version = {
MCA_FS_BASE_VERSION_2_0_0,
/* Component name and version */
"plfs",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "plfs",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = plfs_register,
},
{
.fsm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fs_plfs_component_init_query, /* get thread level */
mca_fs_plfs_component_file_query, /* get priority and actions */
mca_fs_plfs_component_file_unquery /* undo what was done by previous function */
.fsm_init_query = mca_fs_plfs_component_init_query, /* get thread level */
.fsm_file_query = mca_fs_plfs_component_file_query, /* get priority and actions */
.fsm_file_unquery = mca_fs_plfs_component_file_unquery, /* undo what was done by previous function */
};
static int

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2013 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -49,24 +52,23 @@ mca_fs_base_component_2_0_0_t mca_fs_pvfs2_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fsm_version = {
MCA_FS_BASE_VERSION_2_0_0,
/* Component name and version */
"pvfs2",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "pvfs2",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = pvfs2_register,
},
{
.fsm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fs_pvfs2_component_init_query, /* get thread level */
mca_fs_pvfs2_component_file_query, /* get priority and actions */
mca_fs_pvfs2_component_file_unquery /* undo what was done by previous function */
};
.fsm_init_query = mca_fs_pvfs2_component_init_query, /* get thread level */
.fsm_file_query = mca_fs_pvfs2_component_file_query, /* get priority and actions */
.fsm_file_unquery = mca_fs_pvfs2_component_file_unquery, /* undo what was done by previous function */
};.
static int
pvfs2_register(void)

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -44,22 +47,19 @@ mca_fs_base_component_2_0_0_t mca_fs_ufs_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.fsm_version = {
MCA_FS_BASE_VERSION_2_0_0,
/* Component name and version */
"ufs",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
NULL,
NULL
.mca_component_name = "ufs",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
},
{
.fsm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_fs_ufs_component_init_query, /* get thread level */
mca_fs_ufs_component_file_query, /* get priority and actions */
mca_fs_ufs_component_file_unquery /* undo what was done by previous function */
.fsm_init_query = mca_fs_ufs_component_init_query, /* get thread level */
.fsm_file_query = mca_fs_ufs_component_file_query, /* get priority and actions */
.fsm_file_unquery = mca_fs_ufs_component_file_unquery, /* undo what was done by previous function */
};

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -96,34 +99,30 @@ mca_io_base_component_2_0_0_t mca_io_ompio_component = {
/* First, the mca_base_component_t struct containing meta information
about the component itself */
{
.io_version = {
MCA_IO_BASE_VERSION_2_0_0,
"ompio",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
open_component,
close_component,
.mca_component_name = "ompio",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = open_component,
.mca_close_component = close_component,
.mca_register_component_params = register_component,
},
{
.io_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initial configuration / Open a new file */
init_query,
file_query,
file_unquery,
.io_init_query = init_query,
.io_file_query = file_query,
.io_file_unquery = file_unquery,
/* Delete a file */
delete_query,
NULL, /* delete_unquery */
delete_select, /* delete_select */
NULL /* io_register_datarep */
.io_delete_query = delete_query,
.io_delete_select = delete_select,
};
static int register_component(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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -79,35 +82,32 @@ mca_io_base_component_2_0_0_t mca_io_romio_component = {
/* First, the mca_base_component_t struct containing meta information
about the component itself */
{
.io_version = {
MCA_IO_BASE_VERSION_2_0_0,
"romio",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
open_component,
close_component,
NULL,
register_component
.mca_component_name = "romio",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = open_component,
.mca_close_component = close_component,
.mca_register_component_params = register_component,
},
{
.io_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Initial configuration / Open a new file */
init_query,
file_query,
file_unquery,
.io_init_query = init_query,
.io_file_query = file_query,
.io_file_unquery = file_unquery,
/* Delete a file */
delete_query,
NULL,
delete_select,
.io_delete_query = delete_query,
.io_delete_select = delete_select,
register_datarep
.io_register_datarep = register_datarep,
};
static char *ompi_io_romio_version = ROMIO_VERSION_STRING;

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

@ -46,22 +46,21 @@ mca_mtl_mxm_component_t mca_mtl_mxm_component = {
* First, the mca_base_component_t struct containing meta
* information about the component itself
*/
{
.mtl_version = {
MCA_MTL_BASE_VERSION_2_0_0,
"mxm", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
ompi_mtl_mxm_component_open, /* component open */
ompi_mtl_mxm_component_close, /* component close */
ompi_mtl_mxm_component_query, /* component query */
ompi_mtl_mxm_component_register
.mca_component_name = "mxm",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = ompi_mtl_mxm_component_open,
.mca_close_component = ompi_mtl_mxm_component_close,
.mca_query_component = ompi_mtl_mxm_component_query,
.mca_register_component_params = ompi_mtl_mxm_component_register,
},
{
.mtl_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
ompi_mtl_mxm_component_init /* component init */
.mtl_init = ompi_mtl_mxm_component_init,
}
};

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

@ -39,24 +39,23 @@ mca_mtl_ofi_component_t mca_mtl_ofi_component = {
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
.mtl_version = {
MCA_MTL_BASE_VERSION_2_0_0,
"ofi", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
ompi_mtl_ofi_component_open, /* component open */
ompi_mtl_ofi_component_close, /* component close */
ompi_mtl_ofi_component_query,
ompi_mtl_ofi_component_register
.mca_component_name = "ofi",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = ompi_mtl_ofi_component_open,
.mca_close_component = ompi_mtl_ofi_component_close,
.mca_query_component = ompi_mtl_ofi_component_query,
.mca_register_component_params = ompi_mtl_ofi_component_register,
},
{
.mtl_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
ompi_mtl_ofi_component_init, /* component init */
.mtl_init = ompi_mtl_ofi_component_init,
}
};

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

@ -49,24 +49,23 @@ mca_mtl_base_component_2_0_0_t mca_mtl_portals4_component = {
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
.mtl_version = {
MCA_MTL_BASE_VERSION_2_0_0,
"portals4", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
ompi_mtl_portals4_component_open, /* component open */
ompi_mtl_portals4_component_close, /* component close */
ompi_mtl_portals4_component_query, /* component close */
ompi_mtl_portals4_component_register
.mca_component_name = "portals4",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = ompi_mtl_portals4_component_open,
.mca_close_component = ompi_mtl_portals4_component_close,
.mca_query_component = ompi_mtl_portals4_component_query,
.mca_register_component_params = ompi_mtl_portals4_component_register,
},
{
.mtl_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
ompi_mtl_portals4_component_init, /* component init */
.mtl_init = ompi_mtl_portals4_component_init,
};
static mca_base_var_enum_value_t long_protocol_values[] = {

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

@ -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
* University Research and Technology
@ -53,24 +54,23 @@ mca_mtl_psm_component_t mca_mtl_psm_component = {
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
.mtl_version = {
MCA_MTL_BASE_VERSION_2_0_0,
"psm", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
ompi_mtl_psm_component_open, /* component open */
ompi_mtl_psm_component_close, /* component close */
ompi_mtl_psm_component_query, /* component close */
ompi_mtl_psm_component_register
.mca_component_name = "psm",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = ompi_mtl_psm_component_open,
.mca_close_component = ompi_mtl_psm_component_close,
.mca_query_component = ompi_mtl_psm_component_query,
.mca_register_component_params = ompi_mtl_psm_component_register,
},
{
.mtl_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
ompi_mtl_psm_component_init /* component init */
.mtl_init = ompi_mtl_psm_component_init,
}
};

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -45,25 +48,23 @@ ompi_op_example_component_t mca_op_example_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
{
.opc_version = {
OMPI_OP_BASE_VERSION_1_0_0,
"example",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
example_component_open,
example_component_close,
NULL,
example_component_register
.mca_component_name = "example",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = example_component_open,
.mca_close_component = example_component_close,
.mca_register_component_params = example_component_register,
},
{
.opc_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
example_component_init_query,
example_component_op_query,
.opc_init_query = example_component_init_query,
.opc_op_query = example_component_op_query,
},
/* Now comes the example-component-specific data. In this case,

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008-2013 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -48,25 +51,23 @@ ompi_op_x86_component_t mca_op_x86_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
{
.opc_version = {
OMPI_OP_BASE_VERSION_1_0_0,
"x86",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
x86_component_open,
x86_component_close,
NULL,
x86_component_register
.mca_component_name = "x86",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = x86_component_open,
.mca_close_component = x86_component_close,
.mca_register_component_params = x86_component_register,
},
{
.opc_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
x86_component_init_query,
x86_component_op_query,
.opc_init_query = x86_component_init_query,
.opc_op_query = x86_component_op_query,
},
/* Now comes the x86-component-specific data. In this case,

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

@ -34,25 +34,22 @@ static int component_select(struct ompi_win_t *win, void **base, size_t size, in
ompi_osc_portals4_component_t mca_osc_portals4_component = {
{ /* ompi_osc_base_component_t */
{ /* ompi_base_component_t */
.osc_version = {
OMPI_OSC_BASE_VERSION_3_0_0,
"portals4",
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
component_open,
NULL,
NULL,
component_register
.mca_component_name = "portals4",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = component_open,
.mca_register_component_params = component_register,
},
{ /* mca_base_component_data */
.osc_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
component_init,
component_query,
component_select,
component_finalize
.osc_init = component_init,
.osc_query = component_query,
.osc_select = component_select,
.osc_finalize = component_finalize,
}
};

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

@ -57,25 +57,22 @@ static int component_select(struct ompi_win_t *win, void **base, size_t size, in
ompi_osc_pt2pt_component_t mca_osc_pt2pt_component = {
{ /* ompi_osc_base_component_t */
{ /* ompi_base_component_t */
.osc_version = {
OMPI_OSC_BASE_VERSION_3_0_0,
"pt2pt",
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
component_open,
NULL,
NULL,
component_register
.mca_component_name = "pt2pt",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = component_open,
.mca_register_component_params = component_register,
},
{ /* mca_base_component_data */
.osc_data = {
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
component_init,
component_query,
component_select,
component_finalize
.osc_init = component_init,
.osc_query = component_query,
.osc_select = component_select,
.osc_finalize = component_finalize,
}
};

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

@ -35,23 +35,21 @@ static int component_select(struct ompi_win_t *win, void **base, size_t size, in
ompi_osc_sm_component_t mca_osc_sm_component = {
{ /* ompi_osc_base_component_t */
{ /* ompi_base_component_t */
.osc_version = {
OMPI_OSC_BASE_VERSION_3_0_0,
"sm",
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
component_open,
NULL
.mca_component_name = "sm",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = component_open,
},
{ /* mca_base_component_data */
.osc_data = { /* mca_base_component_data */
/* The component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
component_init,
component_query,
component_select,
component_finalize
.osc_init = component_init,
.osc_query = component_query,
.osc_select = component_select,
.osc_finalize = component_finalize,
}
};

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

@ -1,4 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -14,6 +14,8 @@
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -58,26 +60,23 @@ mca_pml_base_component_2_0_0_t mca_pml_bfo_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_PML_BASE_VERSION_2_0_0,
"bfo", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_bfo_component_open, /* component open */
mca_pml_bfo_component_close, /* component close */
NULL,
mca_pml_bfo_component_register
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
.mca_component_name = "bfo",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_pml_bfo_component_open,
.mca_close_component = mca_pml_bfo_component_close,
.mca_register_component_params = mca_pml_bfo_component_register,
},
{
.pmlm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_pml_bfo_component_init, /* component init */
mca_pml_bfo_component_fini /* component finalize */
.pmlm_init = mca_pml_bfo_component_init,
.pmlm_finalize = mca_pml_bfo_component_fini,
};
void *mca_pml_bfo_seg_alloc( struct mca_mpool_base_module_t* mpool,

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2006-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -9,6 +10,8 @@
* All rights reserved.
* Copyright (c) 2010-2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2013 Sandia National Laboratories. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -36,29 +39,26 @@ static mca_pml_base_module_t* mca_pml_cm_component_init( int* priority,
static int mca_pml_cm_component_fini(void);
mca_pml_base_component_2_0_0_t mca_pml_cm_component = {
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
MCA_PML_BASE_VERSION_2_0_0,
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
"cm", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_cm_component_open, /* component open */
mca_pml_cm_component_close, /* component close */
NULL,
mca_pml_cm_component_register,
},
{
/* This component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
.mca_component_name = "cm",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_pml_cm_component_open,
.mca_close_component = mca_pml_cm_component_close,
.mca_register_component_params = mca_pml_cm_component_register,
},
.pmlm_data = {
/* This component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
mca_pml_cm_component_init, /* component init */
mca_pml_cm_component_fini /* component finalize */
.pmlm_init = mca_pml_cm_component_init,
.pmlm_finalize = mca_pml_cm_component_fini,
};
/* Array of send completion callback - one per send type

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

@ -39,25 +39,23 @@ mca_pml_crcpw_component_t mca_pml_crcpw_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
"crcpw", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_crcpw_component_open, /* component open */
mca_pml_crcpw_component_close, /* component close */
NULL,
mca_pml_crcpw_component_register
.mca_component_name = "crcpw",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_pml_crcpw_component_open,
.mca_close_component = mca_pml_crcpw_component_close,
.mca_register_component_params = mca_pml_crcpw_component_register,
},
{
.pmlm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_pml_crcpw_component_init, /* component init */
mca_pml_crcpw_component_finalize /* component finalize */
.pmlm_init = mca_pml_crcpw_component_init,
.pmlm_finalize = mca_pml_crcpw_component_finalize,
},
/* Verbosity */
0,

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

@ -6,6 +6,8 @@
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -32,25 +34,23 @@ mca_pml_base_component_2_0_0_t mca_pml_example_component = {
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
MCA_PML_BASE_VERSION_2_0_0,
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
"example", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_example_component_open, /* component open */
mca_pml_example_component_close, /* component close */
NULL,
mca_pml_example_component_register
},
{
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
.mca_component_name = "example",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_pml_example_component_open,
.mca_close_component = mca_pml_example_component_close,
.mca_register_component_params = mca_pml_example_component_register,
},
.pmlm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_pml_example_component_init, /* component init */
mca_pml_example_component_fini /* component finalize */
.pmlm_init = mca_pml_example_component_init,
.pmlm_finalize = mca_pml_example_component_fini,
};
static int mca_pml_example_component_register(void)

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

@ -55,30 +55,27 @@ int mca_pml_ob1_output = 0;
static int mca_pml_ob1_verbose = 0;
mca_pml_base_component_2_0_0_t mca_pml_ob1_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_PML_BASE_VERSION_2_0_0,
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
"ob1", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_ob1_component_open, /* component open */
mca_pml_ob1_component_close, /* component close */
NULL,
mca_pml_ob1_component_register
.mca_component_name = "ob1",
.mca_component_major_version = OMPI_MAJOR_VERSION,
.mca_component_minor_version = OMPI_MINOR_VERSION,
.mca_component_release_version = OMPI_RELEASE_VERSION,
.mca_open_component = mca_pml_ob1_component_open,
.mca_close_component = mca_pml_ob1_component_close,
.mca_register_component_params = mca_pml_ob1_component_register
},
{
.pmlm_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_pml_ob1_component_init, /* component init */
mca_pml_ob1_component_fini /* component finalize */
.pmlm_init = mca_pml_ob1_component_init,
.pmlm_finalize = mca_pml_ob1_component_fini,
};
void *mca_pml_ob1_seg_alloc( struct mca_mpool_base_module_t* mpool,

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

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2015 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -33,25 +36,23 @@ static int mca_pml_v_enable(bool enable);
mca_pml_base_component_2_0_0_t mca_pml_v_component =
{
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
MCA_PML_BASE_VERSION_2_0_0,
"v", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_v_component_open,
mca_pml_v_component_close,
NULL,
mca_pml_v_component_register
},
{
MCA_BASE_METADATA_PARAM_NONE /* Component is not checkpointable */
},
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
.mca_component_name = "v",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_pml_v_component_open,
.mca_close_component = mca_pml_v_component_close,
.mca_register_component_params = mca_pml_v_component_register,
},
.pmlm_data = {
MCA_BASE_METADATA_PARAM_NONE /* Component is not checkpointable */
},
mca_pml_v_component_init, /* component init */
mca_pml_v_component_finalize /* component finalize */
.pmlm_init = mca_pml_v_component_init,
.pmlm_finalize = mca_pml_v_component_finalize,
};
static bool pml_v_enable_progress_treads = OPAL_ENABLE_PROGRESS_THREADS;

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

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (C) Mellanox Technologies Ltd. 2001-2011. ALL RIGHTS RESERVED.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -24,25 +27,23 @@ mca_pml_base_component_2_0_0_t mca_pml_yalla_component = {
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
MCA_PML_BASE_VERSION_2_0_0,
.pmlm_version = {
MCA_PML_BASE_VERSION_2_0_0,
"yalla", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_pml_yalla_component_open, /* component open */
mca_pml_yalla_component_close, /* component close */
NULL,
mca_pml_yalla_component_register,
},
{
/* This component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
.mca_component_name = "yalla",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_pml_yalla_component_open,
.mca_close_component = mca_pml_yalla_component_close,
.mca_register_component_params = mca_pml_yalla_component_register,
},
.pmlm_data = {
/* This component is not checkpoint ready */
MCA_BASE_METADATA_PARAM_NONE
},
mca_pml_yalla_component_init, /* component init */
mca_pml_yalla_component_fini /* component finalize */
.pmlm_init = mca_pml_yalla_component_init,
.pmlm_finalize = mca_pml_yalla_component_fini,
};
static int mca_pml_yalla_component_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
* University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -33,22 +36,21 @@ ompi_pubsub_orte_component_t mca_pubsub_orte_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
OMPI_PUBSUB_BASE_VERSION_2_0_0,
.base_version = {
OMPI_PUBSUB_BASE_VERSION_2_0_0,
"orte", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
pubsub_orte_component_open, /* component open */
pubsub_orte_component_close, /* component close */
pubsub_orte_component_query, /* component query */
pubsub_orte_component_register /* component register */
.mca_component_name = "orte",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = pubsub_orte_component_open,
.mca_close_component = pubsub_orte_component_close,
.mca_query_component = pubsub_orte_component_query,
.mca_register_component_params = pubsub_orte_component_register,
},
{
.base_data = {
/* This component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
},
}
};

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

@ -1,7 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2011-2012 Los Alamos National Security, LLC. All rights
* Copyright (c) 2011-2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* $COPYRIGHT$
@ -29,22 +29,21 @@ static int pubsub_pmi_component_query(mca_base_module_t **module, int *priority)
static int my_priority = 100; /* must be above "orte" component */
ompi_pubsub_base_component_t mca_pubsub_pmi_component = {
{
.base_version = {
OMPI_PUBSUB_BASE_VERSION_2_0_0,
"pmi", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
pubsub_pmi_component_open, /* component open */
pubsub_pmi_component_close, /* component close */
pubsub_pmi_component_query, /* component query */
pubsub_pmi_component_register /* component register */
.mca_component_name = "pmi",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = pubsub_pmi_component_open,
.mca_close_component = pubsub_pmi_component_close,
.mca_query_component = pubsub_pmi_component_query,
.mca_register_component_params = pubsub_pmi_component_register,
},
{
.base_data = {
/* This component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
},
};
static int pubsub_pmi_component_register(void)

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -49,22 +52,19 @@ ompi_rte_orte_component_t mca_rte_orte_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OMPI_RTE_BASE_VERSION_1_0_0,
/* Component name and version */
"orte",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "orte",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
rte_orte_open,
rte_orte_close,
NULL,
NULL
.mca_open_component = rte_orte_open,
.mca_close_component = rte_orte_close,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},

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

@ -3,7 +3,7 @@
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
* Copyright (c) 2013-2014 Cisco Systems, Inc. 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.
* $COPYRIGHT$
*
@ -79,31 +79,26 @@ mca_sbgp_basesmsocket_component_t mca_sbgp_basesmsocket_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.sbgp_version = {
MCA_SBGP_BASE_VERSION_2_0_0,
/* Component name and version */
"basesmsocket",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "basesmsocket",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
basesmsocket_open,
basesmsocket_close,
NULL,
basesmsocket_register
.mca_open_component = basesmsocket_open,
.mca_close_component = basesmsocket_close,
.mca_register_component_params = basesmsocket_register,
},
mca_sbgp_basesmsocket_init_query,
mca_sbgp_basesmsocket_select_procs,
/* (default) priority */
0
.sbgp_init_query = mca_sbgp_basesmsocket_init_query,
.select_procs = mca_sbgp_basesmsocket_select_procs,
.priority = 0,
}
};
/*

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

@ -2,7 +2,7 @@
/*
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
* Copyright (c) 2013-2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
@ -64,31 +64,25 @@ mca_sbgp_basesmuma_component_t mca_sbgp_basesmuma_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.sbgp_version = {
MCA_SBGP_BASE_VERSION_2_0_0,
/* Component name and version */
"basesmuma",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "basesmuma",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open, close, and register functions */
basesmuma_open,
basesmuma_close,
NULL,
basesmuma_register
.mca_open_component = basesmuma_open,
.mca_close_component = basesmuma_close,
.mca_register_component_params = basesmuma_register,
},
mca_sbgp_basesmuma_init_query,
mca_sbgp_basesmuma_select_procs,
/* (default) priority */
0
.sbgp_init_query = mca_sbgp_basesmuma_init_query,
.select_procs = mca_sbgp_basesmuma_select_procs,
.priority = 0,
}
};
/*

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

@ -1,9 +1,12 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
* Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -62,27 +65,25 @@ mca_sbgp_ibnet_component_t mca_sbgp_ibnet_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.sbgp_version = {
MCA_SBGP_BASE_VERSION_2_0_0,
/* Component name and version */
"ibnet",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "ibnet",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
mca_sbgp_ibnet_open, /* mca_open_component */
mca_sbgp_ibnet_close, /* mca_close_component */
NULL, /* mca_query_component */
mca_sbgp_ibnet_register_params, /* mca_register_component_params */
.mca_open_component = mca_sbgp_ibnet_open,
.mca_close_component = mca_sbgp_ibnet_close,
.mca_register_component_params = mca_sbgp_ibnet_register_params,
},
mca_sbgp_ibnet_init_query, /* sbgp_init_query */
mca_sbgp_ibnet_select_procs, /* select_procs */
0, /* (default) priority */
.sbgp_init_query = mca_sbgp_ibnet_init_query,
.select_procs =mca_sbgp_ibnet_select_procs,
.priority = 0,
},
/* verbose mode */

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

@ -2,7 +2,7 @@
/*
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2009-2012 Mellanox Technologies. 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.
* $COPYRIGHT$
*
@ -64,29 +64,24 @@ mca_sbgp_p2p_component_t mca_sbgp_p2p_component = {
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.sbgp_version = {
MCA_SBGP_BASE_VERSION_2_0_0,
/* Component name and version */
"p2p",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "p2p",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* Component open and close functions */
p2p_open,
p2p_close,
NULL,
p2p_register
.mca_open_component = p2p_open,
.mca_close_component = p2p_close,
.mca_register_component_params = p2p_register,
},
mca_sbgp_p2p_init_query,
/* select function */
mca_sbgp_p2p_select_procs,
/* (default) priority */
0
.sbgp_init_query = mca_sbgp_p2p_init_query,
.select_procs = mca_sbgp_p2p_select_procs,
.priority = 0,
}
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2013 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -53,23 +56,22 @@ mca_sharedfp_base_component_2_0_0_t mca_sharedfp_addproc_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.sharedfpm_version = {
MCA_SHAREDFP_BASE_VERSION_2_0_0,
/* Component name and version */
"addproc",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "addproc",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = addproc_register,
},
{
.sharedfpm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_sharedfp_addproc_component_init_query, /* get thread level */
mca_sharedfp_addproc_component_file_query, /* get priority and actions */
mca_sharedfp_addproc_component_file_unquery /* undo what was done by previous function */
.sharedfpm_init_query = mca_sharedfp_addproc_component_init_query, /* get thread level */
.sharedfpm_file_query = mca_sharedfp_addproc_component_file_query, /* get priority and actions */
.sharedfpm_file_unquery = mca_sharedfp_addproc_component_file_unquery, /* undo what was done by previous function */
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2013 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -50,23 +53,22 @@ mca_sharedfp_base_component_2_0_0_t mca_sharedfp_individual_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.sharedfpm_version = {
MCA_SHAREDFP_BASE_VERSION_2_0_0,
/* Component name and version */
"individual",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "individual",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = individual_register,
},
{
.sharedfpm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_sharedfp_individual_component_init_query, /* get thread level */
mca_sharedfp_individual_component_file_query, /* get priority and actions */
mca_sharedfp_individual_component_file_unquery /* undo what was done by previous function */
.sharedfpm_init_query = mca_sharedfp_individual_component_init_query, /* get thread level */
.sharedfpm_file_query = mca_sharedfp_individual_component_file_query, /* get priority and actions */
.sharedfpm_file_unquery = mca_sharedfp_individual_component_file_unquery, /* undo what was done by previous function */
};
static int individual_register(void)

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2013 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -49,23 +52,22 @@ mca_sharedfp_base_component_2_0_0_t mca_sharedfp_lockedfile_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.sharedfpm_version = {
MCA_SHAREDFP_BASE_VERSION_2_0_0,
/* Component name and version */
"lockedfile",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "lockedfile",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = lockedfile_register,
},
{
.sharedfpm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_sharedfp_lockedfile_component_init_query, /* get thread level */
mca_sharedfp_lockedfile_component_file_query, /* get priority and actions */
mca_sharedfp_lockedfile_component_file_unquery /* undo what was done by previous function */
.sharedfpm_init_query = mca_sharedfp_lockedfile_component_init_query, /* get thread level */
.sharedfpm_file_query = mca_sharedfp_lockedfile_component_file_query, /* get priority and actions */
.sharedfpm_file_unquery = mca_sharedfp_lockedfile_component_file_unquery, /* undo what was done by previous function */
};
static int lockedfile_register(void)

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2013 University of Houston. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -49,23 +52,22 @@ mca_sharedfp_base_component_2_0_0_t mca_sharedfp_sm_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.sharedfpm_version = {
MCA_SHAREDFP_BASE_VERSION_2_0_0,
/* Component name and version */
"sm",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "sm",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_register_component_params = sm_register,
},
{
.sharedfpm_data = {
/* This component is checkpointable */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_sharedfp_sm_component_init_query, /* get thread level */
mca_sharedfp_sm_component_file_query, /* get priority and actions */
mca_sharedfp_sm_component_file_unquery /* undo what was done by previous function */
.sharedfpm_init_query = mca_sharedfp_sm_component_init_query, /* get thread level */
.sharedfpm_file_query = mca_sharedfp_sm_component_file_query, /* get priority and actions */
.sharedfpm_file_unquery =mca_sharedfp_sm_component_file_unquery, /* undo what was done by previous function */
};
static int sm_register(void)

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011-2013 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
@ -6,6 +7,8 @@
* Copyright (c) 2011-2013 Université Bordeaux 1
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -34,24 +37,22 @@ comm_query(const ompi_communicator_t *comm, int *priority, uint32_t type);
*/
mca_topo_basic_component_t mca_topo_basic_component =
{
{
.topoc_version = {
MCA_TOPO_BASE_VERSION_2_2_0,
"basic",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "basic",
.mca_component_major_version = OMPI_MAJOR_VERSION,
.mca_component_minor_version = OMPI_MINOR_VERSION,
.mca_component_release_version = OMPI_RELEASE_VERSION,
/* NULLs for the rest of the function pointers */
},
{
.topoc_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
init_query,
comm_query
.topoc_init_query = init_query,
.topoc_comm_query = comm_query,
};

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012-2013 Inria. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -39,24 +42,22 @@ comm_query(const ompi_communicator_t *comm, int *priority, uint32_t type);
*/
mca_topo_base_component_2_2_0_t mca_topo_example_component =
{
{
.topoc_version = {
MCA_TOPO_BASE_VERSION_2_2_0,
"example",
OMPI_MAJOR_VERSION,
OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION,
.mca_component_name = "example",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
/* NULLs for the rest of the function pointers */
},
{
.topoc_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
init_query,
comm_query
.topoc_init_query = init_query,
.topoc_comm_query = comm_query,
};

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2007 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -30,23 +33,22 @@ mca_pml_v_protocol_base_component_2_0_0_t mca_vprotocol_example_component =
{
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
.pmlm_version = {
MCA_VPROTOCOL_BASE_VERSION_2_0_0,
"example", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_vprotocol_example_component_open, /* component open */
mca_vprotocol_example_component_close /* component close */
.mca_component_name = "example",
MCA_BASE_MAKE_VERSION(component, OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION,
OMPI_RELEASE_VERSION),
.mca_open_component = mca_vprotocol_example_component_open,
.mca_close_component = mca_vprotocol_example_component_close,
},
{
.pmlm_data = {
/* component is not checkpointable */
MCA_BASE_METADATA_PARAM_NONE
},
mca_vprotocol_example_component_init, /* component init */
mca_vprotocol_example_component_finalize /* component finalize */
.pmlm_init = mca_vprotocol_example_component_init,
.pmlm_finalize = mca_vprotocol_example_component_finalize,
};
/** MCA level functions

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

@ -35,25 +35,24 @@ mca_vprotocol_base_component_2_0_0_t mca_vprotocol_pessimist_component =
{
/* First, the mca_base_component_t struct containing meta
* information about the component itself */
{
MCA_VPROTOCOL_BASE_VERSION_2_0_0,
.pmlm_version = {
MCA_VPROTOCOL_BASE_VERSION_2_0_0,
"pessimist", /* MCA component name */
OMPI_MAJOR_VERSION, /* MCA component major version */
OMPI_MINOR_VERSION, /* MCA component minor version */
OMPI_RELEASE_VERSION, /* MCA component release version */
mca_vprotocol_pessimist_component_open, /* component open */
mca_vprotocol_pessimist_component_close, /* component close */
NULL,
mca_vprotocol_pessimist_component_register
.mca_component_name = "pessimist",
.mca_component_major_version = OMPI_MAJOR_VERSION,
.mca_component_minor_version = OMPI_MINOR_VERSION,
.mca_component_release_version = OMPI_RELEASE_VERSION,
.mca_open_component = mca_vprotocol_pessimist_component_open,
.mca_close_component = mca_vprotocol_pessimist_component_close,
.mca_register_component_params = mca_vprotocol_pessimist_component_register,
},
{
.pmlm_data = {
/* component is not checkpointable */
MCA_BASE_METADATA_PARAM_NONE
},
mca_vprotocol_pessimist_component_init, /* component init */
mca_vprotocol_pessimist_component_finalize /* component finalize */
.pmlm_init = mca_vprotocol_pessimist_component_init,
.pmlm_finalize = mca_vprotocol_pessimist_component_finalize,
};
/** MCA level functions

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

@ -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
* University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -23,20 +26,15 @@
const opal_backtrace_base_component_2_0_0_t mca_backtrace_execinfo_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.backtracec_version = {
OPAL_BACKTRACE_BASE_VERSION_2_0_0,
/* Component name and version */
"execinfo",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
/* Component open and close functions */
NULL,
NULL
.mca_component_name = "execinfo",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
},
{
.backtracec_data = {
/* The component is checkpoint ready */
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
* University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -27,20 +30,15 @@ END_C_DECLS
const opal_backtrace_base_component_2_0_0_t mca_backtrace_none_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.backtracec_version = {
OPAL_BACKTRACE_BASE_VERSION_2_0_0,
/* Component name and version */
"none",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
/* Component open and close functions */
NULL,
NULL
.mca_component_name = "none",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
},
{
.backtracec_data = {
/* The component is checkpoint ready */
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
* University Research and Technology
@ -9,6 +10,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -23,20 +26,15 @@
const opal_backtrace_base_component_2_0_0_t mca_backtrace_printstack_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.backtracec_version = {
OPAL_BACKTRACE_BASE_VERSION_2_0_0,
/* Component name and version */
"printstack",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
/* Component open and close functions */
NULL,
NULL
.mca_component_name = "printstack",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
},
{
.backtracec_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},

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

@ -1171,9 +1171,8 @@ typedef struct mca_btl_base_module_t mca_btl_base_module_t;
#define MCA_BTL_DEFAULT_VERSION(name) \
MCA_BTL_BASE_VERSION_3_0_0, \
.mca_component_name = name, \
.mca_component_major_version = OPAL_MAJOR_VERSION, \
.mca_component_minor_version = OPAL_MINOR_VERSION, \
.mca_component_release_version = OPAL_RELEASE_VERSION \
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION, \
OPAL_RELEASE_VERSION)
END_C_DECLS

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -38,30 +41,27 @@ opal_compress_bzip_component_t mca_compress_bzip_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itbzip
*/
{
.base_version = {
OPAL_COMPRESS_BASE_VERSION_2_0_0,
/* Component name and version */
"bzip",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "bzip",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
compress_bzip_open,
compress_bzip_close,
opal_compress_bzip_component_query,
compress_bzip_register
.mca_open_component = compress_bzip_open,
.mca_close_component = compress_bzip_close,
.mca_query_component = opal_compress_bzip_component_query,
.mca_register_component_params = compress_bzip_register
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1
.verbose = 0,
.output_handle = -1,
}
};

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -38,30 +41,27 @@ opal_compress_gzip_component_t mca_compress_gzip_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itgzip
*/
{
.base_version = {
OPAL_COMPRESS_BASE_VERSION_2_0_0,
/* Component name and version */
"gzip",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "gzip",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
compress_gzip_open,
compress_gzip_close,
opal_compress_gzip_component_query,
compress_gzip_register
.mca_open_component = compress_gzip_open,
.mca_close_component = compress_gzip_close,
.mca_query_component = opal_compress_gzip_component_query,
.mca_register_component_params = compress_gzip_register
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1
.verbose = 0,
.output_handle = -1,
}
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2009 The Trustees of Indiana University.
* All rights reserved.
@ -7,6 +8,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -42,30 +45,27 @@ opal_crs_blcr_component_t mca_crs_blcr_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itself
*/
{
.base_version = {
OPAL_CRS_BASE_VERSION_2_0_0,
/* Component name and version */
"blcr",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "blcr",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
crs_blcr_open,
crs_blcr_close,
opal_crs_blcr_component_query,
crs_blcr_register
.mca_open_component = crs_blcr_open,
.mca_close_component = crs_blcr_close,
.mca_query_component = opal_crs_blcr_component_query,
.mca_register_component_params = crs_blcr_register
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1
.verbose = 0,
.output_handle = -1,
}
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2009 The Trustees of Indiana University.
* All rights reserved.
@ -8,6 +9,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2014 Hochschule Esslingen. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -40,30 +43,27 @@ opal_crs_criu_component_t mca_crs_criu_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itself
*/
{
.base_version = {
OPAL_CRS_BASE_VERSION_2_0_0,
/* Component name and version */
"criu",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "criu",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
crs_criu_open,
crs_criu_close,
opal_crs_criu_component_query,
crs_criu_register
.mca_open_component = crs_criu_open,
.mca_close_component = crs_criu_close,
.mca_query_component = opal_crs_criu_component_query,
.mca_register_component_params = crs_criu_register,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1
.verbose = 0,
.output_handle = -1,
},
/* criu log file */
LOG_FILE,

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

@ -1,8 +1,11 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2010 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2010-2011 Alex Brick <bricka@ccs.neu.edu>.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -37,30 +40,27 @@ opal_crs_dmtcp_component_t mca_crs_dmtcp_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itself
*/
{
.base_version = {
OPAL_CRS_BASE_VERSION_2_0_0,
/* Component name and version */
"dmtcp",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "dmtcp",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
crs_dmtcp_open,
crs_dmtcp_close,
opal_crs_dmtcp_component_query,
crs_dmtcp_register
.mca_open_component = crs_dmtcp_open,
.mca_close_component = crs_dmtcp_close,
.mca_query_component = opal_crs_dmtcp_component_query,
.mca_register_component_params = crs_dmtcp_register,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1
.verbose = 0,
.output_handle = -1
}
};

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2009 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -38,32 +41,28 @@ opal_crs_none_component_t mca_crs_none_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itnone
*/
{
.base_version = {
OPAL_CRS_BASE_VERSION_2_0_0,
/* Component name and version */
"none",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "none",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
crs_none_open,
crs_none_close,
opal_crs_none_component_query,
crs_none_register
.mca_open_component = crs_none_open,
.mca_close_component = crs_none_close,
.mca_query_component = opal_crs_none_component_query,
.mca_register_component_params = crs_none_register,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* Verbosity level */
0,
/* opal_output handler */
-1,
/* Default priority */
1
.verbose = 0,
.output_handle = -1,
.priority = 1,
}
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2009 The Trustees of Indiana University.
* All rights reserved.
@ -7,6 +8,8 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, Inc. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -45,20 +48,19 @@ opal_crs_self_component_t mca_crs_self_component = {
/* Handle the general mca_component_t struct containing
* meta information about the component itself
*/
{
.base_version = {
OPAL_CRS_BASE_VERSION_2_0_0,
/* Component name and version */
"self",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "self",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
crs_self_open,
crs_self_close,
opal_crs_self_component_query,
crs_self_register
.mca_open_component = crs_self_open,
.mca_close_component = crs_self_close,
.mca_query_component = opal_crs_self_component_query,
.mca_register_component_params = crs_self_register,
},
{
/* The component is checkpoint ready */

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

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -47,10 +50,9 @@ opal_dl_dlopen_component_t mca_dl_dlopen_component = {
OPAL_DL_BASE_VERSION_1_0_0,
/* Component name and version */
"dlopen",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "dlopen",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component functions */
.mca_register_component_params = dlopen_component_register,

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

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, Inc. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -48,10 +51,9 @@ opal_dl_libltdl_component_t mca_dl_libltdl_component = {
OPAL_DL_BASE_VERSION_1_0_0,
/* Component name and version */
"libltdl",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "libltdl",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component functions */
.mca_register_component_params = libltdl_component_register,

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

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved.
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -33,28 +36,22 @@ static int dstore_hash_query(mca_base_module_t **module, int *priority);
* and pointers to our public functions in it
*/
opal_dstore_base_component_t mca_dstore_hash_component = {
{
.base_version = {
OPAL_DSTORE_BASE_VERSION_2_0_0,
/* Component name and version */
"hash",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "hash",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
dstore_hash_query,
NULL
.mca_query_component = dstore_hash_query,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
component_create,
NULL,
NULL
.create_handle = component_create,
};
static int dstore_hash_query(mca_base_module_t **module, int *priority)

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/* Copyright (c) 2014 Mellanox Technologies, Inc.
* All rights reserved.
* Copyright (c) 2015 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -32,28 +35,23 @@ static int component_register(void);
* and pointers to our public functions in it
*/
opal_dstore_base_component_t mca_dstore_sm_component = {
{
.base_version = {
OPAL_DSTORE_BASE_VERSION_2_0_0,
/* Component name and version */
"sm",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "sm",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
dstore_sm_query,
component_register
.mca_query_component = dstore_sm_query,
.mca_register_component_params = component_register
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
component_create,
component_update,
NULL
.create_handle = component_create,
.update_handle = component_update,
};
static int dstore_sm_query(mca_base_module_t **module, int *priority)

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

@ -1,6 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011 Cisco Systems, Inc. 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$
*
@ -37,20 +39,18 @@ const opal_event_component_t mca_event_external_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OPAL_EVENT_BASE_VERSION_2_0_0,
/* Component name and version */
"external",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "external",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
event_external_open,
NULL
.mca_open_component = event_external_open,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

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

@ -1,7 +1,7 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights reserved.
* Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights reserved.
* Copyright (c) 2015 Intel, Inc. All rights reserved.
*
* $COPYRIGHT$
@ -102,20 +102,19 @@ const opal_event_component_t mca_event_libevent2022_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OPAL_EVENT_BASE_VERSION_2_0_0,
/* Component name and version */
"libevent2022",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "libevent2022",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component functions */
.mca_open_component = libevent2022_open,
.mca_register_component_params = libevent2022_register
},
{
.base_data = {
/* The component is checkpoint ready */
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) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -36,23 +39,21 @@ const opal_hwloc_component_t mca_hwloc_external_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OPAL_HWLOC_BASE_VERSION_2_0_0,
/* Component name and version */
"external",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "external",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
hwloc_external_open,
NULL
.mca_open_component = hwloc_external_open,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}
},
};
static int hwloc_external_open(void)

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

@ -1,6 +1,9 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -37,20 +40,15 @@ const opal_hwloc_component_t mca_hwloc_hwloc191_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OPAL_HWLOC_BASE_VERSION_2_0_0,
/* Component name and version */
"hwloc191",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
/* Component open and close functions */
NULL,
NULL
.mca_component_name = "hwloc191",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

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

@ -361,18 +361,20 @@ typedef struct mca_base_component_data_2_0_0_t mca_base_component_data_2_0_0_t;
#define MCA_BASE_VERSION_MINOR 1
#define MCA_BASE_VERSION_RELEASE 0
#define MCA_BASE_VERSION_2_1_0(project, project_major, project_minor, project_release, type, type_major, type_minor, type_release) \
#define MCA_BASE_MAKE_VERSION(level, MAJOR, MINOR, RELEASE) \
.mca_## level ##_major_version = MAJOR, \
.mca_## level ##_minor_version = MINOR, \
.mca_## level ##_release_version = RELEASE
#define MCA_BASE_VERSION_2_1_0(PROJECT, project_major, project_minor, project_release, TYPE, type_major, type_minor, type_release) \
.mca_major_version = MCA_BASE_VERSION_MAJOR, \
.mca_minor_version = MCA_BASE_VERSION_MINOR, \
.mca_release_version = MCA_BASE_VERSION_RELEASE, \
.mca_project_name = project, \
.mca_project_major_version = project_major, \
.mca_project_minor_version = project_minor, \
.mca_project_release_version = project_release, \
.mca_type_name = type, \
.mca_type_major_version = type_major, \
.mca_type_minor_version = type_minor, \
.mca_type_release_version = type_release
.mca_project_name = PROJECT, \
MCA_BASE_MAKE_VERSION(project, project_major, project_minor, project_release), \
.mca_type_name = TYPE, \
MCA_BASE_MAKE_VERSION(type, type_major, type_minor, type_release)
#define OPAL_MCA_BASE_VERSION_2_1_0(type, type_major, type_minor, type_release) \
MCA_BASE_VERSION_2_1_0("opal", OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION, OPAL_RELEASE_VERSION, type, type_major, type_minor, type_release)

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

@ -1,10 +1,12 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2008 The Trustees of Indiana University.
* All rights reserved.
*
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -50,22 +52,21 @@ const opal_memchecker_base_component_2_0_0_t mca_memchecker_valgrind_component =
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OPAL_MEMCHECKER_BASE_VERSION_2_0_0,
/* Component name and version */
"valgrind",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "valgrind",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
valgrind_open,
valgrind_close,
opal_memchecker_valgrind_component_query,
valgrind_register
.mca_open_component = valgrind_open,
.mca_close_component = valgrind_close,
.mca_query_component = opal_memchecker_valgrind_component_query,
.mca_register_component_params = valgrind_register
},
{
.base_data = {
/* Valgrind does not offer functionality to save the state */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

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

@ -11,8 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2009-2014 Cisco Systems, Inc. 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$
*
* Additional copyrights may follow
@ -68,22 +68,20 @@ opal_memory_linux_component_t mca_memory_linux_component = {
{
/* First, the mca_component_t struct containing meta
information about the component itself */
{
.memoryc_version = {
OPAL_MEMORY_BASE_VERSION_2_0_0,
/* Component name and version */
"linux",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "linux",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
linux_open,
linux_close,
NULL,
linux_register,
.mca_open_component = linux_open,
.mca_close_component = linux_close,
.mca_register_component_params = linux_register,
},
{
.memoryc_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
@ -91,9 +89,8 @@ opal_memory_linux_component_t mca_memory_linux_component = {
/* Memory framework functions. These function pointer values
are replaced by memory_linux_ummunotify.c at run time if we
end up using ummunotify support. */
NULL,
opal_memory_base_component_register_empty,
opal_memory_base_component_deregister_empty
.memoryc_register = opal_memory_base_component_register_empty,
.memoryc_deregister = opal_memory_base_component_deregister_empty,
},
/* Component-specific data, filled in later (compiler will 0/NULL

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

@ -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
* University Research and Technology
@ -11,6 +12,8 @@
* All rights reserved.
* Copyright (c) 2007-2011 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009-2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -45,29 +48,26 @@ static int opal_memory_malloc_open(void);
const opal_memory_base_component_2_0_0_t mca_memory_malloc_solaris_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.memoryc_version = {
OPAL_MEMORY_BASE_VERSION_2_0_0,
/* Component name and version */
"malloc_solaris",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "malloc_solaris",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
opal_memory_malloc_open,
NULL
.mca_open_component = opal_memory_malloc_open,
},
{
.memoryc_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
/* This component doesn't need these functions, but need to
provide safe/empty register/deregister functions to call */
NULL,
opal_memory_base_component_register_empty,
opal_memory_base_component_deregister_empty,
.memoryc_register = opal_memory_base_component_register_empty,
.memoryc_deregister = opal_memory_base_component_deregister_empty,
};
/*

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -12,6 +13,8 @@
* Copyright (c) 2006 Voltaire. All rights reserved.
* Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -44,24 +47,22 @@ mca_mpool_gpusm_component_t mca_mpool_gpusm_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_MPOOL_BASE_VERSION_2_0_0,
.mpool_version = {
MCA_MPOOL_BASE_VERSION_2_0_0,
"gpusm", /* MCA component name */
OPAL_MAJOR_VERSION, /* MCA component major version */
OPAL_MINOR_VERSION, /* MCA component minor version */
OPAL_RELEASE_VERSION, /* MCA component release version */
gpusm_open, /* component open */
gpusm_close,
NULL,
gpusm_register
},
{
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
.mca_component_name = "gpusm",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
.mca_open_component = gpusm_open,
.mca_close_component = gpusm_close,
.mca_register_component_params = gpusm_register,
},
.mpool_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
gpusm_init
.mpool_init = gpusm_init,
}
};

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

@ -12,7 +12,7 @@
* All rights reserved.
* Copyright (c) 2006 Voltaire. All rights reserved.
* Copyright (c) 2007-2014 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
* Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
@ -47,24 +47,22 @@ mca_mpool_grdma_component_t mca_mpool_grdma_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_MPOOL_BASE_VERSION_2_0_0,
.mpool_version = {
MCA_MPOOL_BASE_VERSION_2_0_0,
"grdma", /* MCA component name */
OPAL_MAJOR_VERSION, /* MCA component major version */
OPAL_MINOR_VERSION, /* MCA component minor version */
OPAL_RELEASE_VERSION, /* MCA component release version */
grdma_open, /* component open */
grdma_close,
NULL,
grdma_register
},
{
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
.mca_component_name = "grdma",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
.mca_open_component = grdma_open,
.mca_close_component = grdma_close,
.mca_register_component_params = grdma_register,
},
.mpool_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
grdma_init
.mpool_init = grdma_init,
}
};

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

@ -1,3 +1,4 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
@ -12,6 +13,8 @@
* Copyright (c) 2006 Voltaire. All rights reserved.
* Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -43,27 +46,25 @@ static int opal_mpool_rgpusm_verbose = 0;
mca_mpool_rgpusm_component_t mca_mpool_rgpusm_component = {
{
/* First, the mca_base_component_t struct containing meta
information about the component itself */
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_MPOOL_BASE_VERSION_2_0_0,
.mpool_version = {
MCA_MPOOL_BASE_VERSION_2_0_0,
"rgpusm", /* MCA component name */
OPAL_MAJOR_VERSION, /* MCA component major version */
OPAL_MINOR_VERSION, /* MCA component minor version */
OPAL_RELEASE_VERSION, /* MCA component release version */
rgpusm_open, /* component open */
rgpusm_close,
NULL,
rgpusm_register
},
{
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
.mca_component_name = "rgpusm",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
.mca_open_component = rgpusm_open,
.mca_close_component = rgpusm_close,
.mca_register_component_params = rgpusm_register,
},
.mpool_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
rgpusm_init
.mpool_init = rgpusm_init
}
};

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

@ -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
* University Research and Technology
@ -11,8 +12,8 @@
* All rights reserved.
* Copyright (c) 2007-2009 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2010-2013 Los Alamos National Security, LLC.
* All rights reserved.
* Copyright (c) 2010-2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
* $COPYRIGHT$
*
@ -59,24 +60,22 @@ mca_mpool_sm_component_t mca_mpool_sm_component = {
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_MPOOL_BASE_VERSION_2_0_0,
.mpool_version = {
MCA_MPOOL_BASE_VERSION_2_0_0,
"sm", /* MCA component name */
OPAL_MAJOR_VERSION, /* MCA component major version */
OPAL_MINOR_VERSION, /* MCA component minor version */
OPAL_RELEASE_VERSION, /* MCA component release version */
mca_mpool_sm_open, /* component open */
mca_mpool_sm_close,
NULL,
mca_mpool_sm_register
},
{
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
.mca_component_name = "sm",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
.mca_open_component = mca_mpool_sm_open,
.mca_close_component = mca_mpool_sm_close,
.mca_register_component_params = mca_mpool_sm_register,
},
.mpool_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_mpool_sm_init
.mpool_init = mca_mpool_sm_init,
}
};

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

@ -12,7 +12,7 @@
* All rights reserved.
* Copyright (c) 2006 Voltaire. All rights reserved.
* Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights
* Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
@ -47,27 +47,25 @@ static mca_mpool_base_module_t* udreg_init(
mca_mpool_udreg_component_t mca_mpool_udreg_component = {
{
/* First, the mca_base_component_t struct containing meta
information about the component itself */
/* First, the mca_base_component_t struct containing meta
information about the component itself */
{
MCA_MPOOL_BASE_VERSION_2_0_0,
.mpool_version ={
MCA_MPOOL_BASE_VERSION_2_0_0,
"udreg", /* MCA component name */
OPAL_MAJOR_VERSION, /* MCA component major version */
OPAL_MINOR_VERSION, /* MCA component minor version */
OPAL_RELEASE_VERSION, /* MCA component release version */
udreg_open, /* component open */
udreg_close,
NULL,
udreg_register
},
{
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
.mca_component_name = "udreg",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
.mca_open_component = udreg_open,
.mca_close_component = udreg_close,
.mca_register_component_params = udreg_register,
},
.mpool_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
udreg_init
.mpool_init = udreg_init
}
};

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

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -45,7 +48,7 @@ opal_pmix_cray_component_t mca_pmix_cray_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a pmix v1.1.0 component (which also
implies a specific MCA version) */
@ -53,20 +56,18 @@ opal_pmix_cray_component_t mca_pmix_cray_component = {
/* Component name and version */
"cray",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "cray",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
pmix_cray_component_open,
pmix_cray_component_close,
pmix_cray_component_query,
NULL
.mca_open_component = pmix_cray_component_open,
.mca_close_component = pmix_cray_component_close,
.mca_query_component = pmix_cray_component_query,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

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

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -47,7 +50,7 @@ opal_pmix_native_component_t mca_pmix_native_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a pmix v1.1.0 component (which also
implies a specific MCA version) */
@ -55,20 +58,18 @@ opal_pmix_native_component_t mca_pmix_native_component = {
/* Component name and version */
"native",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "native",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
pmix_native_open,
pmix_native_close,
pmix_native_component_query,
NULL
.mca_open_component = pmix_native_open,
.mca_close_component = pmix_native_close,
.mca_query_component = pmix_native_component_query,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_data = {
/* The component is checkpoint ready */
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) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -42,7 +45,7 @@ opal_pmix_base_component_t mca_pmix_s1_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a pmix v1.1.0 component (which also
implies a specific MCA version) */
@ -50,24 +53,20 @@ opal_pmix_base_component_t mca_pmix_s1_component = {
/* Component name and version */
"s1",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "s1",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
pmix_s1_component_query,
pmix_s1_component_register
.mca_query_component = pmix_s1_component_query,
.mca_register_component_params = pmix_s1_component_register,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
10 /*component priority */
.priority = 10,
};
static int pmix_s1_component_register(void)

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

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -42,7 +45,7 @@ opal_pmix_base_component_t mca_pmix_s2_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a pmix v1.1.0 component (which also
implies a specific MCA version) */
@ -50,24 +53,19 @@ opal_pmix_base_component_t mca_pmix_s2_component = {
/* Component name and version */
"s2",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "s2",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
pmix_s2_component_query,
pmix_s2_component_register
.mca_query_component = pmix_s2_component_query,
.mca_register_component_params = pmix_s2_component_register,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
20 /* component priority */
.priority = 20,
};

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

@ -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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -50,25 +53,20 @@ const opal_pstat_base_component_t mca_pstat_linux_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
OPAL_PSTAT_BASE_VERSION_2_0_0,
/* Component name and version */
"linux",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "linux",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
pstat_linux_component_query,
NULL,
.mca_query_component = pstat_linux_component_query,
},
{
.base_data = {
/* The component is checkpoint ready */
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
* University Research and Technology
@ -10,6 +11,8 @@
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2007-2011 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -51,7 +54,7 @@ const opal_pstat_base_component_t mca_pstat_test_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a pstat v1.1.0 component (which also
implies a specific MCA version) */
@ -59,20 +62,14 @@ const opal_pstat_base_component_t mca_pstat_test_component = {
/* Component name and version */
"test",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "test",
MCA_BASE_MAKE_VERSION (component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
NULL,
NULL,
pstat_test_component_query,
NULL
.mca_query_component = pstat_test_component_query,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

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

@ -1,8 +1,11 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2006-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2006 Voltaire. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -22,21 +25,19 @@ static mca_rcache_base_module_t* mca_rcache_vma_component_init( void );
mca_rcache_vma_component_t mca_rcache_vma_component = {
{
{
.rcache_version = {
MCA_RCACHE_BASE_VERSION_2_0_0,
"vma", /* MCA component name */
OPAL_MAJOR_VERSION, /* MCA component major version */
OPAL_MINOR_VERSION, /* MCA component minor version */
OPAL_RELEASE_VERSION, /* MCA component release version */
mca_rcache_vma_component_open, /* component open */
NULL
.mca_component_name = "vma",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
.mca_open_component = mca_rcache_vma_component_open,
},
{
.rcache_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
},
mca_rcache_vma_component_init
.rcache_init = mca_rcache_vma_component_init,
}
};

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

@ -1,5 +1,8 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -40,7 +43,7 @@ opal_reachable_base_component_t mca_reachable_netlink_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a reachable v1.1.0 component (which also
implies a specific MCA version) */
@ -48,20 +51,19 @@ opal_reachable_base_component_t mca_reachable_netlink_component = {
/* Component name and version */
"netlink",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "netlink",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
reachable_netlink_open,
reachable_netlink_close,
reachable_netlink_component_query,
component_register
.mca_open_component = reachable_netlink_open,
.mca_close_component = reachable_netlink_close,
.mca_query_component = reachable_netlink_component_query,
.mca_register_component_params = component_register,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

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

@ -1,7 +1,10 @@
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -48,7 +51,7 @@ opal_reachable_weighted_component_t mca_reachable_weighted_component = {
/* First, the mca_component_t struct containing meta information
about the component itself */
{
.base_version = {
/* Indicate that we are a reachable v1.1.0 component (which also
implies a specific MCA version) */
@ -56,23 +59,22 @@ opal_reachable_weighted_component_t mca_reachable_weighted_component = {
/* Component name and version */
"weighted",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "weighted",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
reachable_weighted_open,
reachable_weighted_close,
reachable_weighted_component_query,
component_register
.mca_open_component = reachable_weighted_open,
.mca_close_component = reachable_weighted_close,
.mca_query_component = reachable_weighted_component_query,
.mca_register_component_params = component_register,
},
/* Next the MCA v1.0.0 component meta data */
{
.base_version = {
/* The component is checkpoint ready */
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) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -25,22 +28,20 @@ static int sec_basic_component_close(void);
* and pointers to our public functions in it
*/
opal_sec_base_component_t mca_sec_basic_component = {
{
.base_version = {
OPAL_SEC_BASE_VERSION_1_0_0,
/* Component name and version */
"basic",
OPAL_MAJOR_VERSION,
OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION,
.mca_component_name = "basic",
MCA_BASE_MAKE_VERSION(component, OPAL_MAJOR_VERSION, OPAL_MINOR_VERSION,
OPAL_RELEASE_VERSION),
/* Component open and close functions */
sec_basic_component_open,
sec_basic_component_close,
sec_basic_component_query,
NULL
.mca_open_component = sec_basic_component_open,
.mca_close_component = sec_basic_component_close,
.mca_query_component = sec_basic_component_query,
},
{
.base_data = {
/* The component is checkpoint ready */
MCA_BASE_METADATA_PARAM_CHECKPOINT
}

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше