2004-01-10 01:09:51 +03:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* 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.
|
2005-09-01 19:05:03 +04:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2004-11-28 23:09:25 +03:00
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
2005-09-01 19:05:03 +04:00
|
|
|
*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Additional copyrights may follow
|
2005-09-01 19:05:03 +04:00
|
|
|
*
|
2004-01-10 01:09:51 +03:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#ifndef OMPI_CONSTANTS_H
|
|
|
|
#define OMPI_CONSTANTS_H
|
2004-01-10 01:09:51 +03:00
|
|
|
|
2005-08-22 07:05:39 +04:00
|
|
|
#include "orte/include/orte_constants.h"
|
|
|
|
|
|
|
|
#define OMPI_ERR_BASE ORTE_ERR_MAX
|
|
|
|
|
2004-01-10 01:09:51 +03:00
|
|
|
/* error codes */
|
|
|
|
enum {
|
2005-08-22 07:05:39 +04:00
|
|
|
/* Error codes inherited from ORTE/OPAL. Still enum values so
|
|
|
|
that we might get nice debugger help */
|
|
|
|
OMPI_SUCCESS = ORTE_SUCCESS,
|
|
|
|
|
|
|
|
OMPI_ERROR = ORTE_ERROR,
|
|
|
|
OMPI_ERR_OUT_OF_RESOURCE = ORTE_ERR_OUT_OF_RESOURCE,
|
|
|
|
OMPI_ERR_TEMP_OUT_OF_RESOURCE = ORTE_ERR_TEMP_OUT_OF_RESOURCE,
|
|
|
|
OMPI_ERR_RESOURCE_BUSY = ORTE_ERR_RESOURCE_BUSY,
|
|
|
|
OMPI_ERR_BAD_PARAM = ORTE_ERR_BAD_PARAM,
|
|
|
|
OMPI_ERR_FATAL = ORTE_ERR_FATAL,
|
|
|
|
OMPI_ERR_NOT_IMPLEMENTED = ORTE_ERR_NOT_IMPLEMENTED,
|
|
|
|
OMPI_ERR_NOT_SUPPORTED = ORTE_ERR_NOT_SUPPORTED,
|
|
|
|
OMPI_ERR_INTERUPTED = ORTE_ERR_INTERUPTED,
|
|
|
|
OMPI_ERR_WOULD_BLOCK = ORTE_ERR_WOULD_BLOCK,
|
|
|
|
OMPI_ERR_IN_ERRNO = ORTE_ERR_IN_ERRNO,
|
|
|
|
OMPI_ERR_UNREACH = ORTE_ERR_UNREACH,
|
|
|
|
OMPI_ERR_NOT_FOUND = ORTE_ERR_NOT_FOUND,
|
|
|
|
OMPI_EXISTS = ORTE_EXISTS, /* indicates that the specified object already exists */
|
|
|
|
OMPI_ERR_TIMEOUT = ORTE_ERR_TIMEOUT,
|
|
|
|
OMPI_ERR_NOT_AVAILABLE = ORTE_ERR_NOT_AVAILABLE,
|
|
|
|
OMPI_ERR_PERM = ORTE_ERR_PERM,
|
|
|
|
OMPI_ERR_VALUE_OUT_OF_BOUNDS = ORTE_ERR_VALUE_OUT_OF_BOUNDS,
|
|
|
|
OMPI_ERR_FILE_READ_FAILURE = ORTE_ERR_FILE_READ_FAILURE,
|
|
|
|
OMPI_ERR_FILE_WRITE_FAILURE = ORTE_ERR_FILE_WRITE_FAILURE,
|
|
|
|
OMPI_ERR_FILE_OPEN_FAILURE = ORTE_ERR_FILE_OPEN_FAILURE,
|
|
|
|
|
|
|
|
OMPI_ERR_RECV_LESS_THAN_POSTED = ORTE_ERR_RECV_LESS_THAN_POSTED,
|
|
|
|
OMPI_ERR_RECV_MORE_THAN_POSTED = ORTE_ERR_RECV_MORE_THAN_POSTED,
|
|
|
|
OMPI_ERR_NO_MATCH_YET = ORTE_ERR_NO_MATCH_YET,
|
|
|
|
OMPI_ERR_BUFFER = ORTE_ERR_BUFFER,
|
|
|
|
OMPI_ERR_REQUEST = ORTE_ERR_REQUEST,
|
|
|
|
OMPI_ERR_NO_CONNECTION_ALLOWED = ORTE_ERR_NO_CONNECTION_ALLOWED,
|
|
|
|
OMPI_ERR_CONNECTION_REFUSED = ORTE_ERR_CONNECTION_REFUSED ,
|
|
|
|
OMPI_ERR_CONNECTION_FAILED = ORTE_ERR_CONNECTION_FAILED,
|
|
|
|
OMPI_STARTUP_DETECTED = ORTE_STARTUP_DETECTED,
|
|
|
|
OMPI_SHUTDOWN_DETECTED = ORTE_SHUTDOWN_DETECTED,
|
|
|
|
OMPI_PROC_STARTING = ORTE_PROC_STARTING,
|
|
|
|
OMPI_PROC_STOPPED = ORTE_PROC_STOPPED,
|
|
|
|
OMPI_PROC_TERMINATING = ORTE_PROC_TERMINATING,
|
|
|
|
OMPI_PROC_ALIVE = ORTE_PROC_ALIVE,
|
|
|
|
OMPI_PROC_RUNNING = ORTE_PROC_RUNNING,
|
|
|
|
OMPI_PROC_KILLED = ORTE_PROC_KILLED,
|
|
|
|
OMPI_PROC_EXITED = ORTE_PROC_EXITED,
|
|
|
|
OMPI_NODE_UP = ORTE_NODE_UP,
|
|
|
|
OMPI_NODE_DOWN = ORTE_NODE_DOWN,
|
|
|
|
OMPI_NODE_BOOTING = ORTE_NODE_BOOTING,
|
|
|
|
OMPI_NODE_ERROR = ORTE_NODE_ERROR,
|
|
|
|
OMPI_PACK_MISMATCH = ORTE_PACK_MISMATCH,
|
|
|
|
OMPI_ERR_PACK_FAILURE = ORTE_ERR_PACK_FAILURE,
|
|
|
|
OMPI_ERR_UNPACK_FAILURE = ORTE_ERR_UNPACK_FAILURE,
|
|
|
|
OMPI_ERR_COMM_FAILURE = ORTE_ERR_COMM_FAILURE,
|
|
|
|
OMPI_UNPACK_INADEQUATE_SPACE = ORTE_UNPACK_INADEQUATE_SPACE,
|
|
|
|
OMPI_UNPACK_READ_PAST_END_OF_BUFFER = ORTE_UNPACK_READ_PAST_END_OF_BUFFER,
|
|
|
|
OMPI_ERR_GPR_DATA_CORRUPT = ORTE_ERR_GPR_DATA_CORRUPT,
|
2005-09-01 19:05:03 +04:00
|
|
|
OMPI_ERR_TYPE_MISMATCH = ORTE_ERR_TYPE_MISMATCH
|
2004-01-10 01:09:51 +03:00
|
|
|
};
|
|
|
|
|
2005-08-22 07:05:39 +04:00
|
|
|
#define OMPI_ERR_MAX (OMPI_ERR_BASE - 1)
|
|
|
|
|
2005-03-14 23:57:21 +03:00
|
|
|
#define OMPI_NAMESPACE_SEGMENT "ompi-namespace"
|
|
|
|
|
2005-06-24 20:59:37 +04:00
|
|
|
/*
|
|
|
|
* OMPI-specific names for triggers and subscriptions used across processes
|
|
|
|
*/
|
|
|
|
#define OMPI_ATTRIBUTE_SUBSCRIPTION "ompi-attribute-sub"
|
2005-07-18 22:49:00 +04:00
|
|
|
#define OMPI_PROC_SUBSCRIPTION "ompi-proc-sub"
|
2005-06-24 20:59:37 +04:00
|
|
|
#define OMPI_OOB_SUBSCRIPTION "ompi-oob-sub"
|
|
|
|
#define OMPI_MODEX_SUBSCRIPTION "ompi-modex-sub"
|
|
|
|
|
2005-09-01 19:05:03 +04:00
|
|
|
/*
|
|
|
|
* OMPI-specific registry keys
|
|
|
|
*/
|
|
|
|
#define OMPI_PROC_ARCH "ompi-proc-arch"
|
|
|
|
#define OMPI_MODEX_KEY "ompi-modex"
|
2005-06-24 20:59:37 +04:00
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#endif /* OMPI_CONSTANTS_H */
|
2004-01-10 01:09:51 +03:00
|
|
|
|