36 USE spmd_comm_world_mod,
ONLY : spmd_comm_world
37#include "implicit_f.inc"
56 INTEGER IDMAXL, I, ITAG, MSGOFF, IDMAXP(NSPMD-1),
57 . REQ(NSPMD-1), IERR, STAT(MPI_STATUS_SIZE,NSPMD-1)
63 idmaxl=
max(idmaxl,itab(i))
68 CALL mpi_irecv(idmaxp(i), 1, mpi_integer, it_spmd(i+1),
69 . itag, spmd_comm_world, req(i), ierr)
75 idmax=
max(idmax,idmaxp(i))
79 CALL mpi_isend(idmaxl, 1, mpi_integer, it_spmd(1),
80 . itag, spmd_comm_world, req, ierr)
subroutine mpi_isend(buf, cnt, datatype, dest, tag, comm, ireq, ierr)
subroutine mpi_irecv(buf, cnt, datatype, source, tag, comm, ireq, ierr)