OpenMPI  0.1.1
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
Information about a specific application to be launched in the RTE.
Definition: orte_globals.h:196
Definition: rmaps.h:82
The Open RTE Resource MAPping Subsystem (RMAPS)
int32_t orte_std_cntr_t
Supported datatypes for messaging and storage operations.
Definition: types.h:34
rmaps component version 1.3.0
Definition: rmaps.h:99
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Definition: orte_globals.h:316
Definition: opal_list.h:147
hwloc_obj_type_t
Type of topology object.
Definition: hwloc.h:164