Wait for completion of all nonblocking communications for req(:)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(inout) | :: | req_in(:) |
SUBROUTINE par_WaitAll(req_in) ! MODULES USE MODgvec_Globals, ONLY : wp IMPLICIT NONE !-------------------------------------------------------------------------------------------------------------------------------- ! INPUT VARIABLES MPI_request_TYPE, INTENT(INOUT) :: req_in(:) !-------------------------------------------------------------------------------------------------------------------------------- ! LOCAL VARIABLES # if MPI INTEGER :: sz !================================================================================================================================ ! BODY sz=SIZE(req_in) CALL MPI_WaitAll(sz, req_in(:), MPI_STATUSES_IGNORE) # endif END SUBROUTINE par_WaitAll