|
MPI_Abort - Terminates MPI execution environment
#include <mpi.h>
int MPI_Abort(MPI_Comm comm, int errcode)
comm
- communicator of tasks to abort
errcode
- error code to return to invoking environment
Makes a "best attempt" to terminate all MPI processes associated with the communicator comm.
|
'ERRCODE' IS SPLIT INTO THREE SECTIONS
|
lower 8 bits: error class
-. next 8 bits: function
upper 16 bits: error code
- If the error class is nonzero, the error code is the return value for the program (i.e., exit(error_code) is eventually
called to terminate the program). If the error class is zero, errcode is returned as the POSIX return value for the program.
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.
|
© 2009 Critical Software SA. All trademarks and copyrights on this page are owned by their respective owners.
csWMPI II II™, csWMPI II™ and PatentMPI™ are trademarks of Critical Software SA. All Rights Reserved.
|