root/ompi/mca/rte/base/rte_base_frame.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. ompi_rte_base_close
  2. ompi_rte_base_open

   1 /*
   2  * Copyright (c) 2012-2013 Los Alamos National Security, LLC.
   3  *                         All rights reserved.
   4  * Copyright (c) 2014 Cisco Systems, Inc.  All rights reserved.
   5  * $COPYRIGHT$
   6  *
   7  * Additional copyrights may follow
   8  *
   9  * $HEADER$
  10  */
  11 
  12 
  13 #include "ompi_config.h"
  14 #include "ompi/constants.h"
  15 
  16 #include "opal_stdint.h"
  17 #include "opal/util/output.h"
  18 #include "ompi/mca/mca.h"
  19 #include "opal/mca/base/base.h"
  20 
  21 #include "ompi/mca/rte/rte.h"
  22 #include "ompi/mca/rte/base/base.h"
  23 
  24 
  25 /*
  26  * The following file was created by configure.  It contains extern
  27  * statements and the definition of an array of pointers to each
  28  * component's public mca_base_component_t struct.
  29  */
  30 #include "ompi/mca/rte/base/static-components.h"
  31 
  32 
  33 static int ompi_rte_base_close(void)
  34 {
  35     return mca_base_framework_components_close(&ompi_rte_base_framework, NULL);
  36 }
  37 
  38 static int ompi_rte_base_open(mca_base_open_flag_t flags)
  39 {
  40     /* Open up all available components */
  41     int ret = mca_base_framework_components_open(&ompi_rte_base_framework, flags);
  42 
  43     /* Sanity check.  Many things will break if this is not true
  44        (e.g., opal dstore needs this to be true). */
  45     assert(sizeof(ompi_process_name_t) == sizeof(uint64_t));
  46 
  47     return ret;
  48 }
  49 
  50 MCA_BASE_FRAMEWORK_DECLARE(ompi, rte, "OMPI Run-Time Environment Interface", NULL,
  51                            ompi_rte_base_open, ompi_rte_base_close,
  52                            mca_rte_base_static_components, 0);
  53 
  54 
  55 OBJ_CLASS_INSTANCE(ompi_namelist_t,
  56                    opal_list_item_t,
  57                    NULL, NULL);

/* [<][>][^][v][top][bottom][index][help] */