35 USE spmd_comm_world_mod,
ONLY : spmd_comm_world
36#include "implicit_f.inc"
46 INTEGER LEN,LENP0,WEIGHT(*)
48 . v(len),vp0(lenp0),v_tmp(len)
56 . I,LENP(NSPMD),DISP(NSPMD)
62 IF(weight(i) == 1)
THEN
63 v_tmp(j+1) = v(6*(i-1)+1)
64 v_tmp(j+2) = v(6*(i-1)+2)
65 v_tmp(j+3) = v(6*(i-1)+3)
66 v_tmp(j+4) = v(6*(i-1)+4)
67 v_tmp(j+5) = v(6*(i-1)+5)
68 v_tmp(j+6) = v(6*(i-1)+6)
75 s len_tmp ,1 ,mpi_integer,
76 r lenp ,1 ,mpi_integer,it_spmd(1),
77 g spmd_comm_world,ierror)
88 s v_tmp ,len_tmp ,real,
89 r vp0 ,lenp ,disp,real,it_spmd(1),
90 g spmd_comm_world,ierror)
subroutine mpi_gather(sendbuf, cnt, datatype, recvbuf, reccnt, rectype, root, comm, ierr)
subroutine mpi_gatherv(sendbuf, cnt, datatype, recvbuf, reccnt, displs, rectype, root, comm, ierr)