全rankの同期ポイント。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mpi_context), | intent(in) | :: | ctx |
subroutine mpi_world_barrier(ctx) type(mpi_context), intent(in) :: ctx #ifdef USE_MPI include 'mpif.h' integer :: ierr if (.not. ctx%enabled) return call MPI_Barrier(MPI_COMM_WORLD, ierr) #endif end subroutine mpi_world_barrier