ompi: use C99 subobject naming for component initialization
This commit helps future-proof ompi components by initializing each component member by name. Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
Этот коммит содержится в:
родитель
45e053dbce
Коммит
df75d0382f
@ -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
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user