Basic HTML version of Foils prepared 6 December 96

Foil 25 Cartesian Topology in MPI -- MPI_Cart_Create

From Full Matrices - December 4, 1995 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox, Nancy J. McCracken


1 MPI_Cart_Create(MPI_COMM_WORLD, ndim=2, dims, [T,T], T, comm2d)
2 Where dims is a 2-element integer vector giving the number of elements in the 2 dimensions,
3 [T,T] is a 2-element vector giving True to wrap the topology in both dimensions, T specifies that it's o.k. to reorder the default rank (from MPI_rank) of the processors in order to achieve a good embedding.
4 This returns a handle to the communicator for the new topology in the variable comm2d.

in Table To:


© on Tue Oct 7 1997