powered by
mpi.cartdim.get gets dim information about a Cartesian topology.
mpi.cartdim.get
mpi.cartdim.get(comm=3)
mpi.cartdim.get returns the number of dimensions of the Cartesian structure
Communicator with Cartesian structure
Alek Hunchak and Hao Yu
Can be used to provide other functions with the correct size of arrays.
https://www.open-mpi.org/
mpi.cart.get
# \donttest{ #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) # }
Run the code above in your browser using DataLab