OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rmaps_rr.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2006 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9 * University of Stuttgart. All rights reserved.
10 * Copyright (c) 2004-2005 The Regents of the University of California.
11 * All rights reserved.
12 * $COPYRIGHT$
13 *
14 * Additional copyrights may follow
15 *
16 * $HEADER$
17 */
18 /**
19 * @file
20 *
21 * Resource Mapping
22 */
23 #ifndef ORTE_RMAPS_RR_H
24 #define ORTE_RMAPS_RR_H
25
26 #include "orte_config.h"
27
28 #include "opal/mca/hwloc/hwloc.h"
29 #include "opal/class/opal_list.h"
30
31 #include "orte/mca/rmaps/rmaps.h"
32
33 BEGIN_C_DECLS
34
35 ORTE_MODULE_DECLSPEC extern orte_rmaps_base_component_t mca_rmaps_round_robin_component;
36 extern orte_rmaps_base_module_t orte_rmaps_round_robin_module;
37
38 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_bynode(orte_job_t *jdata,
39 orte_app_context_t *app,
40 opal_list_t *node_list,
41 orte_std_cntr_t num_slots,
42 orte_vpid_t nprocs);
43 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_byslot(orte_job_t *jdata,
44 orte_app_context_t *app,
45 opal_list_t *node_list,
46 orte_std_cntr_t num_slots,
47 orte_vpid_t nprocs);
48
49 #if OPAL_HAVE_HWLOC
50 ORTE_MODULE_DECLSPEC int orte_rmaps_rr_byobj(orte_job_t *jdata, orte_app_context_t *app,
51 opal_list_t *node_list,
52 orte_std_cntr_t num_slots,
53 orte_vpid_t num_procs,
54 hwloc_obj_type_t target, unsigned cache_level);
55 #endif
56
57 END_C_DECLS
58
59 #endif
orte_app_context_t
Information about a specific application to be launched in the RTE.
Definition: orte_globals.h:196
orte_rmaps_base_module_1_3_0_t
Definition: rmaps.h:82
rmaps.h
The Open RTE Resource MAPping Subsystem (RMAPS)
orte_std_cntr_t
int32_t orte_std_cntr_t
Supported datatypes for messaging and storage operations.
Definition: types.h:34
orte_rmaps_base_component_2_0_0_t
rmaps component version 1.3.0
Definition: rmaps.h:99
opal_list.h
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
orte_job_t
Definition: orte_globals.h:316
opal_list_t
Definition: opal_list.h:147
hwloc_obj_type_t
hwloc_obj_type_t
Type of topology object.
Definition: hwloc.h:164