MpiFx 1.4.0
|
Contains wrapper for MPI_BARRIER
.
More...
Functions/Subroutines | |
subroutine, public | mpifx_barrier (mycomm, error) |
Sets a barrier. | |
Contains wrapper for MPI_BARRIER
.
subroutine, public mpifx_barrier_module::mpifx_barrier | ( | type(mpifx_comm), intent(in) | mycomm, |
integer, intent(out), optional | error ) |
Sets a barrier.
mycomm | MPI communicator. |
error | Optional error flag. |
Example:
program test_barrier use libmpifx_module implicit none type(mpifx_comm) :: mycomm call mpifx_init() call mycomm%init() : ! Processes will wait until all processes arrive here. call mpifx_barrier(mycomm) : end program test_barrier