|
A collective operation is normally executed by having all processes in the group call the communication routine, with matching arguments. Since there are no means for creating groups currently implemented, the only available groups are MOC_COMM_WORLD and MOC_COMM_SELF.
Functions | |
| int | MOC_Bcast (void *buffer, int count, MOC_Datatype datatype, int root, MOC_Comm comm) |
| Broadcasts a message from the process with rank "root" to all other processes of the group. | |
| int | MOC_Barrier (MOC_Comm comm) |
| Blocks the caller until all processes in the communicator have called it; that is, the call returns at any process only after all members of the communicator have entered the call. | |
| int MOC_Barrier | ( | MOC_Comm | comm | ) |
Blocks the caller until all processes in the communicator have called it; that is, the call returns at any process only after all members of the communicator have entered the call.
| comm | in communicator of message |
| MOC_SUCCESS | No error; MPI routine completed successfully. | |
| ... | error-code |
| int MOC_Bcast | ( | void * | buffer, | |
| int | count, | |||
| MOC_Datatype | datatype, | |||
| int | root, | |||
| MOC_Comm | comm | |||
| ) |
Broadcasts a message from the process with rank "root" to all other processes of the group.
| buffer | inout starting address of buffer | |
| count | in number of elements to be send or received | |
| datatype | in Type of elements to be send or received | |
| root | in rank of the process who sends the broadcast-message | |
| comm | in communicator of message |
1.5.6