43 USE spmd_comm_world_mod,
ONLY : spmd_comm_world
44#include "implicit_f.inc"
57 INTEGER IAD(*), NBPART, IADG(NSPMD,NBPART)
63 INTEGER MSGOFF,MSGTYP,,K,N,NB_TMP
64 INTEGER,
DIMENSION(:),
ALLOCATABLE :: RECBUF
65 INTEGER STATUS(MPI_STATUS_SIZE),IERROR
71 ALLOCATE(recbuf(sbuf))
75 CALL mpi_send(iad,nbpart,mpi_integer,it_spmd(1),msgtyp,
76 . spmd_comm_world,ierror)
86 . spmd_comm_world,status,ierror)
88 CALL mpi_recv(recbuf,nb_tmp,mpi_integer,it_spmd(k),msgtyp,
89 . spmd_comm_world,status,ierror)
subroutine mpi_recv(buf, cnt, datatype, source, tag, comm, status, ierr)
subroutine mpi_send(buf, cnt, datatype, dest, tag, comm, ierr)