#include "implicit_f.inc"
#include "spmd.inc"
#include "task_c.inc"
Go to the source code of this file.
◆ spmd_glob_rsum_poff()
| subroutine spmd_glob_rsum_poff |
( |
| array, |
|
|
integer | length ) |
Definition at line 33 of file spmd_glob_rsum_poff.F.
34
35
36
37 USE spmd_comm_world_mod, ONLY : spmd_comm_world
38#include "implicit_f.inc"
39
40
41
42#include "spmd.inc"
43
44
45
46#include "task_c.inc"
47
48
49
51 INTEGER :: LENGTH
52
53
54
55#ifdef MPI
56 INTEGER IERROR
57
58
59
60
61 CALL mpi_allreduce(mpi_in_place, array, length, real, mpi_sum,
62 & spmd_comm_world, ierror)
63
64#endif
65 RETURN
subroutine mpi_allreduce(sendbuf, recvbuf, cnt, datatype, operation, comm, ierr)