This source file includes following definitions.
- orte_rmaps_seq_register
- orte_rmaps_seq_open
- orte_rmaps_seq_query
- orte_rmaps_seq_close
   1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  17 
  18 
  19 
  20 
  21 
  22 #include "orte_config.h"
  23 #include "orte/constants.h"
  24 
  25 #include "opal/mca/base/base.h"
  26 
  27 #include "orte/mca/rmaps/rmaps.h"
  28 #include "rmaps_seq.h"
  29 
  30 
  31 
  32 
  33 
  34 static int orte_rmaps_seq_register(void);
  35 static int orte_rmaps_seq_open(void);
  36 static int orte_rmaps_seq_close(void);
  37 static int orte_rmaps_seq_query(mca_base_module_t **module, int *priority);
  38 
  39 static int my_priority;
  40 
  41 orte_rmaps_base_component_t mca_rmaps_seq_component = {
  42     .base_version = {
  43         ORTE_RMAPS_BASE_VERSION_2_0_0,
  44 
  45         .mca_component_name = "seq",
  46         MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
  47                               ORTE_RELEASE_VERSION),
  48         .mca_open_component = orte_rmaps_seq_open,
  49         .mca_close_component = orte_rmaps_seq_close,
  50         .mca_query_component = orte_rmaps_seq_query,
  51         .mca_register_component_params = orte_rmaps_seq_register,
  52     },
  53     .base_data = {
  54         
  55         MCA_BASE_METADATA_PARAM_CHECKPOINT
  56     },
  57 };
  58 
  59 
  60 
  61 
  62 
  63 static int orte_rmaps_seq_register(void)
  64 {
  65     my_priority = 60;
  66     (void) mca_base_component_var_register(&mca_rmaps_seq_component.base_version,
  67                                            "priority", "Priority of the seq rmaps component",
  68                                            MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
  69                                            OPAL_INFO_LVL_9,
  70                                            MCA_BASE_VAR_SCOPE_READONLY,
  71                                            &my_priority);
  72     return ORTE_SUCCESS;
  73 }
  74 
  75 static int orte_rmaps_seq_open(void)
  76 {
  77     return ORTE_SUCCESS;
  78 }
  79 
  80 
  81 static int orte_rmaps_seq_query(mca_base_module_t **module, int *priority)
  82 {
  83     *priority = my_priority;
  84     *module = (mca_base_module_t *)&orte_rmaps_seq_module;
  85     return ORTE_SUCCESS;
  86 }
  87 
  88 
  89 
  90 
  91 
  92 static int orte_rmaps_seq_close(void)
  93 {
  94     return ORTE_SUCCESS;
  95 }
  96 
  97