#include "implicit_f.inc"
#include "spmd.inc"
Go to the source code of this file.
◆ spmd_allglob_isum9()
| subroutine spmd_allglob_isum9 |
( |
integer, dimension(len) | v, |
|
|
integer | len ) |
Definition at line 45 of file spmd_allglob_isum9.F.
46
47
48
49
50 USE spmd_comm_world_mod, ONLY : spmd_comm_world
51#include "implicit_f.inc"
52
53
54
55#include "spmd.inc"
56
57
58
59 INTEGER LEN, V(LEN)
60
61
62
63#ifdef MPI
64 INTEGER I,IERROR,
65 . VTMP(LEN)
66
67
68
69 IF (len > 0) THEN
71 . mpi_integer,mpi_sum,
72 . spmd_comm_world,ierror)
73 DO i=1,len
74 v(i) = vtmp(i)
75 END DO
76 ENDIF
77
78#endif
79 RETURN
subroutine mpi_allreduce(sendbuf, recvbuf, cnt, datatype, operation, comm, ierr)