35 USE spmd_comm_world_mod,
ONLY : spmd_comm_world
36#include "implicit_f.inc"
51 INTEGER FXBIPM(NBIPM,*)
53 . fxbvit(*), fxbacc(*)
58 INTEGER NFX, NMOD, NME, LEN, AVAR, PMAIN, II, I, ITAG, MSGOFF,
59 . REQ(NSPMD-1), STAT(MPI_STATUS_SIZE,NSPMD-1), IERR
61 . ,
DIMENSION(:),
ALLOCATABLE :: buf
72 IF (ispmd==pmain)
THEN
76 buf(nme+nmod+i)=fxbacc(i)
82 CALL mpi_isend(buf, len, real, it_spmd(i), itag,
83 . spmd_comm_world, req(ii), ierr)
89 CALL mpi_irecv(buf, len, real, it_spmd(pmain+1), itag,
90 . spmd_comm_world, req(1)
95 fxbacc(i)=buf(nme+nmod+i)
subroutine mpi_isend(buf, cnt, datatype, dest, tag, comm, ireq, ierr)
subroutine mpi_irecv(buf, cnt, datatype, source, tag, comm, ireq, ierr)