58 TYPE(t_region
),
POINTER :: regions(:)
60 INTEGER,
INTENT(IN) :: ireg
66 INTEGER :: ilev, iregsrc, irequest
68 INTEGER ::
status(mpi_status_size)
73 TYPE(t_plag),
POINTER :: pplag
78 global => regions(1)%global
81 'PLAG_RFLO_ClearSendRequests.F90' )
88 pplag => regions(ireg)%levels(ilev)%plag
92 IF ( global%nProcAlloc>1 )
THEN
93 DO ir=1,global%nRegions
94 IF (regions(ireg)%levels(ilev)%sendEcCells(ir)%nCells > 0)
THEN
95 irequest = regions(ireg)%levels(ilev)%sendEcCells(ir)%iRequestMetrics
96 CALL mpi_wait( pplag%requestsMetrics(irequest),
status,global%mpierr )
97 IF (global%mpierr /= err_none) &
98 CALL
errorstop( global,err_mpi_trouble,__line__ )
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
subroutine plag_rflo_clearsendrequests(regions, iReg)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)