1
1
openmpi/orte/include/orte_constants.h
Jeff Squyres 42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00

92 строки
4.2 KiB
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Research Foundation. 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 ORTE_CONSTANTS_H
#define ORTE_CONSTANTS_H
#include "opal/include/constants.h"
#define ORTE_ERR_BASE OPAL_ERR_MAX
enum {
/* Error codes inherited from OPAL. Still enum values so that we
get the nice debugger help. */
ORTE_SUCCESS = OPAL_SUCCESS,
ORTE_ERROR = OPAL_ERROR,
ORTE_ERR_OUT_OF_RESOURCE = OPAL_ERR_OUT_OF_RESOURCE,
ORTE_ERR_TEMP_OUT_OF_RESOURCE = OPAL_ERR_TEMP_OUT_OF_RESOURCE,
ORTE_ERR_RESOURCE_BUSY = OPAL_ERR_RESOURCE_BUSY,
ORTE_ERR_BAD_PARAM = OPAL_ERR_BAD_PARAM,
ORTE_ERR_FATAL = OPAL_ERR_FATAL,
ORTE_ERR_NOT_IMPLEMENTED = OPAL_ERR_NOT_IMPLEMENTED,
ORTE_ERR_NOT_SUPPORTED = OPAL_ERR_NOT_SUPPORTED,
ORTE_ERR_INTERUPTED = OPAL_ERR_INTERUPTED,
ORTE_ERR_WOULD_BLOCK = OPAL_ERR_WOULD_BLOCK,
ORTE_ERR_IN_ERRNO = OPAL_ERR_IN_ERRNO,
ORTE_ERR_UNREACH = OPAL_ERR_UNREACH,
ORTE_ERR_NOT_FOUND = OPAL_ERR_NOT_FOUND,
ORTE_EXISTS = OPAL_EXISTS,
ORTE_ERR_TIMEOUT = OPAL_ERR_TIMEOUT,
ORTE_ERR_NOT_AVAILABLE = OPAL_ERR_NOT_AVAILABLE,
ORTE_ERR_PERM = OPAL_ERR_PERM,
ORTE_ERR_VALUE_OUT_OF_BOUNDS = OPAL_ERR_VALUE_OUT_OF_BOUNDS,
ORTE_ERR_FILE_READ_FAILURE = OPAL_ERR_FILE_READ_FAILURE,
ORTE_ERR_FILE_WRITE_FAILURE = OPAL_ERR_FILE_WRITE_FAILURE,
ORTE_ERR_FILE_OPEN_FAILURE = OPAL_ERR_FILE_OPEN_FAILURE,
/* error codes specific to ORTE - don't forget to update
orte/rutime/orte_init.c when adding new error codes */
ORTE_ERR_RECV_LESS_THAN_POSTED = (ORTE_ERR_BASE - 1),
ORTE_ERR_RECV_MORE_THAN_POSTED = (ORTE_ERR_BASE - 2),
ORTE_ERR_NO_MATCH_YET = (ORTE_ERR_BASE - 3),
ORTE_ERR_BUFFER = (ORTE_ERR_BASE - 4),
ORTE_ERR_REQUEST = (ORTE_ERR_BASE - 5),
ORTE_ERR_NO_CONNECTION_ALLOWED = (ORTE_ERR_BASE - 6),
ORTE_ERR_CONNECTION_REFUSED = (ORTE_ERR_BASE - 7),
ORTE_ERR_CONNECTION_FAILED = (ORTE_ERR_BASE - 8),
ORTE_STARTUP_DETECTED = (ORTE_ERR_BASE - 9),
ORTE_SHUTDOWN_DETECTED = (ORTE_ERR_BASE - 10),
ORTE_PROC_STARTING = (ORTE_ERR_BASE - 11),
ORTE_PROC_STOPPED = (ORTE_ERR_BASE - 12),
ORTE_PROC_TERMINATING = (ORTE_ERR_BASE - 13),
ORTE_PROC_ALIVE = (ORTE_ERR_BASE - 14),
ORTE_PROC_RUNNING = (ORTE_ERR_BASE - 15),
ORTE_PROC_KILLED = (ORTE_ERR_BASE - 16),
ORTE_PROC_EXITED = (ORTE_ERR_BASE - 17),
ORTE_NODE_UP = (ORTE_ERR_BASE - 18),
ORTE_NODE_DOWN = (ORTE_ERR_BASE - 19),
ORTE_NODE_BOOTING = (ORTE_ERR_BASE - 21),
ORTE_NODE_ERROR = (ORTE_ERR_BASE - 22),
ORTE_PACK_MISMATCH = (ORTE_ERR_BASE - 23),
ORTE_ERR_PACK_FAILURE = (ORTE_ERR_BASE - 24),
ORTE_ERR_UNPACK_FAILURE = (ORTE_ERR_BASE - 25),
ORTE_ERR_COMM_FAILURE = (ORTE_ERR_BASE - 26),
ORTE_UNPACK_INADEQUATE_SPACE = (ORTE_ERR_BASE - 27),
ORTE_UNPACK_READ_PAST_END_OF_BUFFER = (ORTE_ERR_BASE - 28),
ORTE_ERR_GPR_DATA_CORRUPT = (ORTE_ERR_BASE - 29),
ORTE_ERR_TYPE_MISMATCH = (ORTE_ERR_BASE - 30)
};
#define ORTE_ERR_MAX (ORTE_ERR_BASE - 100)
#endif /* ORTE_CONSTANTS_H */