2008-04-30 23:49:53 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2011-06-24 00:38:02 +04:00
|
|
|
* Copyright (c) 2004-2011 The University of Tennessee and The University
|
2008-04-30 23:49:53 +04:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2015-06-24 06:59:57 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2008-04-30 23:49:53 +04:00
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2014-06-01 20:14:10 +04:00
|
|
|
* Copyright (c) 2014 Intel, Inc. All rights reserved.
|
2008-04-30 23:49:53 +04:00
|
|
|
* $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2008-04-30 23:49:53 +04:00
|
|
|
* Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2008-04-30 23:49:53 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file:
|
|
|
|
*
|
|
|
|
* Populates global structure with system-specific information.
|
|
|
|
*
|
|
|
|
* Notes: add limits.h, compute size of integer and other types via sizeof(type)*CHAR_BIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ORTE_NIDMAP_H_
|
|
|
|
#define _ORTE_NIDMAP_H_
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
#include "orte/types.h"
|
|
|
|
|
|
|
|
#include "opal/dss/dss_types.h"
|
|
|
|
|
|
|
|
#include "orte/runtime/orte_globals.h"
|
|
|
|
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
|
|
|
|
#define ORTE_MAX_NODE_PREFIX 50
|
|
|
|
#define ORTE_CONTIG_NODE_CMD 0x01
|
|
|
|
#define ORTE_NON_CONTIG_NODE_CMD 0x02
|
|
|
|
|
2012-08-29 01:20:17 +04:00
|
|
|
ORTE_DECLSPEC int orte_util_encode_nodemap(opal_byte_object_t *boptr, bool update);
|
2012-04-29 04:10:01 +04:00
|
|
|
ORTE_DECLSPEC int orte_util_decode_daemon_nodemap(opal_byte_object_t *bo);
|
2008-04-30 23:49:53 +04:00
|
|
|
|
2012-05-21 23:56:15 +04:00
|
|
|
#if ORTE_ENABLE_STATIC_PORTS
|
2009-05-16 08:15:55 +04:00
|
|
|
ORTE_DECLSPEC int orte_util_build_daemon_nidmap(char **nodes);
|
2012-05-21 23:56:15 +04:00
|
|
|
#endif
|
2008-04-30 23:49:53 +04:00
|
|
|
|
|
|
|
END_C_DECLS
|
2011-06-24 00:38:02 +04:00
|
|
|
|
2011-08-27 02:16:14 +04:00
|
|
|
#endif
|