#include "implicit_f.inc"
#include "spmd.inc"
#include "task_c.inc"
Go to the source code of this file.
◆ spmd_rbcast()
| subroutine spmd_rbcast |
( |
| tabi, |
|
|
| tabr, |
|
|
integer | n1, |
|
|
integer | n2, |
|
|
integer | from, |
|
|
integer | add ) |
Definition at line 61 of file spmd_rbcast.F.
62
63
64
65 USE spmd_comm_world_mod, ONLY : spmd_comm_world
66#include "implicit_f.inc"
67
68
69
70#include "spmd.inc"
71
72
73
74#include "task_c.inc"
75
76
77
78 INTEGER N1,N2,FROM,ADD
80
81
82
83#ifdef MPI
84 INTEGER INFO,MSGOFF
85 INTEGER K
86 INTEGER STATUS(MPI_STATUS_SIZE),IERROR
87
88
89
90
91
92
93
94 IF(ispmd==from)THEN
96 . spmd_comm_world,ierror)
97 ELSE
99 . spmd_comm_world,ierror)
100 ENDIF
101
102#endif
103 RETURN
subroutine mpi_bcast(buffer, cnt, datatype, root, comm, ierr)