openmpi  3.1.6
About: Open MPI is a high performance Message Passing Interface (MPI) library project combining technologies and resources from several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best MPI library available. 3.x series.
  Fossies Dox: openmpi-3.1.6.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

errcode-internal.h File Reference
#include "ompi_config.h"
#include "mpi.h"
#include "ompi/constants.h"
#include "opal/class/opal_object.h"
#include "opal/class/opal_pointer_array.h"
Include dependency graph for errcode-internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ompi_errcode_intern_t
 Back-end type for MPI error codes. More...
 

Macros

#define OMPI_MAX_ERROR_STRING   64
 

Typedefs

typedef struct ompi_errcode_intern_t ompi_errcode_intern_t
 

Functions

static int ompi_errcode_get_mpi_code (int errcode)
 Return the MPI errcode for a given internal error code. More...
 
int ompi_errcode_intern_init (void)
 Initialize the error codes. More...
 
int ompi_errcode_intern_finalize (void)
 Finalize the error codes. More...
 

Variables

opal_pointer_array_t ompi_errcodes_intern
 
int ompi_errcode_intern_lastused
 

Macro Definition Documentation

◆ OMPI_MAX_ERROR_STRING

#define OMPI_MAX_ERROR_STRING   64

Definition at line 37 of file errcode-internal.h.

Typedef Documentation

◆ ompi_errcode_intern_t

Definition at line 38 of file errcode-internal.h.

Function Documentation

◆ ompi_errcode_get_mpi_code()

◆ ompi_errcode_intern_finalize()

◆ ompi_errcode_intern_init()

int ompi_errcode_intern_init ( void  )

Initialize the error codes.

Returns
OMPI_SUCCESS Upon success
OMPI_ERROR Otherwise

Invoked from ompi_mpi_init(); sets up all static MPI error codes,

Definition at line 65 of file errcode-internal.c.

References ompi_errcode_intern_t::code, ompi_errcode_intern_t::errstring, ompi_errcode_intern_t::index, ompi_errcode_intern_t::mpi_code, OBJ_CONSTRUCT, OMPI_ERR_BAD_PARAM, ompi_err_bad_param_intern, OMPI_ERR_BUFFER, ompi_err_buffer_intern, OMPI_ERR_FATAL, ompi_err_fatal_intern, OMPI_ERR_IN_ERRNO, ompi_err_in_errno_intern, OMPI_ERR_INTERUPTED, ompi_err_interupted_intern, OMPI_ERR_NOT_FOUND, ompi_err_not_found_intern, OMPI_ERR_NOT_IMPLEMENTED, ompi_err_not_implemented_intern, OMPI_ERR_NOT_SUPPORTED, ompi_err_not_supported_intern, OMPI_ERR_OUT_OF_RESOURCE, ompi_err_out_of_resource_intern, OMPI_ERR_REQUEST, ompi_err_request_intern, OMPI_ERR_RESOURCE_BUSY, ompi_err_resource_busy_intern, OMPI_ERR_RMA_ATTACH, ompi_err_rma_attach_intern, OMPI_ERR_RMA_CONFLICT, ompi_err_rma_conflict_intern, OMPI_ERR_RMA_FLAVOR, ompi_err_rma_flavor_intern, OMPI_ERR_RMA_RANGE, ompi_err_rma_range_intern, OMPI_ERR_RMA_SHARED, ompi_err_rma_shared_intern, OMPI_ERR_RMA_SYNC, ompi_err_rma_sync_intern, OMPI_ERR_TEMP_OUT_OF_RESOURCE, ompi_err_temp_out_of_resource_intern, OMPI_ERR_UNREACH, ompi_err_unreach_intern, OMPI_ERR_WIN, ompi_err_win_intern, OMPI_ERR_WOULD_BLOCK, ompi_err_would_block_intern, ompi_errcode_intern_lastused, ompi_errcodes_intern, OMPI_ERROR, ompi_error_intern, OMPI_MAX_ERROR_STRING, OMPI_SUCCESS, ompi_success_intern, opal_pointer_array_init(), opal_pointer_array_set_item(), OPAL_SUCCESS, and strncpy.

Referenced by ompi_mpi_init().

Variable Documentation

◆ ompi_errcode_intern_lastused

int ompi_errcode_intern_lastused
extern

Definition at line 34 of file errcode-internal.c.

Referenced by ompi_errcode_get_mpi_code(), and ompi_errcode_intern_init().

◆ ompi_errcodes_intern