MPI_Errhandler_f2c

MPI_Errhandler_f2c - Convert a error handler from its Fortran representation to its C representation

SYNOPSIS

 
#include <mpi.h> 
MPI_Errhandler MPI_Errhandler_f2c(MPI_Fint f_handle)

INPUT PARAMETER

f_handle
- Fortran error handler

RETURN VALUE

errh
- C error handler

DESCRIPTION

This is a non-standard MPI routine. It is mainly here because ROMIO needs it.


NOTES FOR FORTRAN

All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK) have an additional argument ierr at the end of the argument list. ierr is an integer and has the same meaning as the return value of the routine in C. In Fortran, MPI routines are subroutines, and are invoked with the call statement.

All MPI objects (e.g., MPI_Datatype, MPI_Comm) are of type INTEGER in Fortran.


ERRORS

This function does not return the normal MPI_SUCCESS integer value upon success. Instead, it returns a handle to the converted object. If an error occurs, the appropriate NULL handle will be returned.


SEE ALSO

MPI_Errhandler_c2f



© 2009 Critical Software SA. All trademarks and copyrights on this page are owned by their respective owners.
cscsWMPI II™, cscsWMPI™ and PatentMPI™ are trademarks of Critical Software SA. All Rights Reserved.