MpiFx 1.4.0
|
Contains wrapper for MPI_ABORT
.
More...
Functions/Subroutines | |
subroutine, public | mpifx_abort (mycomm, errorcode, error) |
Aborts MPI processes for the given communicator. | |
Contains wrapper for MPI_ABORT
.
subroutine, public mpifx_abort_module::mpifx_abort | ( | type(mpifx_comm), intent(in) | mycomm, |
integer, intent(in), optional | errorcode, | ||
integer, intent(out), optional | error ) |
Aborts MPI processes for the given communicator.
mycomm | MPI handler. |
errorcode | Exit error code for the operating system. (default: 1) |
error | Optional error flag. |
MPI_ABORT
)Example:
program test_abort use libmpifx_module implicit none type(mpifx_comm) :: mycomm call mpifx_init() call mycomm%init() : ! Stoping the program (e.g. due to error we can not handle) call mpifx_abort(mycomm, 2) end program test_abort