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
|
|
|
|
|
|
|
/* error codes */
|
|
|
|
enum {
|
2004-06-07 19:33:53 +04: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-25 01:09:55 +04:00
|
|
|
OMPI_ERR_WOULD_BLOCK = -13,
|
2004-06-07 19:33:53 +04:00
|
|
|
OMPI_ERR_IN_ERRNO = -14,
|
|
|
|
OMPI_ERR_UNREACH = -15,
|
2004-06-24 20:47:00 +04:00
|
|
|
OMPI_ERR_NOT_FOUND = -16,
|
|
|
|
OMPI_ERR_BUFFER = -17, /* equivalent to MPI_ERR_BUFFER */
|
2004-08-19 19:35:46 +04:00
|
|
|
OMPI_ERR_REQUEST = -18, /* equivalent to MPI_ERR_REQUEST */
|
2004-09-03 20:26:15 +04: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 21:02:24 +04:00
|
|
|
OMPI_ERR_CONNECTION_FAILED = -22, /* message sent, but delivery failed */
|
2004-10-25 23:54:22 +04:00
|
|
|
OMPI_ERR_TIMEOUT = -23,
|
2004-11-17 05:30:07 +03:00
|
|
|
OMPI_ERR_INIT = -24
|
2004-01-10 01:09:51 +03:00
|
|
|
};
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#endif /* OMPI_CONSTANTS_H */
|
2004-01-10 01:09:51 +03:00
|
|
|
|