23 #ifndef OMPI_ERRCODE_INTERN_H
24 #define OMPI_ERRCODE_INTERN_H
26 #include "ompi_config.h"
29 #include "ompi/constants.h"
32 #include "opal/util/opal_sos.h"
34 #define OMPI_MAX_ERROR_STRING 64
46 char errstring[OMPI_MAX_ERROR_STRING];
51 OMPI_DECLSPEC
extern int ompi_errcode_intern_lastused;
59 int ret = MPI_ERR_UNKNOWN;
64 errcode = OPAL_SOS_GET_ERROR_CODE(errcode);
74 for (i = 0; i < ompi_errcode_intern_lastused; i++) {
76 if (errc->code == errcode) {
Back-end type for MPI error codes.
Definition: errcode-internal.h:41
dynamic pointer array
Definition: opal_pointer_array.h:45
int ompi_errcode_intern_init(void)
Initialize the error codes.
Definition: errcode-internal.c:54
int ompi_errcode_intern_finalize(void)
Finalize the error codes.
Definition: errcode-internal.c:199
static void * opal_pointer_array_get_item(opal_pointer_array_t *table, int element_index)
Get the value of an element in array.
Definition: opal_pointer_array.h:125
See opal_bitmap.h for an explanation of why there is a split between OPAL and ORTE for this generic c...
static int ompi_errcode_get_mpi_code(int errcode)
Return the MPI errcode for a given internal error code.
Definition: errcode-internal.h:57
Base object.
Definition: opal_object.h:182
A simple C-language object-oriented system with single inheritance and ownership-based memory managem...