root/orte/mca/rmaps/base/rmaps_private.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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-2005 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 (c) 2011      Cisco Systems, Inc.  All rights reserved.
  13  * Copyright (c) 2011-2012 Los Alamos National Security, LLC.
  14  *                         All rights reserved.
  15  * Copyright (c) 2017      Intel, Inc. All rights reserved.
  16  * $COPYRIGHT$
  17  *
  18  * Additional copyrights may follow
  19  *
  20  * $HEADER$
  21  */
  22 /** @file:
  23  */
  24 
  25 #ifndef ORTE_MCA_RMAPS_PRIVATE_H
  26 #define ORTE_MCA_RMAPS_PRIVATE_H
  27 
  28 /*
  29  * includes
  30  */
  31 #include "orte_config.h"
  32 #include "orte/types.h"
  33 
  34 #include "orte/runtime/orte_globals.h"
  35 
  36 #include "orte/mca/rmaps/rmaps.h"
  37 
  38 BEGIN_C_DECLS
  39 
  40 /*
  41  * Base API functions
  42  */
  43 
  44 /* LOCAL FUNCTIONS for use by RMAPS components */
  45 
  46 ORTE_DECLSPEC int orte_rmaps_base_get_target_nodes(opal_list_t* node_list,
  47                                                    orte_std_cntr_t *total_num_slots,
  48                                                    orte_app_context_t *app,
  49                                                    orte_mapping_policy_t policy,
  50                                                    bool initial_map, bool silent);
  51 
  52 ORTE_DECLSPEC orte_proc_t* orte_rmaps_base_setup_proc(orte_job_t *jdata,
  53                                                       orte_node_t *node,
  54                                                       orte_app_idx_t idx);
  55 
  56 ORTE_DECLSPEC orte_node_t* orte_rmaps_base_get_starting_point(opal_list_t *node_list,
  57                                                               orte_job_t *jdata);
  58 
  59 ORTE_DECLSPEC int orte_rmaps_base_compute_vpids(orte_job_t *jdata);
  60 
  61 ORTE_DECLSPEC int orte_rmaps_base_compute_local_ranks(orte_job_t *jdata);
  62 
  63 ORTE_DECLSPEC int orte_rmaps_base_compute_bindings(orte_job_t *jdata);
  64 
  65 ORTE_DECLSPEC void orte_rmaps_base_update_local_ranks(orte_job_t *jdata, orte_node_t *oldnode,
  66                                                       orte_node_t *newnode, orte_proc_t *newproc);
  67 
  68 ORTE_DECLSPEC int orte_rmaps_base_rearrange_map(orte_app_context_t *app, orte_job_map_t *map, opal_list_t *procs);
  69 
  70 END_C_DECLS
  71 
  72 #endif

/* [<][>][^][v][top][bottom][index][help] */