Description Usage Arguments Details Value Author(s) References See Also Examples
mpi.cart.get
provides the user with information on the Cartesian topology
associated with a comm.
1 | mpi.cart.get(comm=3, maxdims)
|
comm |
Communicator with Cartesian structure |
maxdims |
length of vectors dims, periods, and coords in the calling program |
The coords are as given for the rank of the calling process as shown.
mpi.cart.get
returns a vector containing information on the Cartesian topology
associated with comm. maxdims must be at least ndims as returned by mpi.cartdim.get
.
Alek Hunchak and Hao Yu
http://www.lam-mpi.org/, http://www-unix.mcs.anl.gov/mpi/www/www3/
mpi.cart.create,mpi.cartdim.get
1 2 3 4 5 6 7 | ## Not run:
#Need at least 9 slaves
mpi.bcast.cmd(mpi.cart.create(1,c(3,3),c(F,T)))
mpi.cart.create(1,c(3,3),c(F,T))
mpi.remote.exec(mpi.cart.get(3,2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.