User Tools

Site Tools


c:mpi:scatter-gather

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
c:mpi:scatter-gather [2024/01/17 10:48] odeftac:mpi:scatter-gather [2024/01/17 10:50] (current) odefta
Line 83: Line 83:
  
 **Finalization**: The MPI environment is finalized. **Finalization**: The MPI environment is finalized.
 +
 +This program demonstrates how to use **MPI_Scatter** to distribute data and **MPI_Gather** to collect the results. The total number of elements in **scatter_data** should be a multiple of the number of processes.
  
c/mpi/scatter-gather.1705481320.txt.gz · Last modified: 2024/01/17 10:48 by odefta