2004-01-09 22:09:51 +00:00
|
|
|
/*
|
2004-11-22 01:38:40 +00:00
|
|
|
* 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.
|
2004-11-28 20:09:25 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-01-09 22:09:51 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#ifndef OMPI_CONSTANTS_H
|
|
|
|
#define OMPI_CONSTANTS_H
|
2004-01-09 22:09:51 +00:00
|
|
|
|
|
|
|
/* error codes */
|
|
|
|
enum {
|
2004-06-07 15:33:53 +00:00
|
|
|
OMPI_SUCCESS = 0,
|
|
|
|
OMPI_ERROR = -1,
|
|
|
|
OMPI_ERR_OUT_OF_RESOURCE = -2, /* fatal error */
|
|
|
|
OMPI_ERR_TEMP_OUT_OF_RESOURCE = -3, /* try again later */
|
|
|
|
OMPI_ERR_RESOURCE_BUSY = -4,
|
|
|
|
OMPI_ERR_BAD_PARAM = -5, /* equivalent to MPI_ERR_ARG error code */
|
|
|
|
OMPI_ERR_RECV_LESS_THAN_POSTED = -6,
|
|
|
|
OMPI_ERR_RECV_MORE_THAN_POSTED = -7,
|
|
|
|
OMPI_ERR_NO_MATCH_YET = -8,
|
|
|
|
OMPI_ERR_FATAL = -9,
|
|
|
|
OMPI_ERR_NOT_IMPLEMENTED = -10,
|
|
|
|
OMPI_ERR_NOT_SUPPORTED = -11,
|
|
|
|
OMPI_ERR_INTERUPTED = -12,
|
2004-06-24 21:09:55 +00:00
|
|
|
OMPI_ERR_WOULD_BLOCK = -13,
|
2004-06-07 15:33:53 +00:00
|
|
|
OMPI_ERR_IN_ERRNO = -14,
|
|
|
|
OMPI_ERR_UNREACH = -15,
|
2004-06-24 16:47:00 +00:00
|
|
|
OMPI_ERR_NOT_FOUND = -16,
|
|
|
|
OMPI_ERR_BUFFER = -17, /* equivalent to MPI_ERR_BUFFER */
|
2004-08-19 15:35:46 +00:00
|
|
|
OMPI_ERR_REQUEST = -18, /* equivalent to MPI_ERR_REQUEST */
|
2004-09-03 16:26:15 +00:00
|
|
|
OMPI_EXISTS = -19, /* indicates that the specified object already exists */
|
|
|
|
OMPI_ERR_NO_CONNECTION_ALLOWED = -20, /* indicates that the receiving process does not allow connections */
|
|
|
|
OMPI_ERR_CONNECTION_REFUSED = -21, /* contact made with process, but it refuses any further communication */
|
2004-09-08 17:02:24 +00:00
|
|
|
OMPI_ERR_CONNECTION_FAILED = -22, /* message sent, but delivery failed */
|
2004-10-25 19:54:22 +00:00
|
|
|
OMPI_ERR_TIMEOUT = -23,
|
2004-11-20 19:12:43 +00:00
|
|
|
OMPI_STARTUP_DETECTED = -24,
|
|
|
|
OMPI_SHUTDOWN_DETECTED = -25,
|
|
|
|
OMPI_PROC_STARTING = -26,
|
|
|
|
OMPI_PROC_STOPPED = -27,
|
|
|
|
OMPI_PROC_TERMINATING = -28,
|
|
|
|
OMPI_PROC_ALIVE = -29,
|
|
|
|
OMPI_PROC_RUNNING = -30,
|
2004-11-30 16:27:32 +00:00
|
|
|
OMPI_PROC_KILLED = -31,
|
2005-05-01 00:47:35 +00:00
|
|
|
OMPI_PROC_EXITED = -32,
|
2004-11-30 16:27:32 +00:00
|
|
|
OMPI_NODE_UP = -33,
|
|
|
|
OMPI_NODE_DOWN = -34,
|
|
|
|
OMPI_NODE_BOOTING = -35,
|
2004-12-18 20:18:41 +00:00
|
|
|
OMPI_NODE_ERROR = -36,
|
2005-03-14 20:57:21 +00:00
|
|
|
OMPI_PACK_MISMATCH = -37,
|
|
|
|
OMPI_ERR_PACK_FAILURE = -38,
|
|
|
|
OMPI_ERR_UNPACK_FAILURE = -39,
|
|
|
|
OMPI_ERR_COMM_FAILURE = -40,
|
|
|
|
OMPI_UNPACK_INADEQUATE_SPACE = -41,
|
|
|
|
OMPI_UNPACK_READ_PAST_END_OF_BUFFER = -42,
|
2005-05-01 00:47:35 +00:00
|
|
|
OMPI_ERR_NOT_AVAILABLE = -43,
|
|
|
|
OMPI_ERR_GPR_DATA_CORRUPT = -44,
|
|
|
|
OMPI_ERR_PERM = -45, /* no permission */
|
2005-05-06 17:00:06 +00:00
|
|
|
OMPI_ERR_TYPE_MISMATCH = -46,
|
2005-05-20 15:50:27 +00:00
|
|
|
OMPI_ERR_VALUE_OUT_OF_BOUNDS = -47,
|
|
|
|
OMPI_ERR_FILE_READ_FAILURE = -48,
|
|
|
|
OMPI_ERR_FILE_WRITE_FAILURE = -49,
|
|
|
|
OMPI_ERR_FILE_OPEN_FAILURE = -50
|
2004-01-09 22:09:51 +00:00
|
|
|
};
|
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
#define OMPI_NAMESPACE_SEGMENT "ompi-namespace"
|
|
|
|
|
2005-06-24 16:59:37 +00:00
|
|
|
/*
|
|
|
|
* OMPI-specific names for triggers and subscriptions used across processes
|
|
|
|
*/
|
|
|
|
#define OMPI_ATTRIBUTE_SUBSCRIPTION "ompi-attribute-sub"
|
2005-07-18 18:49:00 +00:00
|
|
|
#define OMPI_PROC_SUBSCRIPTION "ompi-proc-sub"
|
2005-06-24 16:59:37 +00:00
|
|
|
#define OMPI_OOB_SUBSCRIPTION "ompi-oob-sub"
|
|
|
|
#define OMPI_MODEX_SUBSCRIPTION "ompi-modex-sub"
|
|
|
|
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#endif /* OMPI_CONSTANTS_H */
|
2004-01-09 22:09:51 +00:00
|
|
|
|