86 CHARACTER(LEN=*) :: ROUTINE
87 INTEGER(INTG),
INTENT(IN) :: MPI_ERR_CODE
88 INTEGER(INTG),
INTENT(OUT) :: ERR
91 INTEGER(INTG) :: MPI_IERROR, MPI_ERR_STR_LENGTH
92 CHARACTER(LEN=MAXSTRLEN) :: MPI_ERR_STR
95 enters(
"MPI_ERROR_CHECK",err,error,*999)
97 IF(mpi_err_code/=mpi_success)
THEN 98 CALL mpi_error_string(mpi_err_code,mpi_err_str,mpi_err_str_length,mpi_ierror)
100 & mpi_err_str(1:mpi_err_str_length)//
") in "//routine(1:
len_trim(routine))
101 CALL flagerror(local_error,err,error,*999)
104 exits(
"MPI_ERROR_CHECK")
106 999 errorsexits(
"MPI_ERROR_CHECK",err,error)
subroutine, public enters(NAME, ERR, ERROR,)
Records the entry into the named procedure and initialises the error code.
Converts a number to its equivalent varying string representation.
This module contains all string manipulation and transformation routines.
This module provides an iso_varying_string module, conformant to the API specified in ISO/IEC 1539-2:...
This module contains all program wide constants.
subroutine, public exits(NAME)
Records the exit out of the named procedure.
This module contains all the low-level base routines e.g., all debug, control, and low-level communic...
This module contains CMISS MPI routines.
Flags an error condition.
This module contains all kind definitions.
subroutine, public mpi_error_check(ROUTINE, MPI_ERR_CODE, ERR, ERROR,)
Checks to see if an MPI error has occured during an MPI call and flags a CMISS error it if it has...