1
1
openmpi/orte/tools/orteprobe/orteprobe.h
Brian Barrett 9f44b80291 * rename ompi_argv to opal_argv
* rename ompi_basename to opal_basename
* rename ompi bitop functions to opal
* rename ompi_cmd_line to opal_cmd_line
* rename ompi_sizet2int to opal_sizet2int
* rename orte_daemon_init to opal_daemon_init
* rename ompi_few to opal_few

This commit was SVN r6330.
2005-07-04 00:13:44 +00:00

63 строки
1.5 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef ORTEPROBE_H
#define ORTEPROBE_H
#include "orte_config.h"
#include <string.h>
#include "opal/class/opal_list.h"
#include "opal/threads/mutex.h"
#include "opal/threads/condition.h"
#include "opal/util/cmd_line.h"
#include "mca/mca.h"
/*
* Definitions needed for communication
*/
#define ORTE_DAEMON_CMD ORTE_INT16
#define ORTE_DAEMON_HOSTFILE_CMD 0x01
#define ORTE_DAEMON_SCRIPTFILE_CMD 0x02
#define ORTE_DAEMON_CONTACT_QUERY_CMD 0x03
#define ORTE_DAEMON_HEARTBEAT_CMD 0xfe
#define ORTE_DAEMON_EXIT_CMD 0xff
/*
* Globals
*/
typedef uint16_t orte_daemon_cmd_flag_t;
typedef struct {
bool help;
bool version;
bool debug;
char* name_string;
char* requestor_string;
opal_mutex_t mutex;
opal_condition_t condition;
bool exit_condition;
} orteprobe_globals_t;
extern orteprobe_globals_t orteprobe_globals;
#endif /* ORTEPROBE_H */