68 TYPE(t_region
),
POINTER :: regions(:)
70 INTEGER,
INTENT(IN) :: ireg
76 CHARACTER(CHRLEN) :: rcsidentstring
79 INTEGER :: statusplag(mpi_status_size)
81 INTEGER :: ilev,ir,irequestplag,nbuffsizeplag
86 TYPE(t_level
),
POINTER :: plevel
87 TYPE(t_plag),
POINTER :: pplag
88 TYPE(t_region
),
POINTER :: pregion
94 rcsidentstring =
'$RCSfile: PLAG_CECellsClearRequestsData.F90,v $ $Revision: 1.3 $'
96 global => regions(1)%global
99 'PLAG_CECellsClearRequestsData.F90' )
107 ilev = regions(ireg)%currLevel
113 pregion => regions(ireg)
114 plevel => regions(ireg)%levels(ilev)
121 DO ir=1,global%nRegions
122 IF (regions(ireg)%levels(ilev)%sendEcCells(ir)%nCells > 0)
THEN
123 irequestplag = plevel%sendEcCells(ir)%iRequestPlag
124 nbuffsizeplag = plevel%sendEcCells(ir)%nBuffSizePlag
126 IF ( (regions(ir)%procid /= global%myProcid) .AND. &
127 (nbuffsizeplag /= 0) )
THEN
128 CALL mpi_wait( pplag%requestsCECellsI(irequestplag), statusplag, global%mpierr )
129 IF (global%mpierr /= err_none) &
130 CALL
errorstop( global,err_mpi_trouble,__line__ )
132 CALL mpi_wait( pplag%requestsCECellsR(irequestplag), statusplag, global%mpierr )
133 IF (global%mpierr /= err_none) &
134 CALL
errorstop( global,err_mpi_trouble,__line__ )
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine plag_cecellsclearrequestsdata(regions, iReg)
subroutine deregisterfunction(global)