1
1
openmpi/orte/mca/rmaps/ppr/rmaps_ppr.h
Ralph Castain 648c85b41b Add a simple pattern mapper as an example of how to use the topology info to create desired mappings. Let the user specify a pattern based on resource types, and map that pattern across all available nodes as resources permit.
Don't automatically display the topology for each node when --display-devel-map is set as it can overwhelm the reader. Use a separate flag --display-topo to get it.

This commit was SVN r25396.
2011-10-29 15:12:45 +00:00

38 строки
749 B
C

/*
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef ORTE_RMAPS_PPR_H
#define ORTE_RMAPS_PPR_H
#include "orte_config.h"
#include "opal/mca/hwloc/hwloc.h"
#include "orte/mca/rmaps/rmaps.h"
BEGIN_C_DECLS
struct orte_rmaps_ppr_component_t {
orte_rmaps_base_component_t super;
char *given_ppr;
bool selected;
bool pruning_reqd;
int ppr[OPAL_HWLOC_HWTHREAD_LEVEL];
opal_hwloc_level_t start;
};
typedef struct orte_rmaps_ppr_component_t orte_rmaps_ppr_component_t;
ORTE_MODULE_DECLSPEC extern orte_rmaps_ppr_component_t mca_rmaps_ppr_component;
extern orte_rmaps_base_module_t orte_rmaps_ppr_module;
END_C_DECLS
#endif