OpenMPI 0.1.1

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

- File List
- Globals

hostfile.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 Discovery (Hostfile)
22 */
23 #ifndef ORTE_UTIL_HOSTFILE_H
24 #define ORTE_UTIL_HOSTFILE_H
25
26 #include "orte_config.h"
27
28 #include "opal/class/opal_list.h"
29
30
31 BEGIN_C_DECLS
32
33 ORTE_DECLSPEC int orte_util_add_hostfile_nodes(opal_list_t *nodes,
34 char *hostfile);
35
36 ORTE_DECLSPEC int orte_util_filter_hostfile_nodes(opal_list_t *nodes,
37 char *hostfile,
38 bool remove);
39
40 ORTE_DECLSPEC int orte_util_get_ordered_host_list(opal_list_t *nodes,
41 char *hostfile);
42
43 END_C_DECLS
44
45 #endif
opal_list.h
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
opal_list_t
Definition: opal_list.h:147
orte_util_add_hostfile_nodes
BEGIN_C_DECLS ORTE_DECLSPEC int orte_util_add_hostfile_nodes(opal_list_t *nodes, char *hostfile)
Parse the provided hostfile and add the nodes to the list.
Definition: hostfile.c:493