.. _mpi_status_get_error: MPI_Status_get_error ======================== .. include_body :ref:`MPI_Status_get_error` |mdash| Retrieves the ``MPI_ERROR`` field from ``status``. .. The following file was automatically generated .. include:: ./bindings/mpi_status_get_error.rst INPUT PARAMETER --------------- * ``status``: Status from which to retrieve the error (status). OUTPUT PARAMETER ---------------- * ``error``: error set in the ``MPI_ERROR`` field (integer). * ``ierror``: Fortran only: Error status (integer). DESCRIPTION ----------- Returns in error the ``MPI_ERROR`` field from the ``status`` object. While the ``status`` object members ``MPI_SOURCE``, ``MPI_TAG``, and ``MPI_ERROR`` are directly accessible in C and Fortran, for convenience in other contexts (e.g., when using alternate MPI bindings in languages that do not directly translate the ``status`` object), users can also access these values via procedure calls such as this one. ERRORS ------ .. include:: ./ERRORS.rst .. seealso:: * :ref:`MPI_Get_count` * :ref:`MPI_Get_elements` * :ref:`MPI_Get_elements_x` * :ref:`MPI_Status_get_source` * :ref:`MPI_Status_get_tag` * :ref:`MPI_Status_set_cancelled` * :ref:`MPI_Status_set_elements` * :ref:`MPI_Status_set_elements_x` * :ref:`MPI_Status_set_error` * :ref:`MPI_Status_set_source` * :ref:`MPI_Status_set_tag` * :ref:`MPI_Test_cancelled`