Broadcast and Reduction


Up: Sending and Receiving messages Next: Fortran example: PI Previous: A taste of things to come

The routine MPI_Bcast sends data from one process to all others.

The routine MPI_Reduce combines data from all processes (by adding them in this case), and returning the result to a single process.



Up: Sending and Receiving messages Next: Fortran example: PI Previous: A taste of things to come