This page imported from: /afs/bu.edu/cwis/webuser/web/s/c/scv/documentation/tutorials/MPI/alliance/virtual_topology/cart_sub_example1.html
MPI_Cart_sub Example 1.
Example in Fortran
For a 2D cartesian grid, create column subgrids, then let the last
members of each column (subgrid) to gather data from their
respective members.
|
unix-prompt% mpirun -np 6 cart_sub_example1
produces
the following output:
|