mpi.cartdim.get {Rmpi} | R Documentation |
mpi.cartdim.get
gets dim information about a Cartesian topology.
mpi.cartdim.get(comm=3)
comm |
Communicator with Cartesian structure |
Can be used to provide other functions with the correct size of arrays.
mpi.cartdim.get
returns the number of dimensions of the Cartesian structure
Alek Hunchak and Hao Yu
http://www.lam-mpi.org/, http://www-unix.mcs.anl.gov/mpi/www/www3/
## 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.cartdim.get(comm=3) ## End(Not run)