17 & ( neibpetot, neibpe, stack_import, stack_export, &
18 & solver_comm,my_rank)
21 implicit real*8 (a-h,o-z)
23 integer(kind=kint ),
intent(in) :: NEIBPETOT
24 integer(kind=kint ),
pointer :: NEIBPE (:)
25 integer(kind=kint ),
pointer :: STACK_IMPORT(:)
26 integer(kind=kint ),
pointer :: STACK_EXPORT(:)
27 integer(kind=kint ) :: SOLVER_COMM, my_rank
29 integer(kind=kint ),
dimension(:,:),
save,
allocatable :: sta1
30 integer(kind=kint ),
dimension(:,:),
save,
allocatable :: sta2
31 integer(kind=kint ),
dimension(: ),
save,
allocatable :: req1
32 integer(kind=kint ),
dimension(: ),
save,
allocatable :: req2
34 integer(kind=kint ),
save :: NFLAG
40 allocate (sta1(mpi_status_size,neibpetot))
41 allocate (sta2(mpi_status_size,neibpetot))
42 allocate (req1(neibpetot))
43 allocate (req2(neibpetot))
50 num= stack_import(neib)
51 call mpi_isend (num, 1, mpi_integer, neibpe(neib), 0, &
52 & solver_comm, req1(neib), ierr)
58 call mpi_irecv (stack_export(neib), 1, mpi_integer, &
59 & neibpe(neib), 0, solver_comm, req2(neib), ierr)
62 call mpi_waitall (neibpetot, req2, sta2, ierr)
63 call mpi_waitall (neibpetot, req1, sta1, ierr)