1 /* 2 * Copyright (c) 2004-2007 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 (c) 2006-2013 Los Alamos National Security, LLC. 13 * All rights reserved. 14 * Copyright (c) 2010-2011 Cisco Systems, Inc. All rights reserved. 15 * Copyright (c) 2015-2019 Intel, Inc. All rights reserved. 16 * $COPYRIGHT$ 17 * 18 * Additional copyrights may follow 19 * 20 * $HEADER$ 21 */ 22 23 #ifndef ORTE_NIDMAP_H 24 #define ORTE_NIDMAP_H 25 26 #include "orte_config.h" 27 28 #include "opal/class/opal_pointer_array.h" 29 #include "opal/dss/dss_types.h" 30 #include "orte/runtime/orte_globals.h" 31 32 /* pass info about the nodes in an allocation */ 33 ORTE_DECLSPEC int orte_util_nidmap_create(opal_pointer_array_t *pool, 34 opal_buffer_t *buf); 35 36 ORTE_DECLSPEC int orte_util_decode_nidmap(opal_buffer_t *buf); 37 38 39 /* pass topology and #slots info */ 40 ORTE_DECLSPEC int orte_util_pass_node_info(opal_buffer_t *buf); 41 42 ORTE_DECLSPEC int orte_util_parse_node_info(opal_buffer_t *buf); 43 44 45 /* pass info about node assignments for a specific job */ 46 ORTE_DECLSPEC int orte_util_generate_ppn(orte_job_t *jdata, 47 opal_buffer_t *buf); 48 49 ORTE_DECLSPEC int orte_util_decode_ppn(orte_job_t *jdata, 50 opal_buffer_t *buf); 51 52 #endif /* ORTE_NIDMAP_H */