23 #include "ompi_config.h"
26 #include "opal/mca/base/base.h"
27 #include "ompi/communicator/communicator.h"
34 #define MCA_TOPO_BASE_VERSION_2_0_0 \
35 MCA_BASE_VERSION_2_0_0, \
65 typedef int (*mca_topo_base_component_init_query_1_0_0_fn_t)
66 (
bool enable_progress_threads,
67 bool enable_mpi_threads);
70 (*mca_topo_base_component_comm_query_1_0_0_fn_t) (
int *priority);
73 typedef int (*mca_topo_base_component_comm_unquery_1_0_0_fn_t)
85 mca_topo_base_component_init_query_1_0_0_fn_t topom_init_query;
86 mca_topo_base_component_comm_query_1_0_0_fn_t topom_comm_query;
87 mca_topo_base_component_comm_unquery_1_0_0_fn_t topom_comm_unquery;
147 typedef int (*mca_topo_base_module_init_1_0_0_fn_t)
150 typedef int (*mca_topo_base_module_finalize_1_0_0_fn_t)
153 typedef int (*mca_topo_base_module_cart_coords_fn_t)
159 typedef int (*mca_topo_base_module_cart_create_fn_t)
169 typedef int (*mca_topo_base_module_cart_get_fn_t)
176 typedef int (*mca_topo_base_module_cartdim_get_fn_t)
180 typedef int (*mca_topo_base_module_cart_map_fn_t)
187 typedef int (*mca_topo_base_module_cart_rank_fn_t)
192 typedef int (*mca_topo_base_module_cart_shift_fn_t)
199 typedef int (*mca_topo_base_module_cart_sub_fn_t)
204 typedef int (*mca_topo_base_module_graph_create_fn_t)
214 typedef int (*mca_topo_base_module_graph_get_fn_t)
221 typedef int (*mca_topo_base_module_graph_map_fn_t)
228 typedef int (*mca_topo_base_module_graphdims_get_fn_t)
233 typedef int (*mca_topo_base_module_graph_neighbors_fn_t)
239 typedef int (*mca_topo_base_module_graph_neighbors_count_fn_t)
261 mca_topo_base_module_init_1_0_0_fn_t topo_module_init;
262 mca_topo_base_module_finalize_1_0_0_fn_t topo_module_finalize;
265 mca_topo_base_module_cart_coords_fn_t topo_cart_coords;
266 mca_topo_base_module_cart_create_fn_t topo_cart_create;
267 mca_topo_base_module_cart_get_fn_t topo_cart_get;
268 mca_topo_base_module_cartdim_get_fn_t topo_cartdim_get;
269 mca_topo_base_module_cart_map_fn_t topo_cart_map;
270 mca_topo_base_module_cart_rank_fn_t topo_cart_rank;
271 mca_topo_base_module_cart_shift_fn_t topo_cart_shift;
272 mca_topo_base_module_cart_sub_fn_t topo_cart_sub;
273 mca_topo_base_module_graph_create_fn_t topo_graph_create;
274 mca_topo_base_module_graph_get_fn_t topo_graph_get;
275 mca_topo_base_module_graph_map_fn_t topo_graph_map;
276 mca_topo_base_module_graphdims_get_fn_t topo_graphdims_get;
277 mca_topo_base_module_graph_neighbors_fn_t topo_graph_neighbors;
278 mca_topo_base_module_graph_neighbors_count_fn_t topo_graph_neighbors_count;
int * mtc_coords
Cart coordinates.
Definition: topo.h:127
Common type for all MCA components.
Definition: mca.h:250
int * mtc_periods_or_edges
whether this was a periodic cart or graph
Definition: topo.h:119
Remote Open MPI process structure.
Definition: proc.h:56
int mtc_ndims_or_nnodes
Number of cart dimensions or graph nodes.
Definition: topo.h:117
int * mtc_dims_or_index
Cart dimensions or graph indices.
Definition: topo.h:118
Top-level interface for all MCA components.
bool mtc_reorder
Whether the re-ordering is allowed.
Definition: topo.h:120
Meta data for MCA v2.0.0 components.
Definition: mca.h:309
Definition: communicator.h:118