36 USE spmd_comm_world_mod,
ONLY : spmd_comm_world
37#include "implicit_f.inc"
52 INTEGER FXBIPM(NBIPM,*)
59 INTEGER NFX, NMOD, NME, LEN, AVAR, PMAIN, II, I, ITAG, MSGOFF,
60 . REQ(NSPMD-1), STAT(MPI_STATUS_SIZE,NSPMD-1), IERR,
63 . ,
DIMENSION(:,:),
ALLOCATABLE :: ff
73 IF (ispmd==pmain)
THEN
74 ALLOCATE(ff(len,nspmd-1))
80 CALL mpi_irecv(ff(1,ii), len, real, it_spmd(i), itag,
81 . spmd_comm_world, req(ii), ierr)
87 mfextp(avar+j-1)=mfextp(avar+j-1)+ff(j,i)
93 CALL mpi_isend(mfextp(avar), len, real, it_spmd(pmain+1),
94 . itag, spmd_comm_world, req(1), ierr)
subroutine mpi_isend(buf, cnt, datatype, dest, tag, comm, ireq, ierr)
subroutine mpi_irecv(buf, cnt, datatype, source, tag, comm, ireq, ierr)