1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 
  11 
  12 
  13 
  14 
  15 
  16 
  17 
  18 
  19 
  20 
  21 
  22 
  23 #ifndef ORTE_UTIL_DASH_HOST_H
  24 #define ORTE_UTIL_DASH_HOST_H
  25 
  26 #include "orte_config.h"
  27 
  28 #include "opal/class/opal_list.h"
  29 
  30 #include "orte/runtime/orte_globals.h"
  31 
  32 BEGIN_C_DECLS
  33 
  34 ORTE_DECLSPEC int orte_util_add_dash_host_nodes(opal_list_t *nodes,
  35                                                 char *hosts,
  36                                                 bool allocating);
  37 
  38 ORTE_DECLSPEC int orte_util_filter_dash_host_nodes(opal_list_t *nodes,
  39                                                    char *hosts,
  40                                                    bool remove);
  41 
  42 ORTE_DECLSPEC int orte_util_get_ordered_dash_host_list(opal_list_t *nodes,
  43                                                        char *hosts);
  44 
  45 ORTE_DECLSPEC int orte_util_dash_host_compute_slots(orte_node_t *node, char *hosts);
  46 
  47 END_C_DECLS
  48 
  49 #endif